Revert "remove dep on dnspython as it appears to be unused"

This reverts commit 6e7d5e71938d337e37dc9251416e1655a9ffeb4a.