DNScode 0.1.9
Simplifying DNS configuration
Loading...
Searching...
No Matches
main.SRV Class Reference
Inheritance diagram for main.SRV:
main.Record

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
 

Member Function Documentation

◆ __int__()

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.

Member Data Documentation

◆ data

str main.SRV.data = "{priority} {weight} {port} {target}"

◆ name

str main.SRV.name = '_{service}._{protocol}.name'

◆ port

main.SRV.port = port

◆ priority

main.SRV.priority = priority

◆ protocol

main.SRV.protocol = protocol

◆ rtype

str main.SRV.rtype = 'PTR'

◆ service

main.SRV.service = service

◆ target

main.SRV.target = target

◆ ttl

main.SRV.ttl = ttl

◆ weight

main.SRV.weight = weight

The documentation for this class was generated from the following file: