net.eth0.dns1 is a legacy system property that is not used by the resolver
anymore.
the "official way" is to define one of:

net.dns1
net.dns2
...

additionally, you can use a process-specific list with:

net.dns1.<pid>
net.dns2.<pid>
...

where <pid> is the numerical process identifier of your program.

What you see is probably a bug in netcfg

On Thu, Feb 12, 2009 at 5:02 AM, vinay harugop <[email protected]> wrote:

>
> hi,
>
> My target is getting networked configured iver ethernet when "netcfg
> eth0 dhcp" is run. This is setting up net.eth0.dns1 to DNS server ip
> address, but still DNS reolve is not happening in browser.
> When setprop net.dns1 <DNS server IP addr> is run then DNS resolve is
> happening properly.
>
> How to make this automatic setting of net.dns1? how to put in init.rc
> for chnaging  DNS server ip OR is there any way to inform dhcp to up
> date net.dns1 ?
>
> thanks,
> -vinay
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to