make nameserver search fully configurable
add test harness
add test, make tests pass
sanity check nameservers before writing resolv.conf