Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Sep 2003 10:37:02 +0200
From:      David Landgren <david@landgren.net>
To:        Charles Howse <chowse@charter.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Sendmail is sleepy
Message-ID:  <3F56F9AE.1000907@landgren.net>
In-Reply-To: <004001c3722e$2a6f38a0$04fea8c0@moe>
References:  <004001c3722e$2a6f38a0$04fea8c0@moe>

next in thread | previous in thread | raw e-mail | index | archive | help
Charles Howse wrote:

>>Did you enter your hostname and ip address in 
>>/etc/resolv.conf?  I don't if it 
>>will fix your problem; but is helps when many applications 
>>complain about the 
>>hostname.

I think you mean /etc/hosts, something like

10.0.0.1	larry.domain.tld larry


>>
>>Andrew Gould
> 
> 
> Uh, no I didn't.  Man resolv.conf doesn't say anything about how to do
> that, and it's never been necessary.

Putting the above in /etc/hosts is good insurance, if ever your DNS 
servers (the addresses of which are specified in /etc/resolv.conf as 
it happens) go out to lunch.

You have to consider the trade offs between always knowing the IP 
addresses of remote machines when a packet absolutely, positively has 
to get there when your DNS is down, balanced against the likelihood of 
those machine changing IP addresses (upgrades, usually). Which means 
visiting all your servers and updating their hosts files.

David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F56F9AE.1000907>