1 |
On Monday 19 February 2007 11:32, Bayrouni wrote: |
2 |
|
3 |
> Hello all, |
4 |
> |
5 |
> cat /etc/conf.d.hostname |
6 |
> # /etc/conf.d/hostname |
7 |
> |
8 |
> # Set to the hostname of this machine |
9 |
> HOSTNAME="MYHOST" |
10 |
> |
11 |
> and cat /etc/conf.d/domainname |
12 |
> DNSDOMAIN="MYDOMAIN" |
13 |
> |
14 |
> The hostname service is added to the /etc/init.d/ with rc-update, |
15 |
> |
16 |
> but the commande hostname give: |
17 |
> #hostname |
18 |
> MYHOST |
19 |
> |
20 |
> and |
21 |
> # hostname -f |
22 |
> MYHOST |
23 |
> |
24 |
> I tried to add the domainname service: |
25 |
> sudo rc-update add domainname default |
26 |
> * rc-update: '/etc/init.d/domainname' not found; aborting |
27 |
> |
28 |
> What is wrong or missing in my configuration ? |
29 |
|
30 |
DNS domain name is not set via /etc/conf.d/domainname anymore. You should |
31 |
use /etc/conf.d/net for that. |
32 |
-- |
33 |
gentoo-user@g.o mailing list |