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

Public Member Functions

 __init__ (self, str name='@', str ttl=3600, int priority='10', str host='example.com')
 
- Public Member Functions inherited from main.Record
 __int__ (self, str name='@', str ttl=3600, str rtype='A', str data='0.0.0.0')
 
 __str__ (self)
 

Public Attributes

str rtype = 'MX'
 
 name = name
 
 ttl = ttl
 
 priority = priority
 
str data = "{ttl} {priority}"
 
 host = host
 

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
 

Constructor & Destructor Documentation

◆ __init__()

main.MX.__init__ ( self,
str name = '@',
str ttl = 3600,
int priority = '10',
str host = 'example.com' )

Member Data Documentation

◆ data

str main.MX.data = "{ttl} {priority}"

◆ host

main.MX.host = host

◆ name

main.MX.name = name

◆ priority

main.MX.priority = priority

◆ rtype

str main.MX.rtype = 'MX'

◆ ttl

main.MX.ttl = ttl

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