Phil Sexton schrieb:
Anthony E Caudel wrote:
Phil Sexton wrote:
Anthony E Caudel wrote:
Mike wrote:
Anthony E. Caudel wrote:
As of baselayout-1.12.4, the domainname init script is no longer used
and the Gentoo Handbook no longer tells how to set the domainname.
domainname now returns "(none)"
/etc/conf.d/net.example talks about setting up dns_domain but if
this is
used, it overwrites /etc/resolv.conf.
So how is the domainname now set?
Tony
/etc/hosts ?
Well, perhaps. It is in my /etc/hosts. But domainname still returns
(none)
Tony
You should stop using /etc/hostname and use /etc/conf.d/hostname
I don't use /etc/hostname and I DO use /etc/conf.d/hostname. What has
this to do with the domainname? Are they both set there?
Tony
I thought domainname was set in /etc/hosts.
No, it's not. NIS doesn't use /etc/hosts for these things.
Here is my /etc/conf.d/hostname:
# Set to the hostname of this machine
HOSTNAME="uilleann.fancypiper.info"
That's not a hostname. A hostname has no dots (.).
Alexander Skwar
--
<Espy> you are baked
<knghtbrd> Espy: only half so
--
[email protected] mailing list