DNScode 0.1.9
Simplifying DNS configuration
|
Public Member Functions | |
__init__ (self, str name='@', int ttl=3600, str host='example.com') | |
Public Member Functions inherited from dnscode.dnscode.Record | |
__str__ (self) | |
Public Attributes | |
str | rtype = 'CNAME' |
name = str(name) | |
ttl = ttl | |
data = host | |
Additional Inherited Members | |
Static Public Attributes inherited from dnscode.dnscode.Record | |
str | rclass = 'IN' |
str | rtype = 'A' |
str | name = '@' |
str | data = '0.0.0.0' |
int | ttl = 3600 |
Represents a 'CNAME' (Canonical Name) record.
dnscode.dnscode.CNAME.__init__ | ( | self, | |
str | name = '@', | ||
int | ttl = 3600, | ||
str | host = 'example.com' ) |
dnscode.dnscode.CNAME.data = host |
dnscode.dnscode.CNAME.name = str(name) |
str dnscode.dnscode.CNAME.rtype = 'CNAME' |
dnscode.dnscode.CNAME.ttl = ttl |