OPNsense Forum

English Forums => General Discussion => Topic started by: dough29 on February 09, 2024, 02:27:49 PM

Title: [SOLVED] Fresh 24.1.1 install - LAN clients don't get DNS resolution <- OPNsense
Post by: dough29 on February 09, 2024, 02:27:49 PM
Hello,

I'm on the way to switch to OPNsense so I'm trying it on my lab (Proxmox cluster).

WAN vtnet0 is on my public lan side 10.10.1.0/24
LAN vtnet1 has it's own vlan to play with 192.168.1.0/24

Fresh default install of OPNsense 24.1.1, just did the System > Firmware updates "There are no updates available".

On the LAN side clients can reach the Internet : ping 1.1.1.1 is Ok
But they can't resolve DNS hosts : nslookup google.com 192.168.1.1 gives SERVFAIL error

On the OPNsense host I can resolve DNS :
- ping google.com > Ok
- host google.com 10.10.1.1 (upstream) > Ok
- host google.com 127.0.0.1 > SERVFAIL

What I can conclude is that the unbound server is answering but not resolving hosts right ?

Do you have any idea what I could me missing ?

Thanks for reading.
Title: Re: Fresh 24.1.1 install - LAN clients don't get DNS resolution from OPNsense
Post by: cookiemonster on February 09, 2024, 02:47:45 PM
https://homenetworkguy.com/how-to/confused-about-dns-configuration-in-opnsense/ gives you a good narrative around the different options.
Title: Re: Fresh 24.1.1 install - LAN clients don't get DNS resolution from OPNsense
Post by: dough29 on February 09, 2024, 02:55:58 PM
Ho ok, it was hidden if on the "Request Forwarding" page : I had to activate "Use System Nameservers" and there I go!

Thank you 8)