* Re: [gentoo-user] hostname and domainname
@ 2007-02-19 11:23 99% ` Astolfo Bugatti
0 siblings, 0 replies; 1+ results
From: Astolfo Bugatti @ 2007-02-19 11:23 UTC (permalink / raw
To: gentoo-user
for apply the changes
reboot your system!!
On Mon, 19 Feb 2007 12:12:39 +0100
Bayrouni <bayrouni@brutele.be> wrote:
> Etaoin Shrdlu a écrit :
> > On Monday 19 February 2007 11:32, Bayrouni wrote:
> >
> >> Hello all,
> >>
> >> cat /etc/conf.d.hostname
> >> # /etc/conf.d/hostname
> >>
> >> # Set to the hostname of this machine
> >> HOSTNAME="MYHOST"
> >>
> >> and cat /etc/conf.d/domainname
> >> DNSDOMAIN="MYDOMAIN"
> >>
> >> The hostname service is added to the /etc/init.d/ with rc-update,
> >>
> >> but the commande hostname give:
> >> #hostname
> >> MYHOST
> >>
> >> and
> >> # hostname -f
> >> MYHOST
> >>
> >> I tried to add the domainname service:
> >> sudo rc-update add domainname default
> >> * rc-update: '/etc/init.d/domainname' not found; aborting
> >>
> >> What is wrong or missing in my configuration ?
> >
> > DNS domain name is not set via /etc/conf.d/domainname anymore. You should
> > use /etc/conf.d/net for that.
>
> I added this line in /etc/conf.d/net:
> dns_domain_lo="MY_DOMAIN"
>
>
> I restarted the net.lo but still the same result:
> # domainname
> (none)
>
> # hostname and hostname -f
> MY_HOST
>
> My DNS server is running but it works only as dns cache server.
>
> So, do I need to configure it as DNS for this machine and the others in
> LAN to have hostname and domainname commands working correctly?
>
> Thanks
>
>
>
>
>
> --
> gentoo-user@gentoo.org mailing list
>
--
Astolfo Bugatti <astolfobugatti@libero.it>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2007-02-19 10:32 [gentoo-user] hostname and domainname Bayrouni
2007-02-19 11:27 ` Etaoin Shrdlu
2007-02-19 11:12 ` Bayrouni
2007-02-19 11:23 99% ` Astolfo Bugatti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox