Continuing the discussion from Core 154: Problems with local domain name resolving:
Hi - I’m sorry to bring this ancient thread back to life! I’m baffled why this works.
I applied one of the changes outlined in the post marked as “Solution”.
My approach with IPFire since forever is to have the simplest possible configuration that works for me. I have DHCP enabled on the GREEN interface on /cgi-bin/dhcp.cgi.
DHCP used to be taken care of by a RPi running PiHole, but I got rid of that as it was adding unnecessary complexity.
Since switching to IPFire as my DHCP server for the GREEN network, sometimes name resolution for hosts on the GREEN network worked, sometimes it didn’t. I’ve desultorily quacked for a solution on and off for months, until the right combination of search terms brought me here.
Frankly I didn’t expect the fix outlined here to work:
after I setup the setting of the NTP server and the WINS-Server, which is in my case the same as for the DNS server, the problem is gone.
The IP address of the GREEN interface on my IPFire host is the value for “Primary DNS” on the /cgi-bin/dhcp.cgi page. I added the same IP address for “Primary NTP server” and hit “Save”.
To my amazement, the problem was solved instantly. Hosts running Android and Linux which a moment before were returning “unknown host” or “Name or service not known” were now able to resolve a host on the GREEN network.
What’s going on here? How could adding “Primary NTP server” be the fix for this problem?
Isn’t this a symptom of a bug? Network Time Protocol is completely unrelated to DNS!
Happy New Year! Thanks for reading.