Some friends and I have recently had some problems with email which we think we've tracked down to problems with DNS servers. (Mail between us and anyone on the same ISP was getting through, but nothing was coming in from 'outside').
I've since Googled and found out some facts about DNS, but I'm left with a question which is "who looks after the DNS database?" - which is apparently loaded into every DNS.
Silverback
Basic info on DNS
-
- Administrator
- Posts: 77253
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Basic info on DNS
I have moved this thread from Scuttlebutt to the Networking and Wireless forum.
Regards,
Hans
Hans
-
- GoldLounger
- Posts: 3081
- Joined: 24 Jan 2010, 19:07
Re: Basic info on DNS
How would that be? Since what is happening after your email server(s) is beyond your control.
Your mail client (software) > MTA (mail transfer agent) > MTA (mail transfer agent) > MDA (Mail delivery agent, "mail server") > recipient's mail client (software).
You would use DNS to find your server, beyond that nothing. You should ask your ISP/ESP (email service provider).
Your mail client (software) > MTA (mail transfer agent) > MTA (mail transfer agent) > MDA (Mail delivery agent, "mail server") > recipient's mail client (software).
You would use DNS to find your server, beyond that nothing. You should ask your ISP/ESP (email service provider).
Byelingual When you speak two languages but start losing vocabulary in both of them.
-
- Administrator
- Posts: 12436
- Joined: 16 Jan 2010, 15:49
- Location: London, Europe
Re: Basic info on DNS
Each top level DNS domain has a different owner. So there is one owner for .COM, another for .NET, ORG etc. There are also country specific domains. These domain onwers manage the top level servers in their domain.
Every DNS name has an authoritative server, which is the place that definitively knows the facts about that domain. You can find out which DNS server is authoritative for a domain by typing the following commands in a Windows Command prompt.
Every DNS name has an authoritative server, which is the place that definitively knows the facts about that domain. You can find out which DNS server is authoritative for a domain by typing the following commands in a Windows Command prompt.
Code: Select all
nslookup
> set query=ns
> eileenslounge.com (or whatever name you want to find out about)
You do not have the required permissions to view the files attached to this post.
StuartR
-
- 5StarLounger
- Posts: 751
- Joined: 29 Jan 2010, 13:30
Re: Basic info on DNS
I'm not understanding; here's how I thought things worked.
I thought that when I send an email to fredbloggs@somewhere.co.uk, this email address has to be turned into an IP address e.g. 138.68.175.3 to route it to its final destination. I further thought that this conversion of name to IP address was handled by a 'DNS database' which handles ALL the necessary conversions.
So, a) I don't know how things work or b) my OP question was "who is responsible for providing all the conversion data?" (called by me a DNS Database)
Is this not how things work?
Silverback
Silverback
I thought that when I send an email to fredbloggs@somewhere.co.uk, this email address has to be turned into an IP address e.g. 138.68.175.3 to route it to its final destination. I further thought that this conversion of name to IP address was handled by a 'DNS database' which handles ALL the necessary conversions.
So, a) I don't know how things work or b) my OP question was "who is responsible for providing all the conversion data?" (called by me a DNS Database)
Is this not how things work?
Silverback
Silverback
-
- Administrator
- Posts: 12436
- Joined: 16 Jan 2010, 15:49
- Location: London, Europe
Re: Basic info on DNS
DNS is distributed, with each DNS server caching information for a period of time.
In a typical home scenario, your PC first checks its local cache to see if it already has a valid translation. It then asks your router (which includes a DNS server). If the router doesn't know then it will ask the DNS server at your ISP. If the ISP hasn't cached this translation then it will pass the request up to another DNS server. Eventually the request will go all the way to the top level server for the domain, which will return the name of the authoritative server. When the translation is found it will be cached at every level back down the treee of DNS servers. Each server will keep the translation in cache for a period of time specified by the authoritative server.
In a typical home scenario, your PC first checks its local cache to see if it already has a valid translation. It then asks your router (which includes a DNS server). If the router doesn't know then it will ask the DNS server at your ISP. If the ISP hasn't cached this translation then it will pass the request up to another DNS server. Eventually the request will go all the way to the top level server for the domain, which will return the name of the authoritative server. When the translation is found it will be cached at every level back down the treee of DNS servers. Each server will keep the translation in cache for a period of time specified by the authoritative server.
StuartR
-
- GoldLounger
- Posts: 3081
- Joined: 24 Jan 2010, 19:07
Re: Basic info on DNS
As Stuart said, and in the email world there is something called MX records, mail exchanger records, which tells which mail server is responsible for a certain domain. MX records is one of several DNS record types. Typically there are several MX records, for the same domain (to balance load etc.).
You can use NSLOOKUP with MX records:
set type=MX (or set q=MX)
Domain.abc
But this will not help you (or your friends).
As I metioned, what happens after you have sent a mail: it's accepted by a MSA (did not mention), mail submission agent (software), could also be the same as a mail transfer agent, MTA, it checks if the recipient is hosted locally, if not it's forwarded to another MTA. While doing this it will use MX records mentioned above. This is beyond your control.
https://en.wikipedia.org/wiki/Message_transfer_agent" onclick="window.open(this.href);return false;
https://en.wikipedia.org/wiki/MX_record" onclick="window.open(this.href);return false;
Etc.
What happens when you try to send to an address outside the domain of your email provider? Do you get a mail non-delivery report, such as "Undelivered Mail Returned to Sender"?
You can use NSLOOKUP with MX records:
set type=MX (or set q=MX)
Domain.abc
But this will not help you (or your friends).
As I metioned, what happens after you have sent a mail: it's accepted by a MSA (did not mention), mail submission agent (software), could also be the same as a mail transfer agent, MTA, it checks if the recipient is hosted locally, if not it's forwarded to another MTA. While doing this it will use MX records mentioned above. This is beyond your control.
https://en.wikipedia.org/wiki/Message_transfer_agent" onclick="window.open(this.href);return false;
https://en.wikipedia.org/wiki/MX_record" onclick="window.open(this.href);return false;
Etc.
What happens when you try to send to an address outside the domain of your email provider? Do you get a mail non-delivery report, such as "Undelivered Mail Returned to Sender"?
Byelingual When you speak two languages but start losing vocabulary in both of them.
-
- 5StarLounger
- Posts: 751
- Joined: 29 Jan 2010, 13:30
Re: Basic info on DNS
Stuart, Argus. Thank you both for these clear explanations. I'm particularly boggled that my router has a DNS server. Who knew?
Argus. All is working again now, but for interest, we did not get any non-delivery messages. The friend who started all this eventually got his missing two days' worth of email delivered between 0100 and 0300 yesterday.
Silverback
Argus. All is working again now, but for interest, we did not get any non-delivery messages. The friend who started all this eventually got his missing two days' worth of email delivered between 0100 and 0300 yesterday.
Silverback
-
- Panoramic Lounger
- Posts: 7825
- Joined: 25 Jan 2010, 09:09
- Location: retirement
Re: Basic info on DNS
Which being translated means, the mail server at the recipient's ISP had 'an issue' so everything got held up until someone fixed the problem. Where upon a flood of backed up mail came gushing down the tubes and landed in the Inbox.silverback wrote:...eventually got his missing two days' worth of email delivered between 0100 and 0300 yesterday.
We had a variation on this at work a while ago. Our incoming mail slowly dried up. The IT people eventually found them, they'd got mixed up with the spam. Once they'd figured out why it was being held when it have shouldn't been blocked the flood gates opened and we got several hundred messages in the space of a couple of hours. Cue frantic headless chicken mode while we waded through them all to pick out the really really important ones that need our attention asap.
Ken
-
- 5StarLounger
- Posts: 751
- Joined: 29 Jan 2010, 13:30
Re: Basic info on DNS
Ah. Those quaint times when I used to go to 'work'. 

-
- 5StarLounger
- Posts: 954
- Joined: 08 Nov 2012, 17:54
Re: Basic info on DNS
LOL!!!
I initially read the last part of this as
Oops
Lisa
I initially read the last part of this as
I searched for quite a long time before I realised there is no such thing as a DNS Silverback!!!which is apparently loaded into every DNS Silverback
Oops
Lisa