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 |