Ethernet DNS

Hi,

Does anybody know how to let the android to get the dns for the eth0
automtically instead of setprop net.dns1 manually ?

I have try command "dhcpcd eth0", after that i find the eth0 got the
correct ip address however the browser doesnt work .

Does anybody have experinece on that?

Thanks and Regards,
King.S