Re: Name Resolve

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



edwarner99@xxxxxxxxx wrote:

My machine is acting as a dhcp server, router and
firewall.
I have named it "bonsai"
The problem is that when sendmail starts, it take
forever to startup.


Aha, name resolution issues.

I think it is trying to resolve
the name. I have place 192.168.100.1	bonsai	bonsai
into the hosts file.

Sendmail will be happier if dns is working
completely - you may want for other reasons
as well to make your gateway also run a
caching dns server. It can be authoritative
for your small domain and a forwarder for
everything else -


un 13 07:34:09 bonsai sendmail[1841]: My unqualified
host name (bonsai) unknown; sleeping for retry

Use a fully qualified domain name in sendmail.cf -

Here is the area of interest in /etc/mail/sendmail.cf
# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM


Edit the Dj line to use your full hostname, e.g:

Djbonsai.mydomain.net

Be sure and use a legitimate hostname or your
mail will be bounced by many mail servers.

Joe




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux