None of these are needed anymore.
"""EDNS Options"""
-from __future__ import absolute_import
-
import math
import struct
"""DNS Messages"""
-from __future__ import absolute_import
-
from io import StringIO
import struct
import time
"""Talk to a DNS server."""
-from __future__ import generators
-
import errno
import os
import select
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-from __future__ import division
-
import struct
import dns.exception
"""DNS Zones."""
-from __future__ import generators
-
import sys
import re
import os
#!/usr/bin/env python
-from __future__ import print_function
-
import dns.e164
n = dns.e164.from_e164("+1 555 1212")
print(n)
#!/usr/bin/env python
-from __future__ import print_function
-
import dns.resolver
answers = dns.resolver.query('nominum.com', 'MX')
#!/usr/bin/env python
-from __future__ import print_function
-
import dns.name
n = dns.name.from_text('www.dnspython.org')
# Two ways of querying a specific nameserver.
-from __future__ import print_function
-
import dns.message
import dns.rdataclass
import dns.rdatatype
# This is just a toy, real code would check that the received message
# really was a NOTIFY, and otherwise handle errors.
-from __future__ import print_function
-
import socket
import dns.flags
# If this weren't a demo script, there'd be a way of specifying the
# origin for each zone instead of constructing it from the filename.
-from __future__ import print_function
-
import dns.zone
import dns.ipv4
import os.path
#!/usr/bin/env python
-from __future__ import print_function
-
import dns.reversename
n = dns.reversename.from_address("127.0.0.1")
print(n)
#!/usr/bin/env python
-from __future__ import print_function
-
import dns.query
import dns.resolver
import dns.zone
# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
"""See diff_zones.__doc__ for more information"""
-from __future__ import print_function
from typing import cast, Union, Any # pylint: disable=unused-import
__all__ = ['diff_zones', 'format_changes_plain', 'format_changes_html']
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-from __future__ import print_function
-
import unittest
import dns.dnssec
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-from __future__ import print_function
-
import unittest
from io import BytesIO
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-from __future__ import print_function
-
from typing import Dict # pylint: disable=unused-import
import unittest
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-from __future__ import print_function
-
import unittest
import binascii