Base: consistent DNS handling