dns :: resolver :: NXDOMAIN :: Class NXDOMAIN
[hide private]
[frames] | no frames]

Class NXDOMAIN

source code

              object --+            
                       |            
exceptions.BaseException --+        
                           |        
        exceptions.Exception --+    
                               |    
          exception.DNSException --+
                                   |
                                  NXDOMAIN

The DNS query name does not exist.

Instance Methods [hide private]
 
_check_kwargs(self, qnames, responses=None) source code
 
__str__(self)
str(x)
source code
 
__add__(self, e_nx)
Augment by results from another NXDOMAIN exception.
source code
 
qnames(self)
All of the names that were tried.
source code
 
responses(self)
A map from queried names to their NXDOMAIN responses.
source code
 
response(self, qname)
The response for query *qname*.
source code

Inherited from exception.DNSException: __init__

Inherited from exception.DNSException (private): _check_params, _fmt_kwargs

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __unicode__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Class Variables [hide private]
  supp_kwargs = set(['qnames', 'responses'])
  fmt = None
hash(x)

Inherited from exception.DNSException: msg

Properties [hide private]
  canonical_name
Return the unresolved canonical name.

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details [hide private]

_check_kwargs(self, qnames, responses=None)

source code 
Overrides: exception.DNSException._check_kwargs

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

qnames(self)

source code 

All of the names that were tried.

Returns a list of ``dns.name.Name``.

responses(self)

source code 

A map from queried names to their NXDOMAIN responses.

Returns a dict mapping a ``dns.name.Name`` to a ``dns.message.Message``.

response(self, qname)

source code 

The response for query *qname*.

Returns a ``dns.message.Message``.


Property Details [hide private]

canonical_name

Return the unresolved canonical name.

Get Method:
unreachable.canonical_name(self)