Gentoo Archives: gentoo-user

From: Alexander Skwar <listen@×××××××××××××××.name>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to set domainname
Date: Thu, 17 Aug 2006 05:15:07
Message-Id: 44E3F97E.2070908@mid.email-server.info
In Reply to: [gentoo-user] How to set domainname by "Anthony E. Caudel"
1 Anthony E. Caudel schrieb:
2 > As of baselayout-1.12.4, the domainname init script is no longer used
3 > and the Gentoo Handbook no longer tells how to set the domainname.
4 > domainname now returns "(none)"
5 >
6 > /etc/conf.d/net.example talks about setting up dns_domain but if this is
7 > used, it overwrites /etc/resolv.conf.
8 >
9 > So how is the domainname now set?
10
11 See net.example.
12
13 # Setting name/domain server causes /etc/resolv.conf to be overwritten
14 # Note that if DHCP is used, and you want this to take precedence then
15 # set dhcp_ESSID="nodns"
16 #dns_servers_ESSID=( "192.168.0.1" "192.168.0.2" )
17 #dns_domain_ESSID="some.domain"
18 [...]
19 #nis_domain_eth0="domain"
20
21
22 The domainname is set with dns_domain or nis_domain.
23
24 Alexander Skwar
25 --
26 Jenkinson's Law:
27 It won't work.
28 --
29 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] How to set domainname "Anthony E. Caudel" <acaudel@×××××.com>
Re: [gentoo-user] How to set domainname Alexander Skwar <listen@×××××××××××××××.name>