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

Public Member Functions

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

Public Attributes

str rtype = 'NS'
 
 name = name
 
 ttl = ttl
 
 host = target
 
 data = 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 'NS' (Name Server) record.

Constructor & Destructor Documentation

◆ __init__()

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

Member Data Documentation

◆ data

dnscode.dnscode.NS.data = host

◆ host

dnscode.dnscode.NS.host = target

◆ name

dnscode.dnscode.NS.name = name

◆ rtype

str dnscode.dnscode.NS.rtype = 'NS'

◆ ttl

dnscode.dnscode.NS.ttl = ttl

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