Gentoo Archives: gentoo-user

From: Ryan Tandy <tarpman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to set domainname
Date: Wed, 16 Aug 2006 23:23:15
Message-Id: 44E3A7DC.8030104@gmail.com
In Reply to: Re: [gentoo-user] How to set domainname by "Anthony E. Caudel"
1 Anthony E. Caudel wrote:
2 > Well, perhaps. It is in my /etc/hosts. But domainname still returns (none)
3
4 By default, the 'domainname' command returns your NIS/YP domainname,
5 which not many of us have. Try 'dnsdomainname' instead - it may have
6 the result you're looking for.
7
8 delta ~ # domainname
9 (none)
10 delta ~ # dnsdomainname
11 tarpman.homelinux.com
12 --
13 gentoo-user@g.o mailing list