In the Gentoo Handbook section "Configuring your Network" (http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=3), there is no mention of automatically assigning a hostname via DNS (with a reverse lookup?) or DHCP. This seems like a very useful thing to document for anyone installing Gentoo on more than one machine... It would be very useful to show how hostnames can automatically be obtained by DHCP (assuming that the server has been configured correctly) by adding the appropriate flags for dhcpcd: dhcpcd_eth0="-HD" to /etc/conf.d/net It would also be nice if there was some clarification about what name comes from where (e.g. if one has a hostname in /etc/hostname, why is it not the same as the hostname assigned by the above-mentioned DHCP automation). Reproducible: Always Steps to Reproduce: 1. 2. 3.
That would rather be at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=8#doc_chap2 I don't mind adding an extra example in code listing 14. with -HD along with a *very* short explanation. I'm afraid anything else, dhcp/dns configuration e.g., is beyond the scope of the current handbook. Besides, if you already know how to configure & use your DNS server, you should be able to handle it IMHO.
Fixed. Thanks for reporting. I also threw in a note about -N because so many users hit f.g.o wondering what overwrote their /etc/ntp.conf file. dhcpcd -N is the answer.