DNScode 0.1.9
Simplifying DNS configuration
|
Public Member Functions | |
__int__ (self, str name='@', str ttl=3600, str service="service", str protocol='proto', int priority=10, int weight=10, int port=0, str target='example.com') | |
Public Member Functions inherited from main.Record | |
__str__ (self) | |
Public Attributes | |
str | rtype = 'PTR' |
str | name = '_{service}._{protocol}.name' |
ttl = ttl | |
service = service | |
protocol = protocol | |
priority = priority | |
weight = weight | |
port = port | |
target = target | |
str | data = "{priority} {weight} {port} {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 |
main.SRV.__int__ | ( | self, | |
str | name = '@', | ||
str | ttl = 3600, | ||
str | service = "service", | ||
str | protocol = 'proto', | ||
int | priority = 10, | ||
int | weight = 10, | ||
int | port = 0, | ||
str | target = 'example.com' ) |
Reimplemented from main.Record.
main.SRV.port = port |
main.SRV.priority = priority |
main.SRV.protocol = protocol |
str main.SRV.rtype = 'PTR' |
main.SRV.service = service |
main.SRV.target = target |
main.SRV.ttl = ttl |
main.SRV.weight = weight |