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

Module rrset

source code

DNS RRsets (an RRset is a named rdataset)

Classes [hide private]
  RRset
A DNS RRset (named rdataset).
Functions [hide private]
 
from_text_list(name, ttl, rdclass, rdtype, text_rdatas, idna_codec=None)
Create an RRset with the specified name, TTL, class, and type, and with the specified list of rdatas in text format.
source code
 
from_text(name, ttl, rdclass, rdtype, *text_rdatas)
Create an RRset with the specified name, TTL, class, and type and with the specified rdatas in text format.
source code
 
from_rdata_list(name, ttl, rdatas, idna_codec=None)
Create an RRset with the specified name and TTL, and with the specified list of rdata objects.
source code
 
from_rdata(name, ttl, *rdatas)
Create an RRset with the specified name and TTL, and with the specified rdata objects.
source code
Variables [hide private]
  __package__ = 'dns'
Function Details [hide private]

from_text_list(name, ttl, rdclass, rdtype, text_rdatas, idna_codec=None)

source code 

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

Returns a ``dns.rrset.RRset`` object.

from_text(name, ttl, rdclass, rdtype, *text_rdatas)

source code 

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

Returns a ``dns.rrset.RRset`` object.

from_rdata_list(name, ttl, rdatas, idna_codec=None)

source code 

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

Returns a ``dns.rrset.RRset`` object.

from_rdata(name, ttl, *rdatas)

source code 

Create an RRset with the specified name and TTL, and with the specified rdata objects.

Returns a ``dns.rrset.RRset`` object.