Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Exchange - DNS and SMTP relay agents

Posted on 1998-03-28
7
Medium Priority
?
545 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 240 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
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Nslookup is a command line driven utility supplied as part of most Windows operating systems that can reveal information related to domain names and the Internet Protocol (IP) addresses associated with them. In simple terms, it is a tool that can …
The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

885 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