- add NetBSD comment - use warn instead of perror - protect overflowing the stack on bad DNS records - delint