Alexander Skwar wrote: > 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
But setting my domainname this way overwrites my /etc/resolv.conf and I lose my nameserver data. (This is noted in /etc/conf.d/net.example) Tony -- Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin -- [email protected] mailing list

