home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!darwin.sura.net!haven.umd.edu!mimsy!afterlife!adm!news
- From: zsd@axe.drea.dnd.ca (Jim Diamond)
- Newsgroups: comp.sys.sgi
- Subject: Mail ingenuity
- Message-ID: <32560@adm.brl.mil>
- Date: 14 Sep 92 14:45:30 GMT
- Sender: news@adm.brl.mil
- Lines: 64
-
- Perhaps one (or more) of the sendmail wizards out there may be able to
- solve the following puzzle for me:
-
- When I use Mail to send mail to a site "tuns.ca" everything works out
- OK:
-
- % Mail -v zsd@tuns.ca
- Subject: test
- testing
- .
- EOT
- zsd@tuns.ca... Connecting to edison.adm.tuns.ca (tcp)...
- 220 edison.adm.tuns.ca -- Server SMTP (PMDF#10424 V3.2)
- >>> HELO axe.drea.dnd.ca
- 250 edison.adm.tuns.ca
- >>> MAIL From:<zsd@axe.drea.dnd.ca>
- 250 Address OK.
- >>> RCPT To:<zsd@tuns.ca>
- 250 zsd@tuns.ca OK.
- >>> DATA
- 354 Enter mail, end with a single ".".
- >>> .
- 250 Ok.
- >>> QUIT
- 221 Bye received. Goodbye.
-
-
- Thus someone (sendmail?) was able to find an address for "tuns.ca".
- But if I try telnet, ftp, or nslookup I get
-
- % nslookup tuns.ca
- Server: arrow.drea.dnd.ca
- Address: 192.12.62.8
-
- *** No address (A) records available for tuns.ca
- % telnet tuns.ca
- tuns.ca: No address associated with name
- % ftp tuns.ca
- ftp: tuns.ca: No address associated with name
- ftp> quit
-
- And I don't have it in my hosts, aliases or sendmail* files:
-
- % grep -i tuns /etc/hosts /usr/lib/aliases* /usr/lib/sendmail*
- %
-
- I'm not running YP. My resolv.conf looks like:
- hostresorder local bind
- nameserver 192.12.62.8
- nameserver 192.12.62.11
- nameserver 192.12.98.2
- domain drea.dnd.ca
-
- So: what black magic does Mail or sendmail (or whomever) use to
- associate "edison.adm.tuns.ca" with "tuns.ca"? Why can't these other
- network programs do the same?
-
- I'd prefer the answer, but if anyone can point me to the correct FM to
- read, that would be as good.
-
- Thanks.
-
- Jim Diamond
- zsd@axe.drea.dnd.ca
-