home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / sgi / 13626 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  4.5 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!darwin.sura.net!haven.umd.edu!mimsy!afterlife!adm!news
  2. From: HERBER@fnalf.fnal.gov (Randolph J. Herber, CD/DCD/USS, x2966)
  3. Newsgroups: comp.sys.sgi
  4. Subject: RE: Mail ingenuity
  5. Message-ID: <32573@adm.brl.mil>
  6. Date: 14 Sep 92 21:48:04 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 147
  9.  
  10. Hi Jim!
  11.  
  12. If you submitted these commands to `nslookup':
  13.     set query=any
  14.     set verbose
  15.     tuns.ca.
  16.     lserver newton.ccs.tuns.ca.
  17.     tuns.ca.
  18.     exit
  19.     
  20. You would have received a report similiar to this: (note the ==> flagged line!)
  21.     Default Server:  LOCALHOST
  22.     Address:  127.0.0.1
  23.     
  24.     > set query=any
  25.     > set verbose
  26.     > tuns.ca.
  27.     Server:  LOCALHOST
  28.     Address:  127.0.0.1
  29.     
  30.     Non-authoritative answer:
  31.     tuns.ca    nameserver = newton.ccs.tuns.ca
  32.     tuns.ca    nameserver = taurus.cs.tuns.ca
  33.     tuns.ca    nameserver = mars.csd.unb.ca
  34.     
  35.     Authoritative answers can be found from:
  36.     tuns.ca    nameserver = newton.ccs.tuns.ca
  37.     tuns.ca    nameserver = taurus.cs.tuns.ca
  38.     tuns.ca    nameserver = mars.csd.unb.ca
  39.     newton.ccs.tuns.ca    internet address = 134.190.1.4
  40.     taurus.cs.tuns.ca    internet address = 134.190.11.4
  41.     mars.csd.unb.ca    internet address = 131.202.1.3
  42.     > lserver newton.ccs.tuns.ca.
  43.     Default Server:  newton.ccs.tuns.ca
  44.     Address:  134.190.1.4
  45.     
  46.     > tuns.ca.
  47.     Server:  newton.ccs.tuns.ca
  48.     Address:  134.190.1.4
  49.     
  50.     tuns.ca
  51.         origin = newton.ccs.tuns.ca
  52.         mail addr = ejones.newton.ccs.tuns.ca
  53.         serial = 92073101
  54.         refresh = 7200 (2 hours)
  55.         retry   = 1200 (20 mins)
  56.         expire  = 1728000 (20 days)
  57.         minimum ttl = 86400 (1 day)
  58.     tuns.ca    nameserver = newton.ccs.tuns.ca
  59.     tuns.ca    nameserver = taurus.cs.tuns.ca
  60.     tuns.ca    nameserver = mars.csd.unb.ca
  61. ==>    tuns.ca    preference = 10, mail exchanger = edison.adm.tuns.ca
  62.     newton.ccs.tuns.ca    internet address = 134.190.1.4
  63.     taurus.cs.tuns.ca    internet address = 134.190.11.4
  64.     mars.csd.unb.ca    internet address = 131.202.1.3
  65.     edison.adm.tuns.ca    internet address = 134.190.1.7
  66.     > exit
  67.  
  68. The flagged line indicates that the machine edison.adm.tuns.ca accepts mail
  69. for the destination named tuns.ca.  `tuns.ca' does not have to be a Internet
  70. connected machine as long as the acceptor knows how to deliver the mail.
  71. This is the "black magic"; but, it only works for SMTP connections.
  72.  
  73. The line "zsd@tuns.ca... Connecting to edison.adm.tuns.ca (tcp)..." in the
  74. verbose output from sendmail is attempting to tell you the same data!
  75.  
  76. A mail acceptor is not required or expected to accept other kinds of
  77. connections on behalf of the named destination.  That is why ftp, telnet, etc.
  78. do not work.
  79.  
  80. The `RTFM's are RFC 1034 and RFC 1035.  You can obtain them from nic.ddn.mil
  81. via anonymous ftp in the rfcs directory as rfc1034.txt and rfc1035.txt.
  82.  
  83. Randolph J. Herber, herber@fnalf.fnal.gov, +1 708 840 2966
  84. (Speaking for myself and not for US, US DOE, FNAL nor URA.)
  85. (Product, trade, or service marks herein belong to their respective owners.)
  86.  
  87. +Date: Mon, 14 Sep 92 11:09:12 -0300
  88. +From: Jim Diamond <zsd@axe.drea.dnd.ca>
  89. +Organization: DREA, Dartmouth, Nova Scotia
  90. +To: info-iris@BRL.MIL
  91. +Subject: Mail ingenuity
  92.  
  93. +Perhaps one (or more) of the sendmail wizards out there may be able to
  94. +solve the following puzzle for me:
  95.  
  96. +When I use Mail to send mail to a site "tuns.ca" everything works out
  97. +OK:
  98.  
  99. +% Mail -v zsd@tuns.ca
  100. +Subject: test
  101. +testing
  102. .
  103. +EOT
  104. +zsd@tuns.ca... Connecting to edison.adm.tuns.ca (tcp)...
  105. +220 edison.adm.tuns.ca -- Server SMTP (PMDF#10424 V3.2)
  106. +>>> HELO axe.drea.dnd.ca
  107. +250 edison.adm.tuns.ca
  108. +>>> MAIL From:<zsd@axe.drea.dnd.ca>
  109. +250 Address OK.
  110. +>>> RCPT To:<zsd@tuns.ca>
  111. +250 zsd@tuns.ca OK.
  112. +>>> DATA
  113. +354 Enter mail, end with a single ".".
  114. +>>> .
  115. +250 Ok.
  116. +>>> QUIT
  117. +221 Bye received. Goodbye.
  118.  
  119.  
  120. +Thus someone (sendmail?) was able to find an address for "tuns.ca".
  121. +But if I try telnet, ftp, or nslookup I get
  122.  
  123. +% nslookup tuns.ca
  124. +Server:  arrow.drea.dnd.ca
  125. +Address:  192.12.62.8
  126.  
  127. +*** No address (A) records available for tuns.ca
  128. +% telnet tuns.ca
  129. +tuns.ca: No address associated with name
  130. +% ftp tuns.ca
  131. +ftp: tuns.ca: No address associated with name
  132. +ftp> quit
  133.  
  134. +And I don't have it in my hosts, aliases or sendmail* files:
  135.  
  136. +% grep -i tuns /etc/hosts /usr/lib/aliases* /usr/lib/sendmail*
  137. %
  138.  
  139. +I'm not running YP.  My resolv.conf looks like:
  140. +hostresorder local bind
  141. +nameserver 192.12.62.8
  142. +nameserver 192.12.62.11
  143. +nameserver 192.12.98.2
  144. +domain drea.dnd.ca
  145.  
  146. +So: what black magic does Mail or sendmail (or whomever) use to
  147. +associate "edison.adm.tuns.ca" with "tuns.ca"?  Why can't these other
  148. +network programs do the same?
  149.  
  150. +I'd prefer the answer, but if anyone can point me to the correct FM to
  151. +read, that would be as good.
  152.  
  153. +Thanks.
  154.  
  155. +            Jim Diamond
  156. +            zsd@axe.drea.dnd.ca
  157.