WAN / Internet : : DialUp-/PPPoE-/Cable-/whatever-Provider : .-----+-----. | Gateway | (Vigor 165) '-----+-----' | 192.168.165.1/24 WAN (em1) |192.168.165.11| .-------:-----------------------------. | OPN:sense 20.7.3-amd64 | | (Br:dge) | '-------:--------------:-:-:-:--------' 10.0.1.253| \/ VLAN IP Subnet DHCPv4 MGMT (em0) | || LAGG0 - 20 Intra 10.0.2.253 10.0.2.0/24 off 10.0.1.0/24 | || - 30 Gäste 10.0.3.253 10.0.3.0/24 off | || - 40 Test 10.0.4.253 10.0.4.0/24 off | || - 41 WLAN intern 192.168.1.253 192.168.1.0/24 off | || - 70 IoT 10.0.7.253 10.0.7.0/24 on | || | || | || .-----+-------------. || | LAN-Switch +---'| | Unifi USW-48 +----' '-----+-+-+-+-+-----' | | | | | | | | | '----... (Netzwerkdevices/Servers) VLAN 10 mgmt.mydomain.com | | | | | | | '------... (Clients/Servers) VLAN 20 intra.mydomain.com | | | | | '--------... (Clients) VLAN 30 | | | '----------... (Clients/Servers) VLAN 40 test.mydomain.com | '------------... (IoT Devices) VLAN 70 han.mydomain.com
DHCPv4 auf Schnittstelle VLAN 70- Subnetz 10.0.7.0- Subnetzmakse 255.255.255.0- Bereich 10.0.7.100 - 10.0.7.199- DNS-Server 10.0.7.253 (OPNsense)- Gateway 10.0.7.253 (OPNsense)- Domain Name han.mydomain.com
root@OPNsense:~ # unbound-control -c /var/unbound/unbound.conf list_local_data | grep -i han10.0.7.101. 3600 IN PTR testhanvm2.opn.mydomain.com.OPNsense.han.mydomain.com. 3600 IN A 10.0.7.253testhanvm.han.mydomain.com. 3600 IN A 10.0.7.201testhanvm2.mgmt.mydomain.com. 3600 IN A 10.0.7.101101.7.0.10.in-addr.arpa. 3600 IN PTR testhanvm2.mgmt.mydomain.com.201.7.0.10.in-addr.arpa. 3600 IN PTR testhanvm.han.mydomain.com.253.7.0.10.in-addr.arpa. 3600 IN PTR OPNsense.han.mydomain.com.
root@OPNsense:~ # unbound-control -c /var/unbound/unbound.conf list_local_data | grep -i hanccu3.han.mydomain.com. 3600 IN A 10.0.7.12s013.han.mydomain.com. 3600 IN A 10.0.7.2OPNsense.han.mydomain.com. 3600 IN A 10.0.7.253Paketkasten.han.mydomain.com. 3600 IN A 10.0.7.3shellyswitch25-BA7B3F.han.mydomain.com. 3600 IN A 10.0.7.14testhanvm.han.mydomain.com. 3600 IN A 10.0.7.201vitoconnect.han.mydomain.com. 3600 IN A 10.0.7.11Wetterstation.han.mydomain.com. 3600 IN A 10.0.7.8testhanvm2.opn.mydomain.com. 3600 IN A 10.0.7.101101.7.0.10.in-addr.arpa. 3600 IN PTR testhanvm2.opn.mydomain.com.11.7.0.10.in-addr.arpa. 3600 IN PTR vitoconnect.han.mydomain.com.12.7.0.10.in-addr.arpa. 3600 IN PTR ccu3.han.mydomain.com.14.7.0.10.in-addr.arpa. 3600 IN PTR shellyswitch25-BA7B3F.han.mydomain.com.2.7.0.10.in-addr.arpa. 3600 IN PTR s013.han.mydomain.com.201.7.0.10.in-addr.arpa. 3600 IN PTR testhanvm.han.mydomain.com.253.7.0.10.in-addr.arpa. 3600 IN PTR OPNsense.han.mydomain.com.3.7.0.10.in-addr.arpa. 3600 IN PTR Paketkasten.han.mydomain.com.8.7.0.10.in-addr.arpa. 3600 IN PTR Wetterstation.han.mydomain.com.