Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

strange dns issue

Status
Not open for further replies.

blackrabbit

IS-IT--Management
Aug 22, 2002
204
US
I'm having a real dns problem and its driving me crazy. I have a domain lets call it mydomain.com and i use that internally in my house as my domain for my house. I have another somain lets call it mydomain.net that is for my exchange server and web server that how people from the oustide send me email and stuff like that.

Well recently i had to renew my mydomain.com registration and it forced me on my registrar to give it dns servers - never had to before, but now they made me, so i gave it thier dns servers. I figured not a nig deal since on my dns server in my house i have dns running with all my local ip addresses.

On my dns server under the network card properties i have my local server listed as the 1st dns server, let says its ip is 10.0.1.1. The 2nd dns server is my router so my computers in my house can get dnd for the web and stuff. Well the problem started when i renwed my mydomina.com and had to list dns servers. For some reason now my own dns server seems to fail looking up local things on ym network that clearly have a dns address and go to the web to find a dns entry for it. For example I have a print server with a dns name, lets call it myprinter.mydomain.com, its ip address is 10.0.1.30. For some reason the printer stopped working so on my server I tried pinging it by name and the ping returned the outside ip addresses of my registrar, like 209.x.x.x or something like that. When I do and ipconfig/ flushdns it then returns the local address but for only a few hours, then it goes back to the outside.

I have a dns record in my dns server for all the objects on my network and they all have local addresses. It was my understanding that my dns server when looking up myprinter.mydomain.com will look in its own dns records in DNS and find it and only go to the web if there was no item by that name.

Again this all started when i was forced by my registrar to put dns servers in my domain reg renewel. Do I have something configured wrong on my dns server by chance? Its driving me crazy. I know I should have named my home domain mydomain.local but its been so long since i set it up. Besides I've had this smae setup at corporate places before and never had a problem. Any help would be much appreciated. thanks
 
Hmmm, I've read what you wrote 5 times now=)

I'm not sure I get the real problem, but is it that your local DNS isn't beeing used for local lookup?

Have you tried to set only 1 DNS and use recursion for external lookup?



 
Yeah it seems like it uses local dns lookup for a while then seems to go out to the web for local dns look up after a while. I'll try recursion for external lookup.
 
Recursion was already set but thanks for the tips to check it becuase it led me to another discovery. I clicked on the Forwarders tab and found an outside IP address listed in the forwarders. I must have set that a long time ago when i first setup my domain and I'm not sure it even needed to be there. On the servers nic under the dns servers I list the server it self and my router so when the server doesn't know a dns name it sends the request to the router which gets it for me. At least thats how i understand dns is supposed to work. Once i removed the forwarder everything was fine and it even sped up my web too. I think what might have been happening was requests were getting sent to the forwarder and it might not have been a dns server anymore or something becuase my internet has been dog slow for a long time and I have cable. Once i removed the forwarder the speed shot up and now my dns seems to be working right.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top