1 |
On Sun, 21 Jan 2007 18:45:01 +0300, John covici <covici@××××××××××.com> |
2 |
wrote: |
3 |
|
4 |
> I am having problems setting the domain name of a new gentoo |
5 |
> installation. I looked at /etc/conf.d/net.examples and tried what |
6 |
> seemed to me what they were looking for such as |
7 |
> DNS_LO="<domain name>" |
8 |
> |
9 |
> The host name works, although I would like to not have it wipe out my |
10 |
> resolv.conf. I can set hostname to the fully qualified name using the |
11 |
> hostname command, but gentoo still says unknown domain name when I log |
12 |
> in, so I am not sure this is correct. |
13 |
> |
14 |
> Any assistance would be appreciated. |
15 |
> |
16 |
|
17 |
After I set the host name in /etc/conf.d/hostname (so that |
18 |
/etc/init.d/hostname could set it on startup), set the domain name with |
19 |
#domainname, and allowed it to be resolved to 129.0.0.1 in hosts, the log |
20 |
in screen started to show the correct host and domain. |
21 |
|
22 |
It looks like the login screen displays the FQDN whenever it can be |
23 |
resolved. |
24 |
|
25 |
-- |
26 |
Andrei Gerasimenko |
27 |
|
28 |
-- |
29 |
gentoo-user@g.o mailing list |