> Answering my own mail.
> If /etc/conf.d/hostname and /etc/conf.d/domainname are
> both blank, we get:
>
>
>>(none) ~ # hostname
>>(none)
>>(none) ~ # nisdomainname
>>(none)
>>(none) ~ # dnsdomainname
>>dnsdomainname: Unknown host

AFAIK, dnsdomainname will do a lookup on the hostname. If the lookup
succeeds, the domain is extracted from the result. It seems that the
domain statement in resolve.conf is used too, but ...

Some programs use the hostname to connect via TCP/UDP. If /etc/hosts
doesn't contain valid entries that point to 127.0.0.1, you'll be stuck
with a not working system.

Since /etc/init.d/domainname doesn't touch /etc/hosts, it's AFAIK not
"complete".

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to