Can't connect to mail server - DNS Server settings?

Hello:

Let me preface this question by saying that computer networking is not my strong suit.

Last week I moved our web hosting from our ISP to Lunarpages; our domain is marshall-arts.net. I set up some POP email accounts on our new mail servers and was able to successfully send and receive email wirelessly using our G4 ibook. However, none of our networked desktop systems could connect to our new mail server, although they could connect to our ISP's mail server; they also have no problem connecting to the web. The mail server and user names were identical between the desktop systems and the ibook. But upon closer examination of the TCP/IP settings of the ibook I found that the ibook had 209.253.113.10 entered into the DNS Servers (optional) field. That field was blank in the desktop systems. Once I entered that address into the DNS Servers field on the desktop systems they had no problem connecting to our Lunarpages mail servers.

Here's our setup, as best as I can describe it:

We have an AirPort Extreme connected to our DSL router. It's connected via ethernet, configured manually with a static IP, router and DNS server addresses provided by our ISP. It's set to distribute IP addresses with the AirPort client computers sharing a single IP address using DHCP and NAT (10.0.1.1. addressing). It's connected via ethernet to a Linksys gigabit ethernet switch to which we have connected three desktop Macs running OS 10.3.x and 10.4.x.

The TCP/IP of the three desktop systems and the ibook are configured Using DHCP.

As I wrote above, only the ibook had an address entered into the DNS Servers field, 209.253.113.10. This doesn't correspond to anything our ISP provided (those addresses are entered in the AirPort Extreme.) I have no idea where it came from.

So I have two questions:

Would that address have been generated automatically while setting up the AirPort connection on the ibook?

Why would that supposedly optional DNS Server address be required for me to connect to our new mail servers (but not our old ISP mail servers)?

Thank you.

Shawn Marshall
Marshall Arts Motion Graphics

Dual 2.5 Ghz G5 Mac OS X (10.4.7)

Posted on Feb 7, 2007 6:05 PM

Reply
11 replies

Feb 9, 2007 12:24 PM in response to Rick Van Vliet

Rick:

Thanks for your reply.

We're still using the same ISP we've been using for ten years. We've moved our web hosting from our ISP to Lunarpages. We set our nameservers to Lunarpages a week ago, so all email directed to marshall-arts.net is now going to their mail servers. But I can't connect to our marshall-arts.net mail server unless I have 209.253.113.10 entered in the DNS Servers field on the computers getting their DHCP address from our AirPort Extreme. I don't know why this number was on our ibook but not our desktop systems. I'm thinking it might have been generated when setting up the AirPort on the laptop, but I don't remember.

Shawn Marshall
Marshall Arts Motion Graphics

Dual 2.5 Ghz G5 Mac OS X (10.4.7)

Dual 2.5 Ghz G5 Mac OS X (10.4.7)

Feb 9, 2007 1:08 PM in response to W Shawn Marshall

So I have two questions:

Would that address have been generated automatically
while setting up the AirPort connection on the ibook?


Does the name McLeod USA mean anything to you? I'm
going to guess that the iBook was previously connected
to the Internet via cable modem provided by McLeod USA.
The DNS server would have just been left over.

Why would that supposedly optional DNS Server address
be required for me to connect to our new mail servers
(but not our old ISP mail servers)?


If you moved your domain it sometimes takes a while for
the changes to propogate. Or it could be that your ISP
has a static route - logical while marshall-arts was virtually
hosted within their domain. I don't know who
your ISP is, so I can't tell. But you can. Here's what you do:

At a terminal emulator:

dig @ns1.lunarpages.com mail.marshall-arts.net

You should get an answer 209.200.249.122

Next

dig @xxxx mail.marshall-arts.net

where xxxx is the DNS server of your ISP. If you get a different answer,
you know where the problem is. If you tell them, they will either fix it
or tell you to wait a bit.



Powerbook G4, iMac (Intel), and tons of hardware sitting in the closet Mac OS X (10.4.8)

Powerbook G4, iMac (Intel), and tons of hardware sitting in the closet Mac OS X (10.4.8)

Feb 9, 2007 4:20 PM in response to philsmith_

Hi:

Thanks for your reply. I appreciate your taking the time to help me understand this.

We've never used a McLeod USA cable modem. We've used Qwest DSL for many years with a Cisco 675 modem. The ibook would have been connected to a Linksys switch via ethernet before we set up our AirPort a few years ago.

Would a paid wi-fi service at a hotel or something require one to enter an address into the DNS Servers field?

We switched over the nameservers to Lunarpages nine days ago, so I think it'd be propagated by now.

I ran the terminal query as you described for ns1.lunarpages.com mail.marshall-arts.net. It didn't come up with the number you've given. What is the significance of 209.200.249.122?

Again, sorry for the ignorance. I'm pretty decent at creating motion graphics and 3D animation, but this networking stuff is kind of over my head.

Shawn Marshall
Marshall Arts Motion Graphics
Portland, Oregon

Dual 2.5 Ghz G5 Mac OS X (10.4.7)

Feb 9, 2007 7:31 PM in response to W Shawn Marshall

Shawn,
that IP address is critical, since that IP is mail.marshall-arts.net
(your mail server)
Since it sounds like you're not able to resolve it properly, this is a major symptom of your problem.
(What IP address DID you get when you did the 'dig' command?)

It still points back to an Name resolution problem from within your network. As philsmith dotcom suggests, perhaps you can talk to your ISP and have them help you

A great tool on the web for all things DNS:
http://www.dnsstuff.com
snd for basic knowledge:
http://www.howstuffworks.com/dns.htm

Feb 10, 2007 10:48 AM in response to W Shawn Marshall

Would a paid wi-fi service at a hotel or something
require one to enter an address into the DNS Servers
field?


No, it shouldn't.

We switched over the nameservers to Lunarpages nine
days ago, so I think it'd be propagated by now.


Yes, it should have.

I ran the terminal query as you described for
ns1.lunarpages.com mail.marshall-arts.net. It didn't
come up with the number you've given. What is the
significance of 209.200.249.122?


The last octet might have changed if your DHCP lease got
renewed.

Again, sorry for the ignorance. I'm pretty decent at
creating motion graphics and 3D animation, but this
networking stuff is kind of over my head.


Motion graphics and 3D animation are way cool. Networking
isn't much more conplicated. All data is encoded into
packets, and each packet has addressing information inside.
Each machine on the network has a unique hardware
address. In addition, there's an assignable ip address. It's
the job of all those routers and bridges and switches to
figure out the path from one machine to another, and forward
the packets.

We humans don't want to bother with those numbers, we
want to call the machines by name. So there has to be a
system to translate those names to numbers. It's not
resonable to expect every machine to remember every name/
address lookup, so the system is heirarchical. Basically, a
lookup request is sent to your name server. If it can't answer,
it forwards the request to a server who should know; if that
one doesn't, it sends it up the chain.,,and so on.

By forcing it to use the nameserver at mcleodusa.net, the
iBook came back with the desired response to your name
lookup. By using the default nameserver set by your ISP, you
come up with the wrong name response. The best guess is
that you are using the same name and that your old pop
machine was a virtual machine; an alias to on of the boxes
at your ISP. The DNS server at your ISP must have the wrong
address.

I was recommending that you query it directly and see what
response you got. If the answer was a mchine within the
ISP's domain, the answer is simple: request that they remove
the alias from their lookup table. That way the lookup moves
up the heirarchy and the answer will come from the machine
you want it to.

Qwest is a very large ISP. They have a lot of DNS servers.
That's why it's reasonable to expect it to take a few hours
for changes to propogate. 9 days is not. The concept is simple;
the practice isn't, due to the massive number of lookup
requests generated since the web came into existence.

What is the default DNS server configured in your basestation?


Powerbook G4, iMac (Intel), and tons of hardware sitting in the closet Mac OS X (10.4.8)

Feb 12, 2007 7:59 PM in response to philsmith_

Hi:

Once again, thanks for your responses. I appreciate it.

I read the How Things Work DNS section and that was helpful. I understand the general concepts, but the specifics elude me a bit. I did figure out that by going to DNS Stuff.com I could run a DNS report on marshall-arts.net, which showed the MX record and gave the IP of our email as 209.200.249.122. I also ran a reverse DNS on the mystery DNS on our laptop, 209.253.113.10, which makes me understand where McLeod USA comes from. For the life of me, though, I don't remember ever hooking up this ibook to a McLeod cable modem. We've only had it physically hooked up to a Linksys switch. We've connected wirelessly to various wi-fi networks, though.

When I run the dig command on mail.marshall-arts.net I get this:

dig @ns1.lunarpages.com mail.marshall-arts.net

; <<>> DiG 9.2.2 <<>> @ns1.lunarpages.com mail.marshall-arts.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40613
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 13

;; QUESTION SECTION:
;mail.marshall-arts.net. IN A

;; AUTHORITY SECTION:
net. 117459 IN NS C.GTLD-SERVERS.net.
net. 117459 IN NS D.GTLD-SERVERS.net.
net. 117459 IN NS E.GTLD-SERVERS.net.
net. 117459 IN NS F.GTLD-SERVERS.net.
net. 117459 IN NS G.GTLD-SERVERS.net.
net. 117459 IN NS H.GTLD-SERVERS.net.
net. 117459 IN NS I.GTLD-SERVERS.net.
net. 117459 IN NS J.GTLD-SERVERS.net.
net. 117459 IN NS K.GTLD-SERVERS.net.
net. 117459 IN NS L.GTLD-SERVERS.net.
net. 117459 IN NS M.GTLD-SERVERS.net.
net. 117459 IN NS A.GTLD-SERVERS.net.
net. 117459 IN NS B.GTLD-SERVERS.net.

;; ADDITIONAL SECTION:
B.GTLD-SERVERS.net. 113672 IN A 192.33.14.30
B.GTLD-SERVERS.net. 114447 IN AAAA 2001:503:231d::2:30
C.GTLD-SERVERS.net. 113670 IN A 192.26.92.30
D.GTLD-SERVERS.net. 113670 IN A 192.31.80.30
E.GTLD-SERVERS.net. 113672 IN A 192.12.94.30
F.GTLD-SERVERS.net. 113672 IN A 192.35.51.30
G.GTLD-SERVERS.net. 113672 IN A 192.42.93.30
H.GTLD-SERVERS.net. 113670 IN A 192.54.112.30
I.GTLD-SERVERS.net. 113674 IN A 192.43.172.30
J.GTLD-SERVERS.net. 113672 IN A 192.48.79.30
K.GTLD-SERVERS.net. 113672 IN A 192.52.178.30
L.GTLD-SERVERS.net. 113670 IN A 192.41.162.30
M.GTLD-SERVERS.net. 113672 IN A 192.55.83.30

;; Query time: 54 msec
;; SERVER: 216.227.214.3#53(ns1.lunarpages.com)


When I dig our mail using the DNS server address from our ISP (entered in our AirPort Extreme's Internet Connection settings) I get this:

dig @216.99.193.19 mail.marshall-arts.net

; <<>> DiG 9.2.2 <<>> @216.99.193.19 mail.marshall-arts.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 46606
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.marshall-arts.net. IN A

;; AUTHORITY SECTION:
marshall-arts.net. 86400 IN SOA ns.aracnet.com. hostmaster.aracnet.com. 2004080901 10800 1800 3600000 86400

;; Query time: 22 msec
;; SERVER: 216.99.193.19#53(216.99.193.19)

So it returned the same number I put in. Does this offer any more insight? I'll try contacting our ISP.

Shawn Marshall
Portland, Oregon

Feb 13, 2007 11:39 AM in response to W Shawn Marshall

Congrats, you are rapidly becoming an expert! Neither dns
server actually answered - directly, anyway. The SERVER
response was just telling you who responded, not giving
you the ip address.

The telling part is in the authority section. Essentially,
lunarpages said that if it didn't directly have an address it
would go to a list of top-level-domain servers. But aracnet
listed ns and hostmaster as authorities, and that is where
your problem lies. I can't get to hostmaster.aracnet.com,
but I bet if I could, it would give me the wrong ip address.
Good detective work!

-Phil

Feb 15, 2007 1:55 PM in response to philsmith_

philsmith:

Not an expert yet, but I'm trying to learn.

Would you explain the relationship between the DNS Server address that were provided by our ISP and entered into our AirPort Extreme base station and this mystery McLeod DNS Server address I have to have entered in the computers that are dynamically configured (DHCP), getting their IP addresses from the AirPort Extreme base station?

When looking for our marshall-arts.net mail server, does it go to our first DNS Server address in the AirPort and then, not finding it, go to our second DNS Server address in the AirPort, and then still not finding it, go to the mystery McLeod DNS Server address I have entered in the TCP/IP settings of the various computers?

I'm also trying to understand the info the dig queries are returning. When I dig our mail at ns1.lunarpages.com I get that list of servers in the Authority section and their addresses in the additional section, but it doesn't actually return an answer with our mail address (209.200.249.122). Shouldn't the Lunarpages name servers know the address of our mail, or am I not understanding the relationship?

However, when I dig our mail at ns1.lunarservers.com it correctly returns our marshall-arts.net mail address (209.200.249.122) in the Answer Section.

I'm not understanding why our problem lies with Aracnet listing ns.aracnet.com and hostmaster.aracnet.com in its Authority section. Is it not looking at other name servers for the address and just giving up?

When i dig our mail at the McLeod DNS Server address (209.253.113.10) it also returns our email address (209.200.249.122) in an Answer Section.

Once again, thanks for your help.

Shawn Marshall
Portland, Oregon





Dual 2.5 Ghz G5

Feb 17, 2007 2:06 PM in response to W Shawn Marshall

Would you explain the relationship between the DNS
Server address that were provided by our ISP and
entered into our AirPort Extreme base station and
this mystery McLeod DNS Server address I have to have
entered in the computers that are dynamically
configured (DHCP), getting their IP addresses from
the AirPort Extreme base station?


Hi Shawn,

Did you know DNS stands for Deceptively Nasty Sadism? 🙂
In theory, it's a very simple system. In practice, it becomes
very complicated. Generally, you actually get back multiple
answers to your request. It's the first answer that's used.

The heart of the system is a bit of code called a resolver.
The resolver first looks the host file on its machine to find
a name/address pair. Say you're looking for foo.fum.org.
If the hosts file has an entry

foo.fum.org 123.45.67.89

the resolver can just return 123.45.67.89. Without an entry,
it goes to its resolv.conf file to find the address of a
nameserver. So if there's a line in the resolv.conf file

nameserver 9.8.76.54

it makes a request to the resolver on that machine. A
similar process occurs on that machine, and so forth. This
sounds good in theory, but eventually the heirarchy ends
at a root server, and there would be a huge bottleneck there
if not for some of the practices we use today. Hey, it's a kludgy
system, but before DNS we used to have to uucp a file from
our service provider with all the names of all the machines we
could look up.

Because it is possible that the nameserver could be unreachable,
you are allowed to enter multiple nameservers. For example,
the resolv.conf file could have:

nameserver 192.168.0.1
nameserver 9.8.76.54

Anyway, the answer to your question is that the resolver on
your machine will check the hosts file, and when it doesn't
find the host, it will look up the resolv.conf file and query the
first nameserver. If that times out, it will query the next and
so forth.

One or more of those nameserver lines will have been added
by DHCP, and some or none will have been added locally. On
a Mac, I don't think you're supposed to modify the file directly,
but if you look at the file /etc/resolv.conf you can see the
order in which the resolver will make DNS requests.

This answer was so long I forgot the question!

When looking for our marshall-arts.net mail server,
does it go to our first DNS Server address in the
AirPort and then, not finding it, go to our second
DNS Server address in the AirPort, and then still not
finding it, go to the mystery McLeod DNS Server
address I have entered in the TCP/IP settings of the
various computers?


Oh, I answered that one, anyway! One of the nameservers
on your local machines should be the Airport.

I'm also trying to understand the info the dig
queries are returning. When I dig our mail at
ns1.lunarpages.com I get that list of servers in the
Authority section and their addresses in the
additional section, but it doesn't actually return an
answer with our mail address (209.200.249.122).
Shouldn't the Lunarpages name servers know the
address of our mail, or am I not understanding the
relationship?


I'm sorry, we didn't ask it. I ddn't know you'd look into this
so deeply. To get the address we need to add IN-ADDR to
to end of the dig command. This stuff gets exponentially
more complex the deeper we go. I just wanted to show you
the different paths that are taken.

However, when I dig our mail at .lunarservers.com
it correctly returns our marshall-arts.net mail
address (209.200.249.122) in the Answer Section.


Oh. It was there in the cache.

I'm not understanding why our problem lies with
Aracnet listing ns.aracnet.com and
hostmaster.aracnet.com in its Authority section. Is
it not looking at other name servers for the address
and just giving up?


No, I think they had the wrong answer. Sorry about the confusion,
I realize I should have had you see the address - I thought it was
irrelevant, but you're a deeper thinker.

An authority is a server which will take responsiblity for providing
an answer. lunarpages returned the 13 root servers. This is a
whole 'nother story for another day. When your request is sent
to a root server for your zone - .net - it then determines the
authority for the domain - marshall-arts - and requests it to
find the machine - mail - and so forth from right to left in the
address.

What it looked like to me was that the authority was "hijacked"
by your ISP. Actually, it's a normally desired to keep traffic away
from the root servers. The best thing to do overall is to add a
line to your /etc/hosts file. Of course, you have to edit it if the
address ever changes. That way your resolver never goes to the
net. Faster, too.

Sorry for the rambling. I'm getting to be an old-timer and
sometimes I get carried away tellin' people how things used
to be.

-Phil

Powerbook G4, iMac (Intel), and tons of hardware sitting in the closet Mac OS X (10.4.8)

Feb 19, 2007 4:22 PM in response to W Shawn Marshall

Hi:

Thanks once again for taking the time to help. I don't quite understand everything, but it's getting a little clearer.

Anyway, once I felt I had enough of a knowledge base to ask an intelligent question I finally contacted our ISP. I gave them our settings and told them what was happening when I tried to dig our email server using the DNS Server addresses we were given. The Aracent support guy forwarded our email to their domain administrator. He thought the registrar was pointing at stale DNS entries. An hour or so later everything was cleared up and everything seems to be working properly.

Gracias. Take care.

Shawn Marshall
Portland, Oregon

Dual 2.5 Ghz G5

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Can't connect to mail server - DNS Server settings?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.