Etaoin Shrdlu <shrdlu <at> unlimitedmail.org> writes:

> I seem to remember that this was somehow related to /etc/hosts, look:
> 
> # cat /etc/hosts
> 10.0.0.10  mybox   mybox.my.domain
> 
> # hostname -d
> #
> # (modify /etc/hosts)
> # cat /etc/hosts
> 10.0.0.10  mybox.my.domain   mybox
> 
> # hostname -d
> my.domain

Great, this helped!

I now have:

[EMAIL PROTECTED] ~ $ grep -v \# /etc/hosts | grep -v '^$'
127.0.0.1       blatt.bei.digitalprojects.com   blatt
127.0.0.1       localhost
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
213.133.109.44  new.email-server.info

And:

[EMAIL PROTECTED] ~ $ hostname -d
bei.digitalprojects.com

But I'd still like to know what /etc/conf.d/domainname does... Or rather: Is
supposed to do :)

Alexander Skwar
-- 
There is brutality and there is honesty.  There is no such thing as brutal
honesty.

-- 
gentoo-user@gentoo.org mailing list

Reply via email to