Init (or rc) scripts in a boot level are started in order ls prints them in case there are no deps. Thus net-misc/dhcp-3.0_p2 init script (dhcp) gets started before net-dns/bind-9.2.2-r2 init script (named). If you have both services on the same box, hostnames in dhcpd.conf won't resolve. Reproducible: Always Steps to Reproduce: 1. emerge dhcp 2. emerge bind 3. put dhcp and named in default runlevel 4. use hostnames in dhcpd.conf 5. reboot Actual Results: Intranet hostnames did not resolve since dhcp was started before named. Expected Results: Hostnames should have been resolved and correct gw and ns ip addresses should have been sent to clients via dhcp. Addind "after named" in /etc/init.d/dhcp depend section fixes it but ppl use djbdns etc as well and i don't know if this works for them. fixed depend: depend() { need net after named }
thx, added :)