The handbook should add a line in section D.1a, listing 1.2 under "static IP" demonstrating the DNS entries: # For static IP using CIDR notation config_eth0="192.168.0.7/24" routes_eth0="default via 192.168.0.1" dns_servers_eth0="192.168.0.19 192.168.0.1" # For static IP using netmask notation config_eth0="192.168.0.7 netmask 255.255.255.0" routes_eth0="default via 192.168.0.1" dns_servers_eth0="192.168.0.19 192.168.0.1" Reproducible: Always Steps to Reproduce: 1.Configure /etc/conf.d/net according to handbook 2.Reboot 3.Try to access network Actual Results: Non-working DNS. resolv.conf truncated: # Generated by net-scripts for interface lo domain localnet Expected Results: Working DNS resolv.conf as originally created: domain localnet nameserver 192.168.0.19 nameserver 192.168.0.1
it should be done for you by the livecd's resolv.conf, assuming you remembered to copy it to your installed system. furthermore: "A fully commented example that covers many different configurations is available in /usr/share/doc/openrc-*/net.example.bz2." note also the section that talks about not overwriting conf.d/net -- the "nodns" and similar options. also, read code listing 4.1: "Code Listing 4.1: override network settings per ESSID" this already has the dns_servers option.
In section 8.b. Networking Information, it suggests putting the line dns_domain_lo="homenetwork" if you are not using DHCP. That apparently triggers automatic overwriting of resolv.conf, so if you do remember to copy the resolv.conf over from the live cd, it will be overwritten at the next boot. If you are configuring a static IP on a wired connection (this is *not* an edge case) the configuration suggested is *incomplete*. It will break. Every time. You are correct that if you explore Advanced Settings about wireless or DHCP configuration you will find the answers, but correctly setting DNS is part of a *basic* configuration. It should be listed as part of the basic configuration. The "nodns" option is listed as part of setting up DHCP. Unless you are actually setting up DHCP it's unlikley you would even look there, and if you did, it's not obvious from that section that it pertains to a static setup. If you are setting up a wired connection, you would be unlikely to examine code listing 4.1 under overriding settings per ESSID, because you would not be setting up using ESSID.
Fixed in CVS. Thanks for reporting