On Wed, 15.05.13 12:07, Alexey Torkhov (atork...@gmail.com) wrote:

> 2013/5/15 Chris Adams <li...@cmadams.net>:
> > Once upon a time, Chris Murphy <li...@colorremedies.com> said:
> >> The only things related to networking I change is setting a hostname from 
> >> localhost to f18s, f19s or f19q; and occasionally adding the b43 firmware 
> >> if I decide to go wireless.
> >
> > Do you add the changed hostname to /etc/hosts?  If not, sendmail (and
> > some other things) will stop for some time trying to resolve the local
> > hostname to an IP address.
> 
> Why doesn't nss_myhostname resolve local hostname even if it is not in
> /etc/hosts?

My suspicion is that sendmail uses res_query() and friends since it
needs MX and stuff... THis means NSS is bypassed and hence
nss_myhostname and /etc/hosts won't take effect anyway...

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to