Solved

Exchange - DNS and SMTP relay agents

Posted on 1998-03-28
7
537 Views
Last Modified: 2013-12-23
   I am a little lost on my conceptual understanding of what role the DNS and SMTP relay agents play in delivering the mail in exchange.  Can anybody give me an explanation perhaps with an example so even I can understand it.
  Thanks.
 
0
Comment
Question by:jimmyr
  • 3
  • 2
  • 2
7 Comments
 
LVL 37

Expert Comment

by:bbao
ID: 1571635
DNS resolve mapping between domain name to IP address, for example, resolve the name www.experts-exchange.com to 207.114.132.1.

SMTP realy agent acts like a router, send the message from its client to the next step to the destination, you may check your Internet mail header to help you understant this.
0
 

Author Comment

by:jimmyr
ID: 1571636
But what is a DNS relay agent? does that not exist?
0
 
LVL 12

Accepted Solution

by:
Otta earned 60 total points
ID: 1571637
> I am a little lost on my conceptual
> understanding of what role the DNS and
> SMTP relay agents play in delivering the
> mail in exchange. Can anybody give
> me an explanation perhaps with an
> example so even I can understand it.

After you write a letter, you stuff it
into an envelope.
On the envelope, you write
'TO: PRESIDENT@WHITEHOUSE.GOV',
and then you drop the envelope into
a Postal Service Mail Drop-Off Box,
and you've completing "relaying" your mail.
You rely on some Postal Service worker
to remove your letter from the Box,
and take it to a "processing centre",
where the routing of your message
will be determined.

An SMTP-server is the electronic-equivalent
of the worker and the processing centre.

At the processing-centre,
there are several steps.
First, a worker puts on his/her 'SMTP' hat,
and shouts "who's the top-guru
for addressing in the '.GOV' domain?".
When that top-guru answers,
the same worker asks that top-guru
"which of your assistant-gurus handles
addresses in the 'WHITEHOUSE.GOV' domain?".
When that top-guru answers the question,
then the assistant-guru is asked
"which host in your domain is designated
to receive E-mail for 'WHITEHOUSE.GOV'?".
When the answer is received,
then the assistant-guru is asked
"what's the IP-address for that host?".

Now, the worker opens a TCP/IP connection
to that IP-address, and says "hello".
When an answer ("OK") is received,
the worker says I have mail from "jimmyr".
When an answer ("OK") is received,
the worker says I have mail for 'PRESIDENT@WHITEHOUSE.GOV'.
When an answer ("OK") is received,
the worker says "here is the message",
and sends it.
When an answer ("OK") is received,
the worker says "quit".
When an answer ("OK") is received,
the worker hangs-up the connection.

This process of asking questions is the
DNS (Domain Name Server) service, i.e.,
asking for 'NS' (name-server) and 'MX'
(mail-exchanger) records.

When the IP-address is determined,
then the SMTP (Simple Mail Transport Protocol)
is used to relay the message.
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 37

Expert Comment

by:bbao
ID: 1571638
Jimmyr, if one DNS request can not be resolved at one DNS server, the server would forward the request to its upstream DNS server, util the request answered or no such domain name found. Such a server is a DNS relay agent.

Otta, you are good at to explain concepts from a basic step. :-))
0
 

Author Comment

by:jimmyr
ID: 1571639
Otta,
I truly enjoyed your answer so I happily gave you all the points. But I have to admit bbao was the one who answered my last question.
0
 
LVL 12

Expert Comment

by:Otta
ID: 1571640
jimmyr,
unfortunately, BBAO's answer is not correct.

If a DNS-server can give an "authoritative"
answer to a DNS-request, it gives it.
For example, if your computer is a member
of the 'jimmyr.com' domain, and you ask
the DNS-server in that domain for the IP-address of another host in that domain,
then it gives the answer, and no other
DNS-server is consulted.

However, if you ask the DNS-server for the
IP-address of a host "outside" of the domain,
then it does not go "upstream" to find
the answer.  Instead, it goes to the "top"
of the Internet, and asks the "root" servers
for assistance, and works "downstream".

For example, if you ask for the IP-address
for 'WWW.ALTAVISTA.DIGITAL.COM',
then the "root" servers are asked for a
"referral" to the "authoritative" servers
for the '.COM' domain.  One of those DNS-servers
is then asked for a "referral" to the
"authoritative" DNS-servers for the 'DIGITAL.COM' domain.
Then, that DNS-server is asked the "original" question.
The reply may either be the IP-address,
or the message "don't ask me, ask the
authoritative DNS-servers for the 'ALTAVISTA.DIGITAL.COM' domain".

So, it's a "downstream" approach,
not an "upstream" approach.
0
 

Author Comment

by:jimmyr
ID: 1571641
Fair enough
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
An article on effective troubleshooting
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question