News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

DNS Resolution

Started by nasmith1985, September 24, 2009, 09:25:35 AM

Previous topic - Next topic

nasmith1985

It appears as though after x amount of time I have to restart bind9 on the core in order for my clients to resolve dns. Anybody have any thoughts as to why I need to keep restarting bind9?

colinjones

Maybe the first query works for some reason and the result is cached, then once the TTL expires on those results, it has to query again and at that point something is stopping it working?

Currently, your clients on the internal network query the Core for results and the core then does a full recursive look up (it doesn't use your ISP's DNS servers), whereas any resolutions your core attempts to do for applications running locally (like browsers on KDE) are not using the Core's DNS server, they just use the Core's normal DNS client to query your ISP. Perhaps if you tried getting internal client resolution going the same way this might fix it?

You can simulate (similar) behaviour by setting up forwarders on the core. These will tell it not to resolve queries itself, but to forward them on to your ISP in a similar query to the DNS client running on the core. You can do this in /etc/bind/named.conf.forwarders

jimbodude

bind didn't work very well for me in 0710 - I had all kinds of strange issues.  Most were resolved by using OpenDNS, but it still crapped out every once in a while.  I also had hardware incompatibility issues with my NICs that made things even worse.  I have no issues in 0810 - you might consider trying 0810 alpha.