Sebastien Roy wrote:
> Manoj Joseph wrote:
>> I do not use nis. But the problem is that "dns" is not listed in
>> /etc/nsswitch.conf.
> 
> There you go, that explains it.
> 
>> When I boot without enabling pcn0 (on vmware) and then enable it after
>> boot, this is what I see:
>>
>> -bash-3.2# cat /etc/nsswitch.conf | egrep "^hosts|^ipnodes"
>> hosts:              files
>> ipnodes:            files
>>
> ...
>> 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.

Maybe, that was a stupid question. ifconfig just doesn't.  :)

On linux, "ifup <interface>" is all that I (have to) do, and everything
is automatically setup. Perhaps that behavior is what I was hoping for.

Thanks for the help!

Cheers
Manoj

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to