some cleanups

the get_nameserver binary works now (uses Command.async_basic which is very useful. I'll look at the rest later on and add the UDP support.