Author Topic: DNS Resolution  (Read 1953 times)

nasmith1985

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: DNS Resolution
« Reply #15 on: September 27, 2009, 09:39:17 pm »
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

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: DNS Resolution
« Reply #16 on: September 27, 2009, 10:22:32 pm »
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

  • Guru
  • ****
  • Posts: 372
    • View Profile
Re: DNS Resolution
« Reply #17 on: September 27, 2009, 10:29:00 pm »
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.