DNScode 0.1.9
Simplifying DNS configuration
Loading...
Searching...
No Matches
main.CNAME Class Reference
Inheritance diagram for main.CNAME:
main.Record

Public Member Functions

 __init__ (self, str name='@', str ttl=3600, str target='0.0.0.0')
 
- Public Member Functions inherited from main.Record
 __int__ (self, str name='@', str ttl=3600, str rtype='A', str data='0.0.0.0')
 
 __str__ (self)
 

Public Attributes

str rtype = 'CNAME'
 
 name = name
 
 ttl = ttl
 
 target = target
 

Additional Inherited Members

- Static Public Attributes inherited from main.Record
str rclass = 'IN'
 
str rtype = 'A'
 
str name = '@'
 
str data = '0.0.0.0'
 
int ttl = 6400
 

Constructor & Destructor Documentation

◆ __init__()

main.CNAME.__init__ ( self,
str name = '@',
str ttl = 3600,
str target = '0.0.0.0' )

Member Data Documentation

◆ name

main.CNAME.name = name

◆ rtype

str main.CNAME.rtype = 'CNAME'

◆ target

main.CNAME.target = target

◆ ttl

main.CNAME.ttl = ttl

The documentation for this class was generated from the following file: