1 |
for apply the changes |
2 |
reboot your system!! |
3 |
|
4 |
|
5 |
On Mon, 19 Feb 2007 12:12:39 +0100 |
6 |
Bayrouni <bayrouni@×××××××.be> wrote: |
7 |
|
8 |
> Etaoin Shrdlu a écrit : |
9 |
> > On Monday 19 February 2007 11:32, Bayrouni wrote: |
10 |
> > |
11 |
> >> Hello all, |
12 |
> >> |
13 |
> >> cat /etc/conf.d.hostname |
14 |
> >> # /etc/conf.d/hostname |
15 |
> >> |
16 |
> >> # Set to the hostname of this machine |
17 |
> >> HOSTNAME="MYHOST" |
18 |
> >> |
19 |
> >> and cat /etc/conf.d/domainname |
20 |
> >> DNSDOMAIN="MYDOMAIN" |
21 |
> >> |
22 |
> >> The hostname service is added to the /etc/init.d/ with rc-update, |
23 |
> >> |
24 |
> >> but the commande hostname give: |
25 |
> >> #hostname |
26 |
> >> MYHOST |
27 |
> >> |
28 |
> >> and |
29 |
> >> # hostname -f |
30 |
> >> MYHOST |
31 |
> >> |
32 |
> >> I tried to add the domainname service: |
33 |
> >> sudo rc-update add domainname default |
34 |
> >> * rc-update: '/etc/init.d/domainname' not found; aborting |
35 |
> >> |
36 |
> >> What is wrong or missing in my configuration ? |
37 |
> > |
38 |
> > DNS domain name is not set via /etc/conf.d/domainname anymore. You should |
39 |
> > use /etc/conf.d/net for that. |
40 |
> |
41 |
> I added this line in /etc/conf.d/net: |
42 |
> dns_domain_lo="MY_DOMAIN" |
43 |
> |
44 |
> |
45 |
> I restarted the net.lo but still the same result: |
46 |
> # domainname |
47 |
> (none) |
48 |
> |
49 |
> # hostname and hostname -f |
50 |
> MY_HOST |
51 |
> |
52 |
> My DNS server is running but it works only as dns cache server. |
53 |
> |
54 |
> So, do I need to configure it as DNS for this machine and the others in |
55 |
> LAN to have hostname and domainname commands working correctly? |
56 |
> |
57 |
> Thanks |
58 |
> |
59 |
> |
60 |
> |
61 |
> |
62 |
> |
63 |
> -- |
64 |
> gentoo-user@g.o mailing list |
65 |
> |
66 |
|
67 |
|
68 |
-- |
69 |
Astolfo Bugatti <astolfobugatti@××××××.it> |
70 |
-- |
71 |
gentoo-user@g.o mailing list |