dnspython  1.16.0
About: dnspython is a DNS toolkit (for Python 2.x) that supports almost all record types.
  Fossies Dox: dnspython-1.16.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

dns.rdataset Namespace Reference

Classes

class  DifferingCovers
 
class  IncompatibleTypes
 
class  Rdataset
 

Functions

def from_text_list (rdclass, rdtype, ttl, text_rdatas)
 
def from_text (rdclass, rdtype, ttl, *text_rdatas)
 
def from_rdata_list (ttl, rdatas)
 
def from_rdata (ttl, *rdatas)
 

Variables

 SimpleSet = dns.set.Set
 

Function Documentation

◆ from_rdata()

def dns.rdataset.from_rdata (   ttl,
rdatas 
)
Create an rdataset with the specified TTL, and with
the specified rdata objects.

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

Definition at line 340 of file rdataset.py.

References dns.rdataset.from_rdata_list().

◆ from_rdata_list()

def dns.rdataset.from_rdata_list (   ttl,
  rdatas 
)
Create an rdataset with the specified TTL, and with
the specified list of rdata objects.

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

Definition at line 322 of file rdataset.py.

Referenced by dns.rdataset.from_rdata(), and dns.rrset.RRset.to_rdataset().

◆ from_text()

def dns.rdataset.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.

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

Definition at line 312 of file rdataset.py.

References dns.rdataset.from_text_list().

◆ from_text_list()

def dns.rdataset.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.

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

Definition at line 293 of file rdataset.py.

References dns.rdataclass.from_text(), dns.rdatatype.from_text(), and dns.rdata.from_text().

Referenced by dns.rdataset.from_text().

Variable Documentation

◆ SimpleSet

dns.rdataset.SimpleSet = dns.set.Set

Definition at line 32 of file rdataset.py.