Problem
I want a Gentoo system to
- use dhcp
- report its hostname (say, brooklyn) back to the DHCP server so that the windows DDNS gets updated
- not mess with the resolv.conf because the dhcp-provided one is wrong
Solution
/etc/conf.d/net
config_eth0=( "dhcp" )
dhcpcd_eth0="-h brooklyn -C resolv.conf"# Set the NIS things
nis_domain_eth0="nis.domain.local"
nis_servers_eth0="10.16.0.1"