DNS Forwarder Configuration Problem [Solved]
I'm having a problem configuring DNS forwarder and i could really need some help
I have DHCP service enabled in LAN interface
LAN DHCP: 192.168.0.40-192.168.0.50
LAN GW : 192.168.0.1
So my first machine connected to the LAN and got this configuration
subnet : 255.255.255.0
I enabled the DNS Forwarder and added a static entry in the configuration, host=test, domain=example.com and applied the changes
In the windows client , when trying to nslookup the above host i get an answer from the DNS that i use in the WAN interface and not from the Local DNS from pfsense
*** google-public-dns-a.google.com can't find test.example.com: Non-existent domain
and of course when trying to ping the host i get
Ping request could not find host test.example.com. Please check the name and try again.
The strange thing is that when i use the Local DNS i get the correct answer
C:\Users\user>nslookup test.example.com 192.168.0.1
What am i missing in my configuration?
Please feel free to ask for any configuration and i'll post back with settings
"What am i missing in my configuration?"
Your client is using google for its dns.. Make sure your client is set to get its dns from dhcp vs hard coded. Or you have a different dhcp setup that your client its getting its dhcp from. Simple ipconfig /all will tell you where it got its dhcp from.
Hi and thanks for the immediate response
Just before the comment i did an ipconfig /all to make sure of the DNS configuration and for some reason, maybe forgotten from previous troubleshooting, indeed i had static configuration in the IPV4 DNS section, i changed it automatically use the DHCP settings and i can now get the correct response :-)
Thank you so much, you were right and my problem is solved