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

Public Member Functions

 __init__ (self, str name='@', str ttl=3600, str target='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
 
 host = host
 
 data = 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
 

Constructor & Destructor Documentation

◆ __init__()

main.NS.__init__ ( self,
str name = '@',
str ttl = 3600,
str target = 'example.com' )

Member Data Documentation

◆ data

main.NS.data = target

◆ host

main.NS.host = host

◆ name

main.NS.name = name

◆ rtype

str main.NS.rtype = 'MX'

◆ ttl

main.NS.ttl = ttl

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