`Dns` is an internal API. It either should not be exposed at all or needs to be moved and thoroughly documented.