add hostDnsConfig resource

add dnsconfig test

align to usage standards, handle dhcp behavior