get lib/dns to work on updated interface