Solved

Exchange - DNS and SMTP relay agents

Posted on 1998-03-28
7
530 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:Bing CISM / CISSP
Comment Utility
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
Comment Utility
But what is a DNS relay agent? does that not exist?
0
 
LVL 12

Accepted Solution

by:
Otta earned 60 total points
Comment Utility
> 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 37

Expert Comment

by:Bing CISM / CISSP
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Fair enough
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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 …
Greetings, Experts! First let me state that this website is top notch. I thoroughly enjoy the community that is shared here; those seeking help and those willing to sacrifice their time to help. It is fantastic. I am writing this article at th…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now