1
24.1 Production Series / Local Hostname resolution with Unbound DNS issue
« on: March 04, 2024, 06:01:51 pm »
Dear OPNsense community,
So I have this issue where local hostnames on my LAN can not be resolved. The only host that can be resolved is the OPNsense host and "outside" public hosts such as google.
I have specified an upstream DNS server under System|Settings|General. Also, Unbound DNS is enabled with "Network Interfaces set" to <LAN> and "Register ISC DHCP4 Leases" enabled, Local Zone Type set to <Transparent>. KEA DHCP is enabled and listening on LAN network, under Subnets I have defined my pool and specified the DNS server to OPNsens' LAN-ip address. Finally, the domain is specified under Syste|Settings|General so that should be inhereted by Unbound DNS and KEA.
Now, my hosts are able to resolve DNS records for public records such as google.com and the OPNsense host but not each other. When looking under "Services: Kea DHCP: Leases DHCPv4" I can see the hostnames associated with each IP (provided by the hosts themselves) but still, the problem resides.
As a temporary solution, I have specified Unbound DNS Overrides which is working.
Any help is much appreciated.
All the best,
BigNutz
Edit: "Unbound DNS: Access Lists" is set to Default <Allow>
So I have this issue where local hostnames on my LAN can not be resolved. The only host that can be resolved is the OPNsense host and "outside" public hosts such as google.
I have specified an upstream DNS server under System|Settings|General. Also, Unbound DNS is enabled with "Network Interfaces set" to <LAN> and "Register ISC DHCP4 Leases" enabled, Local Zone Type set to <Transparent>. KEA DHCP is enabled and listening on LAN network, under Subnets I have defined my pool and specified the DNS server to OPNsens' LAN-ip address. Finally, the domain is specified under Syste|Settings|General so that should be inhereted by Unbound DNS and KEA.
Now, my hosts are able to resolve DNS records for public records such as google.com and the OPNsense host but not each other. When looking under "Services: Kea DHCP: Leases DHCPv4" I can see the hostnames associated with each IP (provided by the hosts themselves) but still, the problem resides.
As a temporary solution, I have specified Unbound DNS Overrides which is working.
Any help is much appreciated.
All the best,
BigNutz
Edit: "Unbound DNS: Access Lists" is set to Default <Allow>