make nameserver search fully configurable
add test harness
add test, make tests pass
make log message more concise
fix solaris2 platform