[hide private]
[frames] | no frames]

[ Module Hierarchy | Class Hierarchy ]

# Class Hierarchy

- object: The most base type
  - dns.rdtypes.IN.APL.APLItem: An APL list item.
  - dns.resolver.Answer: DNS stub resolver answer
  - exceptions.BaseException: Common base class for all exceptions
    - exceptions.Exception: Common base class for all non-exit exceptions.
      - dns.exception.DNSException: Abstract base class shared by all dnspython exceptions.
        - dns.name.AbsoluteConcatenation: An attempt was made to append anything other than the empty name to an absolute DNS name.
        - dns.rdtypes.ANY.RRSIG.BadSigTime: Time in DNS SIG or RRSIG resource record cannot be parsed.
        - dns.tsig.BadSignature: The TSIG signature fails to verify.
        - dns.tsig.BadTime: The current time is not within the TSIG's validity time.
        - dns.zone.BadZone: The DNS zone is malformed.
          - dns.zone.NoNS: The DNS zone has no NS RRset at its origin.
          - dns.zone.NoSOA: The DNS zone has no SOA RR at its origin.
          - dns.zone.UnknownOrigin: The DNS zone's origin is unknown.
        - dns.rdataset.DifferingCovers: An attempt was made to add a DNS SIG/RRSIG whose covered type is not the same as that of the other rdatas in the rdataset.
        - dns.exception.FormError: DNS message is malformed.
          - dns.message.BadEDNS: OPT record occurred somewhere other than the start of the additional data section.
          - dns.name.BadLabelType: The label type in DNS name wire format is unknown.
          - dns.name.BadPointer: A DNS compression pointer points forward instead of backward.
          - dns.query.BadResponse: A DNS query response does not respond to the question asked.
          - dns.message.BadTSIG: A TSIG record occurred somewhere other than the end of the additional data section.
          - dns.name.NameTooLong: A DNS name is > 255 octets long.
          - dns.message.ShortHeader: The DNS packet passed to from_wire() is too short.
          - dns.message.TrailingJunk: The DNS packet passed to from_wire() has extra junk at the end of it.
        - dns.name.IDNAException: IDNA processing raised an exception.
        - dns.rdataset.IncompatibleTypes: An attempt was made to add DNS RR data of an incompatible type.
        - dns.resolver.NXDOMAIN: The DNS query name does not exist.
        - dns.name.NeedAbsoluteNameOrOrigin: An attempt was made to convert a non-absolute name to wire when there was also a non-absolute (or missing) origin.
        - dns.resolver.NoAnswer: The DNS response does not contain an answer to the question.
        - dns.name.NoIDNA2008: IDNA 2008 processing was requested but the idna module is not available.
        - dns.resolver.NoMetaqueries: DNS metaqueries are not allowed.
        - dns.resolver.NoNameservers: All nameservers failed to answer the query.
        - dns.name.NoParent: An attempt was made to get the parent of the root name or the empty name.
        - dns.resolver.NoRootSOA: There is no SOA RR at the DNS root name.
        - dns.resolver.NotAbsolute: An absolute domain name is required but a relative name was provided.
        - dns.tsig.PeerError: Base class for all TSIG errors generated by the remote peer
          - dns.tsig.PeerBadKey: The peer didn't know the key we used
          - dns.tsig.PeerBadSignature: The peer didn't like the signature we sent
          - dns.tsig.PeerBadTime: The peer didn't like the time we sent
          - dns.tsig.PeerBadTruncation: The peer didn't like amount of truncation in the TSIG we sent
        - dns.exception.SyntaxError: Text input is malformed.
          - dns.name.BadEscape: An escaped code in a text format of DNS name is invalid.
          - dns.ttl.BadTTL: DNS TTL value is not well-formed.
          - dns.name.EmptyLabel: A DNS label is empty.
          - dns.name.LabelTooLong: A DNS label is > 63 octets long.
          - dns.exception.UnexpectedEnd: Text input ended unexpectedly.
        - dns.exception.Timeout: The DNS operation timed out.
        - dns.exception.TooBig: The DNS message is too big.
        - dns.query.UnexpectedSource: A DNS query response came from an unexpected address or port.
        - dns.tokenizer.UngetBufferFull: An attempt was made to unget a token when the unget buffer was full.
        - dns.message.UnknownHeaderField: The header field name was not recognized when converting from text into a message.
        - dns.opcode.UnknownOpcode: An DNS opcode is unknown.
        - dns.rcode.UnknownRcode: A DNS rcode is unknown.
        - dns.rdataclass.UnknownRdataclass: A DNS class is unknown.
        - dns.rdatatype.UnknownRdatatype: DNS resource record type is unknown.
        - dns.message.UnknownTSIGKey: A TSIG with an unknown key was received.
        - dns.dnssec.UnsupportedAlgorithm: The DNSSEC algorithm is not supported.
        - dns.dnssec.ValidationFailure: The DNSSEC signature is invalid.
        - dns.resolver.YXDOMAIN: The DNS query name is too long after DNAME substitution.
  - dns.resolver.Cache: Simple DNS answer cache.
  - _abcoll.Container
    - _abcoll.Mapping: A Mapping is a generic container for associating key/value pairs.
      - _abcoll.MutableMapping: A MutableMapping is a generic container for associating key/value pairs.
        - dns.namedict.NameDict: A dictionary whose keys are dns.name.Name objects.
  - dns.dnssec.ECKeyWrapper
  - dns.entropy.EntropyPool
  - dns.name.IDNACodec: Abstract base class for IDNA encoder/decoders.
    - dns.name.IDNA2003Codec: IDNA 2003 encoder/decoder.
    - dns.name.IDNA2008Codec: IDNA 2008 encoder/decoder.
  - _abcoll.Iterable
    - _abcoll.Mapping: A Mapping is a generic container for associating key/value pairs.
      - _abcoll.MutableMapping: A MutableMapping is a generic container for associating key/value pairs.
        - dns.namedict.NameDict: A dictionary whose keys are dns.name.Name objects.
  - dns.resolver.LRUCache: Bounded least-recently-used DNS answer cache.
  - dns.resolver.LRUCacheNode: LRUCache node.
  - dns.message.Message: A DNS message.
    - dns.update.Update
  - dns.name.Name: A DNS name.
  - dns.node.Node: A DNS node.
  - dns.edns.Option: Base class for all EDNS option types.
    - dns.edns.GenericOption: Generate Rdata Class
  - dns.rdata.Rdata: Base class for all DNS rdata types.
    - dns.rdtypes.IN.A.A: A record.
    - dns.rdtypes.IN.AAAA.AAAA: AAAA record.
    - dns.rdtypes.IN.APL.APL: APL record.
    - dns.rdtypes.ANY.CAA.CAA: CAA (Certification Authority Authorization) record
    - dns.rdtypes.ANY.CERT.CERT: CERT record
    - dns.rdtypes.ANY.CSYNC.CSYNC: CSYNC record
    - dns.rdtypes.IN.DHCID.DHCID: DHCID record
    - dns.rdtypes.dnskeybase.DNSKEYBase: Base class for rdata that is like a DNSKEY record
      - dns.rdtypes.ANY.CDNSKEY.CDNSKEY: CDNSKEY record
      - dns.rdtypes.ANY.DNSKEY.DNSKEY: DNSKEY record
    - dns.rdtypes.dsbase.DSBase: Base class for rdata that is like a DS record
      - dns.rdtypes.ANY.CDS.CDS: CDS record
      - dns.rdtypes.ANY.DLV.DLV: DLV record
      - dns.rdtypes.ANY.DS.DS: DS record
    - dns.rdtypes.euibase.EUIBase: EUIxx record
      - dns.rdtypes.ANY.EUI48.EUI48: EUI48 record
      - dns.rdtypes.ANY.EUI64.EUI64: EUI64 record
    - dns.rdtypes.ANY.GPOS.GPOS: GPOS record
    - dns.rdata.GenericRdata: Generate Rdata Class
    - dns.rdtypes.ANY.HINFO.HINFO: HINFO record
    - dns.rdtypes.ANY.HIP.HIP: HIP record
    - dns.rdtypes.IN.IPSECKEY.IPSECKEY: IPSECKEY record
    - dns.rdtypes.ANY.ISDN.ISDN: ISDN record
    - dns.rdtypes.ANY.LOC.LOC: LOC record
    - dns.rdtypes.mxbase.MXBase: Base class for rdata that is like an MX record.
      - dns.rdtypes.ANY.MX.MX: MX record
      - dns.rdtypes.mxbase.UncompressedDowncasingMX: Base class for rdata that is like an MX record, but whose name is not compressed when convert to DNS wire format.
        - dns.rdtypes.ANY.AFSDB.AFSDB: AFSDB record
        - dns.rdtypes.ANY.RT.RT: RT record
      - dns.rdtypes.mxbase.UncompressedMX: Base class for rdata that is like an MX record, but whose name is not compressed when converted to DNS wire format, and whose digestable form is not downcased.
        - dns.rdtypes.IN.KX.KX: KX record
    - dns.rdtypes.IN.NAPTR.NAPTR: NAPTR record
    - dns.rdtypes.IN.NSAP.NSAP: NSAP record.
    - dns.rdtypes.nsbase.NSBase: Base class for rdata that is like an NS record.
      - dns.rdtypes.ANY.CNAME.CNAME: CNAME record
      - dns.rdtypes.ANY.NS.NS: NS record
      - dns.rdtypes.ANY.PTR.PTR: PTR record
      - dns.rdtypes.nsbase.UncompressedNS: Base class for rdata that is like an NS record, but whose name is not compressed when convert to DNS wire format, and whose digestable form is not downcased.
        - dns.rdtypes.ANY.DNAME.DNAME: DNAME record
        - dns.rdtypes.IN.NSAP_PTR.NSAP_PTR: NSAP-PTR record
    - dns.rdtypes.ANY.NSEC.NSEC: NSEC record
    - dns.rdtypes.ANY.NSEC3.NSEC3: NSEC3 record
    - dns.rdtypes.ANY.NSEC3PARAM.NSEC3PARAM: NSEC3PARAM record
    - dns.rdtypes.IN.PX.PX: PX record.
    - dns.rdtypes.ANY.RP.RP: RP record
    - dns.rdtypes.ANY.RRSIG.RRSIG: RRSIG record
    - dns.rdtypes.ANY.SOA.SOA: SOA record
    - dns.rdtypes.IN.SRV.SRV: SRV record
    - dns.rdtypes.ANY.SSHFP.SSHFP: SSHFP record
    - dns.rdtypes.ANY.TLSA.TLSA: TLSA record
    - dns.rdtypes.txtbase.TXTBase: Base class for rdata that is like a TXT record
      - dns.rdtypes.ANY.AVC.AVC: AVC record
      - dns.rdtypes.ANY.SPF.SPF: SPF record
      - dns.rdtypes.ANY.TXT.TXT: TXT record
    - dns.rdtypes.ANY.URI.URI: URI record
    - dns.rdtypes.IN.WKS.WKS: WKS record
    - dns.rdtypes.ANY.X25.X25: X25 record
  - dns.renderer.Renderer: Helper class for building DNS wire-format messages.
  - dns.resolver.Resolver: DNS stub resolver
  - dns.set.Set: A simple set class.
    - dns.rdataset.Rdataset: A DNS rdataset.
      - dns.rrset.RRset: A DNS RRset (named rdataset).
  - _abcoll.Sized
    - _abcoll.Mapping: A Mapping is a generic container for associating key/value pairs.
      - _abcoll.MutableMapping: A MutableMapping is a generic container for associating key/value pairs.
        - dns.namedict.NameDict: A dictionary whose keys are dns.name.Name objects.
  - dns.tokenizer.Token: A DNS master file format token.
  - dns.tokenizer.Tokenizer: A DNS master file format tokenizer.
  - dns.zone.Zone: A DNS zone.
  - dns.zone._MasterReader: Read a DNS master file
  - dns.message._TextReader: Text format reader.
  - dns.message._WireReader: Wire format reader.
  - basestring: Type basestring cannot be instantiated; it is the base for str and unicode.
    - str: str(object='') -> string
      - dns.wiredata.WireData
      - dns.wiredata._SliceUnspecifiedBound
  - type: type(object) -> the object's type type(name, bases, dict) -> a new type
    - abc.ABCMeta: Metaclass for defining Abstract Base Classes (ABCs).