DNScode 0.1.9
Simplifying DNS configuration
|
Base Classes. More...
Public Member Functions | |
__int__ (self, str name='@', str ttl=3600, str rtype='A', str data='0.0.0.0') | |
__str__ (self) | |
Static Public Attributes | |
str | rclass = 'IN' |
str | rtype = 'A' |
str | name = '@' |
str | data = '0.0.0.0' |
int | ttl = 6400 |
Base Classes.
Base object to store records as.
main.Record.__int__ | ( | self, | |
str | name = '@', | ||
str | ttl = 3600, | ||
str | rtype = 'A', | ||
str | data = '0.0.0.0' ) |
Initalize object with values from arguments. Arguments: name = Record name. ttl = How long the record is valid for. rtype = Record Type data = Value to store in the dns record.
main.Record.__str__ | ( | self | ) |
Reimplemented in main.SOA.
|
static |
|
static |
|
static |
|
static |
|
static |