|
DNScode 1.6.4
Simplifying DNS configuration
|
Public Member Functions | |
| __init__ (self, str name='@', int ttl=3600, str service="service", str protocol='proto', int priority=10, int weight=10, int port=0, str host='example.com') | |
Public Member Functions inherited from dnscode.dnscode.Record | |
| __str__ (self) | |
Public Attributes | |
| service = service | |
| protocol = protocol | |
| priority = priority | |
| weight = weight | |
| port = port | |
| host = 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 'SRV' (Service) record.
| dnscode.dnscode.SRV.__init__ | ( | self, | |
| str | name = '@', | ||
| int | ttl = 3600, | ||
| str | service = "service", | ||
| str | protocol = 'proto', | ||
| int | priority = 10, | ||
| int | weight = 10, | ||
| int | port = 0, | ||
| str | host = 'example.com' ) |
| dnscode.dnscode.SRV.host = host |
| dnscode.dnscode.SRV.port = port |
| dnscode.dnscode.SRV.priority = priority |
| dnscode.dnscode.SRV.protocol = protocol |
| dnscode.dnscode.SRV.service = service |
| dnscode.dnscode.SRV.weight = weight |