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

Public Member Functions

 __init__ (self, str mname='ns1.example.com', str rname='admin.example.com', int serial=int(time.time()), int refresh=86400, int retry=7200, int expire=15552000, int ttl=21700)
 
 __str__ (self)
 
- Public Member Functions inherited from main.Record
 __int__ (self, str name='@', str ttl=3600, str rtype='A', str data='0.0.0.0')
 

Public Attributes

 name
 

Static Public Attributes

str mname = 'ns1.example.com'
 
str rname = 'admin.example.com'
 
int serial = int(time.time())
 
int refresh = 86400
 
int retry = 7200
 
int expire = 15552000
 
int ttl = 21700
 
- 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.SOA.__init__ ( self,
str mname = 'ns1.example.com',
str rname = 'admin.example.com',
int serial = int(time.time()),
int refresh = 86400,
int retry = 7200,
int expire = 15552000,
int ttl = 21700 )

Member Function Documentation

◆ __str__()

main.SOA.__str__ ( self)

Reimplemented from main.Record.

Member Data Documentation

◆ expire

int main.SOA.expire = 15552000
static

◆ mname

str main.SOA.mname = 'ns1.example.com'
static

◆ name

main.SOA.name

◆ refresh

int main.SOA.refresh = 86400
static

◆ retry

int main.SOA.retry = 7200
static

◆ rname

str main.SOA.rname = 'admin.example.com'
static

◆ serial

int main.SOA.serial = int(time.time())
static

◆ ttl

main.SOA.ttl = 21700
static

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