Still no 100% sure about your requirement, approach and goal.
Anyway, I assume (please confirm, since I'm wrong in the most of
times) that you are not trying to take a shortcut like (netcfg eth0
dhcp) to make your interface/device to work and what you really want
is something like Wifi or
hi,
I use dhcpcd to get DHCP properties on a new interface I created (not
wifi).
DHCP succeeds, and I can see all the dhcp.myinterface0.xxx properties
get set correctly.
But dns still doesn't work, and indeed net.dns1 is still not set by
dhcpcd, only dhcp.xxx.dns1 is set.
I tried to add setprop