Anthony E. Caudel schrieb:
As of baselayout-1.12.4, the domainname init script is no longer used
and the Gentoo Handbook no longer tells how to set the domainname.
domainname now returns "(none)"
/etc/conf.d/net.example talks about setting up dns_domain but if this is
used, it overwrites /etc/resolv.conf.
So how is the domainname now set?
See net.example.
# Setting name/domain server causes /etc/resolv.conf to be overwritten
# Note that if DHCP is used, and you want this to take precedence then
# set dhcp_ESSID="nodns"
#dns_servers_ESSID=( "192.168.0.1" "192.168.0.2" )
#dns_domain_ESSID="some.domain"
[...]
#nis_domain_eth0="domain"
The domainname is set with dns_domain or nis_domain.
Alexander Skwar
--
Jenkinson's Law:
It won't work.
--
[email protected] mailing list