![]() |
Linux BIND refuses to resolve Microsoft domains???
Hi all!
I am baffled by this problem. I have setup a BIND 9.5.1-P1 service on a Fedora Core 9 server. Clients, that point to this server and our service provider as a secondary, resolve www.google.com and local names with no problem. Yet they cannot resolve any Microsoft names (i.e. msn.com, msdn.com, hotmail.com, etc.)!! Now, I have my own bias against Micro$**t but I don't know why BIND would. If I place my client(laptop) outside of our firewall so that it only gets our service provider's DNS, Micro$**t's names resolve without any problem. In fact, this same configuration was used on a previous Fedora Core 6 system without problems. The only change was that I needed to uncomment this line: query-source port 53; I have used yum to completely update everything on the server. 'yum update' returns no more updates. Here is my named.conf file: Code:
options { |
Are you sure that you cannot resolve just the M$ domains?
Because you need the hint zone "." in order to be able to resolve domains that your dns is not authoritative. Add Code:
zone "." in {Code:
dig @a.root-servers.net . ns > root.hintsRegards |
Thanks! I'll give that a try.
|
Thanks for the reply but unfortunately that did not help.
Here is the result of an nslookup: Code:
# nslookup www.msn.comCode:
nslookup www.linuxquestions.org |
Quick note: Those two nslookups were done successively from the same system.
|
Quote:
The fact that the 1st time that failed to contact the dns you're looking up msn.com and the 2nd time it succeeded to lookup linuxquestions.org, I think it's purely random. You can use dig to investigate further Code:
dig +trace www.msn.com |
The nslookup's that I showed you were just two of many. It consistently fails for Microsoft sites. It consistently works for any other name.
The dig with trace produced some interesting results. Code:
# dig +trace www.msn.comCode:
# dig +trace ns1.msft.net |
I'll try to disable the 'query-source port 53' option after my users go home tonight. Could you explain that option to me? I didn't need it before (when the server was on Fedora Core 6).
Thanks! |
Quote:
In a default situation bind only accepts queries from clients on port 53 and uses other random unprivileged ports when it acts as a client and contact another dns for a domain it cannot resolve. Now the fact it's not resolving the M$ domains, is really strange. Did you run the dig command to get the latest root.hints file? Because I see that your "dig +trace" uses the K.ROOT-SERVERS.NET that does not exist in my root.hints that I've just downoaded. Maybe K.ROOT-SERVERS.NET is not used and thus it's .outdated |
Thanks for the option description. I'm not sure why I need that now when I didn't need it before. I haven't made any changes to my firewall.
I did do the dig command as you requested before to create the root.hints file. The K server was included. I deleted the 'K' server from the file and restarted 'named'. It still does not resolve Microsoft but still resolves everything else. |
Quote:
Quote:
|
Thanks for all of your help bathory! I was unable to work on this problem today. I'll revisit this on Monday.
Thanks again! |
OKAY, I'm not sure why this worked but I just commented out:
// query-source port 53; ...and everything seems to be working fine now. I'm not sure why it didn't work before. Unfortunately, there is some other variable that I'm not seeing that must have changed. Sorry to anyone looking at this for answers. Maybe it will give you a hint if you have a similar issue. Thanks for all of your help bathory!!! |
| All times are GMT -5. The time now is 04:11 PM. |