pep257 docstrings in dns and errors