-
DNS related problem
I have an interesting situation. I am currently on a workgroup model network. When i check my email under the workgroup model i have no problems whatsoever. I am also designing an Active Directory network Now when i setup an email account there and enter my POP3 and SMTP servers it says it doesn't find them. I have to enter the actual ip address of my email server to get my emails. What i dont get is why is it that on my workgroup model ill enter my POP3 and SMTP servers as names and on the Active Directory i have to enter the ip address.
Also i have no problem accessing the internet which makes it more mysterious. I know names are getting resolved but for some reason my mx records are not.
-SOIA
-
Are both networks accessing the same DNS server for resolution?
-
No they aren't. In the active directory there is an internal DNS server setup with forwarders to the external DNS servers, which are the same as the others.
-
For access to the internet, you would be pointing to a different DNS server, wouldn't you? Could it be that your internal DNS server (for Active Directory) is configured improperly? This would explain why internal names are not being resolved. For your internet connection, you will be pointing to a DNS server that your ISP is probably managing. I need a little more information to see if I can help.
-
From a client machine on the AD network do an nslookup on the internal DNS server. Try to query the pop3 and smtp addresses. Do they come back with a response? Can you resolve other internet names this way? If not, then you may need to open up the firewall to allow the internal dns server to query the external dns server (assuming there is a firewall).
From the sound of it, its doesnt seem like your internal dns server is forwarding correctly.
Either way, run the queries and let me know the response.
ps - Is there a firewall involved? Is there a proxy server involved? If you designate the external dns server on one of your client machines, can you then access the pop and smtp by name?
-
How i set this up is as follows. When i created my internal dns i added a forwarder to go to the external dns servers, two from my isp and one of my own, to resolve the outside names. Now i can resolve all names except for mx records. I decided to remove my dns server from the list of forwarders. I can still resolve names but i cant resolve this mx record.
-
If you have your clients go straight to one of the ISP dns servers, can you resolve he mx records then?
-
When i did an nslookup on the dns server name i got this message
DNS request timed out
timeout 2 seconds
cant find server name for address xxx.xxx.xxx.xxx
default server unavailable
server: unknown
address: xxx.xxx.xxx.xxx
name: name does show up of internal dns server
address: xxx.xxx.xxx.xxx
alright now im totally confused. I took out my external dns from the list of forwarders and just used my isp's external dns servers. now i cant resolve any internet names?????
Im confused now
-
That sounds like your internal dns server cannot reach the IPS's dns servers, but can reach your external dns server. Do you have the mx records defined on your external dns server? If you do not, then this would explain your problem. For some reason your AD network cannot reach your ISP's dns servers, or they cannot send dns queries to those servers.
Is there a firewall involved in this?
-
no firewall is involved in this at the moment. it set up on a test network that bypasses the firewall. What i dont get is if i can resolve names on the internet, why cant i see the mx records???? wouldnt the dns server get the mx record from the appropriate dns server
-
Well, it seems that you can resolve internet names when you have your external set up as forwarder on your internal dns server. Once you take that out, you can resolve nothing at all. This tells me that although the ISP's dns servers are setup up for forwarding on your internal dns server, queries to your internal dns server are not being forwarding to the ISP's dns server. Know what I mean?
Now, the requests are being sent to your external dns server. It appears that this dns server is not able to resolve the mx records.
Two options for you. Ensure that, from your internal dns server, you can query the ISP's dns servers. I believe this will sovle the issue. ( To test this, remove your external dns server from the forwarding list. Make appropriate adjustments until you are able to resolve internet names using only the ISP's dns servers as your forwarders.)
Also ensure that you can resolve the mx records from your external dns server. From what you've told me, it appears the breakdown lies with this server. You can even try to set forwarders to the ISP's dns servers on this. It may help.
-
I removed my external dns server from the forwarders list. Now heres the curveball. I setup an email account using a different domain name. And this time the mx record got resolved. What the hell is going on now????? Why did find a different mx record but couldn't find this mx record.
-
Is this domain name in question the same as the AD domain name? If so, the internal dns server would think that it is authoritative for that zone, and if there are no mx records in there then it might not forward requests on to other servers.
Know what I mean?
Thats a long shot, but its possible.
-
Thats it man. That was the problem. I had the Ad and the domain name as the same. Whew thats a boat load off. Thank you so much man you really made my day.
Thanx
-SOIA
-
Hey I'm glad we got it fixed! I was starting to take this problem personal! :)
Take Care! :D