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

Public Member Functions

 __init__ (self, str name='@', int ttl=3600, int priority=10, str host='example.com')
 
- Public Member Functions inherited from dnscode.dnscode.Record
 __str__ (self)
 

Public Attributes

 priority = priority
 
 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
 

Detailed Description

Represents an 'MX' (Mail Exchange) record.

Constructor & Destructor Documentation

◆ __init__()

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

Member Data Documentation

◆ host

dnscode.dnscode.MX.host = host

◆ priority

dnscode.dnscode.MX.priority = priority

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