OPNsense Forum

English Forums => General Discussion => Topic started by: fmustafa on July 22, 2020, 03:20:33 AM

Title: Name Resolution not working
Post by: fmustafa on July 22, 2020, 03:20:33 AM
Hello there,

I am trying to setup mini Lab with OPNSense. I am able to do Name Resolution from OPNSense, but not able to do it from the client VM. From the client, I am able to ping external IP addresses.

I have attached screenshots for my testing and how my mini-lab is configured. I would really appreciate if anyone can guide me to get the Name Resolution issue fixed.

Thanks,
FMustafa
Title: Re: Name Resolution not working
Post by: lar.hed on July 22, 2020, 11:05:17 AM
What IP adress have you set in DHCP ip4 page for DNS Servers? If nothing, try 10.10.10.10 (your gateway where you can ping).
Title: Re: Name Resolution not working
Post by: fmustafa on July 22, 2020, 11:55:50 PM
Hi Lar.hed,

Thanks for your prompt update. I double-checked and I confirmed that I have the DNS set already as 10.10.10.10 on the DHCP4 leases. I also tried the same from another client machine (Win10) and I get the same behavior (ping by IP works but does not work using FQDN).

Another test I just made is to type-in the IP address Manually on the clients with the same results as well (ping by IP works but does not work using FQDN).

I finally just tested by using 8.8.8.8 as DNS server on my DHCP leases and that solved the name resolution issue from the clients.

Thanks again for your help.
Title: Re: Name Resolution not working
Post by: lar.hed on July 23, 2020, 12:15:49 PM
Good that it works - it looks like your DNS server settings is maybe off. Running Unbound Plus maybe?