[H-GEN] Re: Linux Networking - Some Basic Questions

Gavin Lawson nobleley at powerup.com.au
Sun Feb 27 05:22:42 EST 2000


[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics.  Please observe the list's charter.          ]

I am still not getting to where I want to be with Sendmail so I thought I'd
supply some specfics.  
I don't have BIND running.
I can ping each machine from the other using IP addresses or aliases.
I can telnet from each machine to the other.
I can mail locally (but I think that has nothing to do with sendmail?).

/etc/host.conf
order hosts,bind
multi on

/etc/hosts
127.0.0.1	localhost	localhost.localdomain
192.168.1.1	nobleley
www.nobleley.com
192.168.1.2	dorothy	www.dorothy.com	dot

/etc/resolv.conf
domain nobleley

I have been trying the following command from machine nobleley (results
shown).
sendmail -v root at dot < h.py
root at dot... Deferred: Name server: dot: host
name lookup failure

To me the messages suggests that sendmail is looking
for a nameserver.  If someone could point me to the next step, I'd be
grateful.

Regards

Gavin Lawson


>Gavin Lawson <nobleley at powerup.com.au> moved upon the face of the 'Net and
spake thusly:
>
>> Questions
>> ---------
>> 1) Do I need to have DNS installed and running to use SendMail?  Can I
>> somehow get Sendmail to use /etc/hosts?
>
>Sendmail (et al.) just calls 'gethostbyname("foobox.bar.tld")'.  It is
>up to the contents of /etc/resolv.conf ("man resolver") to determine
>whether to consult /etc/hosts or DNS or both when resolving the name
>to an IP address.
>
>> 2) Should DNS (named) have been installed automatically?  I had a quick
>> look at Redhat packages on the CD but could not see one that suggested DNS
>> or named.
>
>Most "workstation" style unix installations should not need a name
>server.  On large networks, you use the existing DNS server, on small
>networks, it's easier to do without it and just use host tables.  If
>you really want a DNS server, the package is probably called "bind"
>(Berkeley Internet Name Daemon).
>
>If you just want to send mail from your two machines to each other,
>you won't need a DNS server.  If you want to send mail to the outside
>world, you can use your ISP's DNS server.
>
>cjb
>
>-- 
>| Christopher J.  Biggs | EMAIL: chris at stallion.oz.au (PGP and MIME OK)  |
>| R&D Software Engineer | PHONE: +61 7 3270-4266  FAX: +61 7 3270-4245   |
>| Stallion Technologies | Microsoft is not the Answer.                   |
>\ Queensland, AUSTRALIA | Microsoft is the Question.  NO is the answer!  /
>
>--
>* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
>* Postings to this list are only accepted from subscribed addresses of
>* lists 'general' or 'general-post'.
>
>


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.



More information about the General mailing list