dhcpcd-discuss

Re: I can get dns on some wireless router.

Richard Zhao

Tue Feb 02 08:43:48 2010

On Mon, Feb 1, 2010 at 5:40 PM, Roy Marples <roy@xxxxxxxxxxxx> wrote:
> On 01/02/2010 07:55, Richard Zhao wrote:
>>
>> I'm a newer to dhcpcd. When I try to get ip using dhcpcd, I can not
>> get dns from a wireless router. Other routers are OK. I saw
>> 20-dns.conf is getting dns from evn var new_domain_name_servers. but
>> I can not find who set "new_domain_name_servers". How can I track
>> up?
>
> dhcpcd itself sets new_domain_name_servers. You should have this in
> dhcpcd.conf
>
> option domain_name_servers
>
> Otherwise it won't be requested.
> If you still don't get that env var, the the DHCP server did not send you
> it.
>
> Thanks
>
> Roy
>
>

Sorry I copied dhcpcd.conf to the wrong place. It seems some dhcp
servers won't send dns server addresses if DHO_PARAMETERREQUESTLIST
don't specify dns.

Thanks
Richard

References:
I can get dns on some wireless router.Richard Zhao
Re: I can get dns on some wireless router.Roy Marples
Archive administrator: postmaster@marples.name