Sebastien Roy wrote: >> So, that begs the question, why does "ifconfig pcn0 dhcp start" not add >> dns to nsswitch.conf? Is this a but or is it working as designed? > > That's as designed. The ifconfig command simply configures IP > interfaces. It doesn't configure naming and other high-level services.
When the NIC is enabled on boot, this is what I see. -bash-3.2# cat /etc/nsswitch.conf | egrep "^hosts|^ipnodes" hosts: files dns # Added by DHCP ipnodes: files dns # Added by DHCP The entries, per the comment, were added by "DHCP" (during boot). Why doesn't it do the same, when I start dhcp for an interface? Regards, Manoj _______________________________________________ networking-discuss mailing list [email protected]
