Dummy dns as default

is this for patchability? it feels a little weird that this calls a global function without reference back to the instance but haven't got a suggestion on how to improve it just yet