reimpl dns for the new interfaces