add support for 'domain' resolv.conf key

add support for 'domain' resolv.conf key, not to be confused with 'search' key behavoir