DNScode 1.4.1
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 = 'NS' |
name = name | |
ttl = ttl | |
host = target | |
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 an 'NS' (Name Server) record.
dnscode.dnscode.NS.__init__ | ( | self, | |
str | name = '@', | ||
int | ttl = 3600, | ||
str | host = 'example.com' ) |
dnscode.dnscode.NS.data = host |
dnscode.dnscode.NS.host = target |
dnscode.dnscode.NS.name = name |
str dnscode.dnscode.NS.rtype = 'NS' |
dnscode.dnscode.NS.ttl = ttl |