Package dns :: Module rdataset
[hide private]
[frames] | no frames]

Module rdataset

source code

DNS rdatasets (an rdataset is a set of rdatas of a given type and class)

Classes [hide private]
  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.
  IncompatibleTypes
An attempt was made to add DNS RR data of an incompatible type.
  Rdataset
A DNS rdataset.
Functions [hide private]
 
from_text_list(rdclass, rdtype, ttl, text_rdatas)
Create an rdataset with the specified class, type, and TTL, and with the specified list of rdatas in text format.
source code
 
from_text(rdclass, rdtype, ttl, *text_rdatas)
Create an rdataset with the specified class, type, and TTL, and with the specified rdatas in text format.
source code
 
from_rdata_list(ttl, rdatas)
Create an rdataset with the specified TTL, and with the specified list of rdata objects.
source code
 
from_rdata(ttl, *rdatas)
Create an rdataset with the specified TTL, and with the specified rdata objects.
source code
Variables [hide private]
  __package__ = 'dns'
Function Details [hide private]

from_text_list(rdclass, rdtype, ttl, text_rdatas)

source code 

Create an rdataset with the specified class, type, and TTL, and with the specified list of rdatas in text format.

Returns a ``dns.rdataset.Rdataset`` object.

from_text(rdclass, rdtype, ttl, *text_rdatas)

source code 

Create an rdataset with the specified class, type, and TTL, and with the specified rdatas in text format.

Returns a ``dns.rdataset.Rdataset`` object.

from_rdata_list(ttl, rdatas)

source code 

Create an rdataset with the specified TTL, and with the specified list of rdata objects.

Returns a ``dns.rdataset.Rdataset`` object.

from_rdata(ttl, *rdatas)

source code 

Create an rdataset with the specified TTL, and with the specified rdata objects.

Returns a ``dns.rdataset.Rdataset`` object.