maniac Posted July 31, 2009 Posted July 31, 2009 We're currently setting up our new domain, and everything is going fairly well except I've been noticing problems with the internet hanging recently so decide to investigate. First thing I do is test DNS lookups, and I notice that anything external to the school is timing out quite frequently so I ring county support to see if they're having any issues with their DNS servers (as it's only external addresses affected) they say no, but have a look into it with me anyway and discover than my first DNS server is resolving external addresses intermitently, and my second isn't resolving external addresses at all! I look into it a bit more and discover the reason that the first one is intermittent is because one of the forwarding DNS addresses is entered wrong, I correct that and it all springs into life. My second server however had the correct forwarding addresses, but is still refusing point blank to resolve any addresses external to the school. It's set-up as a secondary DNS server taking its data from the first, but I'm wondering if it should actually be a primary DNS server in its own right - could this be where I'm going wrong? I've checked all the other settings, and everything else is absolutely correct, the only difference is one is a primary DNS server and the other is a secondary DNS server. It resolves internal addresses absolutely fine. Anyone shed some light on this? Mike.
leco Posted July 31, 2009 Posted July 31, 2009 I don't know if this is even the right thing to do but I have two servers, each one points to itself as Primary and to the other as secondary. They each appear to resolve internal and external addresses fine.
tmcd35 Posted July 31, 2009 Posted July 31, 2009 I tend to go for a 3 dns server set up. server 1 - itself then external host dns server 2 - itself then server 1 server 3 - itself then server 1 DHCP sets clients to query server 3 then server 2. Clients with static IP's are set to query server 2 then server 3. I find this give a good level of load balancing and fault tolerance between the dns servers.
maniac Posted August 1, 2009 Author Posted August 1, 2009 I tend to go for a 3 dns server set up. server 1 - itself then external host dns server 2 - itself then server 1 server 3 - itself then server 1 DHCP sets clients to query server 3 then server 2. Clients with static IP's are set to query server 2 then server 3. I find this give a good level of load balancing and fault tolerance between the dns servers. The problem with that setup is if Server 1 dies for whatever reason, you lose the ability to resolve external addresses. I'm aiming for a high fault tolerance here, so want them to both resolve external addresses independantly if possible. I'm going to remove and re-setup DNS on the second server I think, see if that makes any difference. Mike.
tmcd35 Posted August 1, 2009 Posted August 1, 2009 I also prefer to run DNS, as with most servers, on a virtual machine. Let's face it, once it's set up it's hardly going to go wrong for software failure reasons. The big bonus with VMs is if a hosting physical server has hardware probs it's childs play (and less than a few seconds work) to restart the effected VM's on another host.
RabbieBurns Posted August 1, 2009 Posted August 1, 2009 Am i wrong in thinking the DNS servers all know the root dns zones, so dont in theory need any forwarder at all- if they dont know the ip for something they are asked to resolve, they then just pass it on up? My DNS servers point to themselves then each other as primary and secondary, I dont have any forwarding set up, and clients get the 2 dns servers as primary and secondary, which I allocated in no order.
mattx Posted August 1, 2009 Posted August 1, 2009 ...if they dont know the ip for something they are asked to resolve, they then just pass it on up?. Indeed and in that list should be your gateway address...... [ if you want it to look for it on the internetthingymebob ]
Chillibear Posted August 1, 2009 Posted August 1, 2009 Am i wrong in thinking the DNS servers all know the root dns zones, so dont in theory need any forwarder at all- if they dont know the ip for something they are asked to resolve, they then just pass it on up? Correct, you'll just loose the advantages of any caching another upstream server may have done. So each (un-cached request) will require asking a root server for the appropriate primary server to query for the given domain. Generally it's worth having and making use of lower levels of DNS. It's set-up as a secondary DNS server taking its data from the first' date=' but I'm wondering if it should actually be a primary DNS server in its own right - could this be where I'm going wrong? I've checked all the other settings, and everything else is absolutely correct, the only difference is one is a primary DNS server and the other is a secondary DNS server. It resolves internal addresses absolutely fine.[/quote'] What OS/system are you running? From what you've described the setup is pretty normal, does the secondary server resolve external names correctly itself or does it fail external lookups?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now