TCP IP Illustrated

Tucnoaoedu from a

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: TP server on the host The server's initial 220 response is shown in line 6. Somehow the host must deliver this mail message to the destination, The UUCP protocols are a popular way for a system not connected to the Internet to exchange mail with its MX site. In this example the MTA asks for an MX record, gets a positive result, and sends the mail. Unfortunately the interaction between an MTA and the DNS can differ between implementations. RFC 974 specifies that an MTA should ask for MX records first, and if none are found, attempt delivery to the destination host (i.e., ask the DNS for an A record for the host, for its IP address). MTAs must also deal with CNAME records in the DNS (canonical names). As an example, if we send mail to [email protected] from a file:///D|/Documents%20and%20Settings/bigini/Doc...omenet2run/tcpip/tcp-ip-illustrated/smtp_sim.htm (10 of 23) [12/09/2001 14.47.52] Chapter 28. SMTP: Simple Mail Transfer Protocol BSD/386 host, the following steps are executed by the MTA (Sendmail). 1. Sendmail asks the DNS for CNAME records for We see that a CNAME record exists: sun % host -t cname CNAME 2. A DNS query is issued for CNAME records for and the response says none exist. 3. Sendmail then asks the DNS for MX records for and gets one MX record: sun % host -t mx MX 4. Sendmail queries the DNS for an A record (IP address) for and gets back the value (This A record was probably returned by the name server for as an additional RR with the MX reply in step 3.) 5. An SMTP connection is initiated to and the mail is sent. A CNAME query is not tried for the data returned in the MX record ( The data in the MX record cannot be an alias-it must be the name of a host that has an A record. The version of Sendmail distributed with SunOS 4.1.3 that uses the DNS only queries for MX records, and gives up if an MX record isn't found. MX Records: Hosts That Are Down Another use of MX...
View Full Document

This test prep was uploaded on 04/04/2014 for the course ECE EL5373 taught by Professor Guoyang during the Spring '12 term at NYU Poly.

Ask a homework question - tutors are online