diff --git a/.gitignore b/.gitignore index c18dd8d..670a936 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ __pycache__/ +.venv/ diff --git a/docs/html/annotated.html b/docs/html/annotated.html index a8f7fc0..c69993a 100644 --- a/docs/html/annotated.html +++ b/docs/html/annotated.html @@ -103,13 +103,15 @@ $(function(){initNavTree('annotated.html',''); initResizable(true); });
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 12]
- + - - - - + + + + + +
 Nmain
 CARecord Classes
 CA
 CAAAA
 CCNAME
 CInvaliadDataExceptionExceptions
 CRecordBase Classes
 CSOA
 CZone
 CInvaliadDataException
 CMX
 CPTR
 CRecord
 CSOA
 CZone
diff --git a/docs/html/annotated_dup.js b/docs/html/annotated_dup.js index b759247..f3860b9 100644 --- a/docs/html/annotated_dup.js +++ b/docs/html/annotated_dup.js @@ -5,6 +5,8 @@ var annotated_dup = [ "AAAA", "classmain_1_1AAAA.html", "classmain_1_1AAAA" ], [ "CNAME", "classmain_1_1CNAME.html", "classmain_1_1CNAME" ], [ "InvaliadDataException", "classmain_1_1InvaliadDataException.html", "classmain_1_1InvaliadDataException" ], + [ "MX", "classmain_1_1MX.html", "classmain_1_1MX" ], + [ "PTR", "classmain_1_1PTR.html", "classmain_1_1PTR" ], [ "Record", "classmain_1_1Record.html", "classmain_1_1Record" ], [ "SOA", "classmain_1_1SOA.html", "classmain_1_1SOA" ], [ "Zone", "classmain_1_1Zone.html", "classmain_1_1Zone" ] diff --git a/docs/html/classes.html b/docs/html/classes.html index 51ce096..e6c0104 100644 --- a/docs/html/classes.html +++ b/docs/html/classes.html @@ -100,7 +100,7 @@ $(function(){initNavTree('classes.html',''); initResizable(true); });
Class Index
-
A | C | I | R | S | Z
+
A | C | I | M | P | R | S | Z
A
@@ -112,6 +112,12 @@ $(function(){initNavTree('classes.html',''); initResizable(true); });
I
InvaliadDataException (main)
+
M
+
MX (main)
+
+
P
+
PTR (main)
+
R
Record (main)
diff --git a/docs/html/classmain_1_1A-members.html b/docs/html/classmain_1_1A-members.html index 3ad6d17..8586f8e 100644 --- a/docs/html/classmain_1_1A-members.html +++ b/docs/html/classmain_1_1A-members.html @@ -106,8 +106,7 @@ $(function(){initNavTree('classmain_1_1A.html',''); initResizable(true); }); __init__(self, str name='@', str ttl=3600, str data='0.0.0.0')main.A datamain.A namemain.A - rtypemain.A - ttlmain.A + ttlmain.A
diff --git a/docs/html/classmain_1_1A.html b/docs/html/classmain_1_1A.html index 1d24d07..78c2242 100644 --- a/docs/html/classmain_1_1A.html +++ b/docs/html/classmain_1_1A.html @@ -104,16 +104,13 @@ $(function(){initNavTree('classmain_1_1A.html',''); initResizable(true); });
main.A Class Reference
- -

Record Classes. - More...

Inheritance diagram for main.A:
-main.Record +main.Record
@@ -131,8 +128,6 @@ Public Member Functions Public Attributes - - @@ -152,9 +147,7 @@ Additional Inherited Members
 data = data
 
str rtype = 'A'
 
 name = name
 
 ttl = ttl
int ttl = 6400
 
-

Detailed Description

-

Record Classes.

-

Constructor & Destructor Documentation

+

Constructor & Destructor Documentation

◆ __init__()

@@ -213,20 +206,6 @@ Additional Inherited Members
-
- - -

◆ rtype

- -
-
- - - - -
str main.A.rtype = 'A'
-
-
diff --git a/docs/html/classmain_1_1A.js b/docs/html/classmain_1_1A.js index d16bfd4..e1afddb 100644 --- a/docs/html/classmain_1_1A.js +++ b/docs/html/classmain_1_1A.js @@ -3,6 +3,5 @@ var classmain_1_1A = [ "__init__", "classmain_1_1A.html#ab4898488bf29cd0536b3ea642dabf031", null ], [ "data", "classmain_1_1A.html#a49dcc0851eaca5e0e12c1f853d477d4b", null ], [ "name", "classmain_1_1A.html#a3d96c7e97ae6616eaadcbd8d550e3055", null ], - [ "rtype", "classmain_1_1A.html#a8c19478f9174b5ced5f4c91d44ac2a98", null ], [ "ttl", "classmain_1_1A.html#a50368cc9e8418d2459bf9c33e937442b", null ] ]; \ No newline at end of file diff --git a/docs/html/classmain_1_1AAAA.html b/docs/html/classmain_1_1AAAA.html index 19f4506..c5c26e6 100644 --- a/docs/html/classmain_1_1AAAA.html +++ b/docs/html/classmain_1_1AAAA.html @@ -110,7 +110,7 @@ Inheritance diagram for main.AAAA:
-main.Record +main.Record
diff --git a/docs/html/classmain_1_1CNAME-members.html b/docs/html/classmain_1_1CNAME-members.html index eac5e14..2552317 100644 --- a/docs/html/classmain_1_1CNAME-members.html +++ b/docs/html/classmain_1_1CNAME-members.html @@ -103,10 +103,10 @@ $(function(){initNavTree('classmain_1_1CNAME.html',''); initResizable(true); });

This is the complete list of members for main.CNAME, including all inherited members.

- - - - + + + +
__init__(self, str name='@', str ttl=3600, str data='example.com')main.CNAME
datamain.CNAME
namemain.CNAME
rtypemain.CNAME
__init__(self, str name='@', str ttl=3600, str target='0.0.0.0')main.CNAME
namemain.CNAME
rtypemain.CNAME
targetmain.CNAME
ttlmain.CNAME
diff --git a/docs/html/classmain_1_1CNAME.html b/docs/html/classmain_1_1CNAME.html index 5a2cde1..a51921d 100644 --- a/docs/html/classmain_1_1CNAME.html +++ b/docs/html/classmain_1_1CNAME.html @@ -110,14 +110,14 @@ Inheritance diagram for main.CNAME:
-main.Record +main.Record
- - + + @@ -132,8 +132,8 @@ Public Attributes - - + +

Public Member Functions

 __init__ (self, str name='@', str ttl=3600, str data='example.com')
 
 __init__ (self, str name='@', str ttl=3600, str target='0.0.0.0')
 
- Public Member Functions inherited from main.Record
 __int__ (self, str name='@', str ttl=3600, str rtype='A', str data='0.0.0.0')
 
 
 ttl = ttl
 
 data = data
 
 target = target
 
@@ -150,8 +150,8 @@ Additional Inherited Members

Additional Inherited Members

 

Constructor & Destructor Documentation

- -

◆ __init__()

+ +

◆ __init__()

@@ -174,7 +174,7 @@ Additional Inherited Members - str data = 'example.com' ) + str target = '0.0.0.0' )
@@ -182,20 +182,6 @@ Additional Inherited Members

Member Data Documentation

- -

◆ data

- -
-
- - - - -
main.CNAME.data = data
-
- -
-

◆ name

@@ -222,6 +208,20 @@ Additional Inherited Members
+
+ + +

◆ target

+ +
+
+ + + + +
main.CNAME.target = target
+
+
diff --git a/docs/html/classmain_1_1CNAME.js b/docs/html/classmain_1_1CNAME.js index aec3bb3..c9d88ca 100644 --- a/docs/html/classmain_1_1CNAME.js +++ b/docs/html/classmain_1_1CNAME.js @@ -1,8 +1,8 @@ var classmain_1_1CNAME = [ - [ "__init__", "classmain_1_1CNAME.html#a80f824d87d1402ac8633b55867ce7d77", null ], - [ "data", "classmain_1_1CNAME.html#a47418bc2721db57dafbd8f6df90e4136", null ], + [ "__init__", "classmain_1_1CNAME.html#abc35469de414c93891510138a400e62d", null ], [ "name", "classmain_1_1CNAME.html#a073737e65984421d4506bdd94e3fa775", null ], [ "rtype", "classmain_1_1CNAME.html#ab87cf44e0772759e53462ac5f1135ec8", null ], + [ "target", "classmain_1_1CNAME.html#a8cb88299bbd8528992ba363dd19b3596", null ], [ "ttl", "classmain_1_1CNAME.html#a77152b72a6122dc92b211e506f6a68c2", null ] ]; \ No newline at end of file diff --git a/docs/html/classmain_1_1InvaliadDataException.html b/docs/html/classmain_1_1InvaliadDataException.html index 34cba5c..bd318bd 100644 --- a/docs/html/classmain_1_1InvaliadDataException.html +++ b/docs/html/classmain_1_1InvaliadDataException.html @@ -104,9 +104,6 @@ $(function(){initNavTree('classmain_1_1InvaliadDataException.html',''); initResi
main.InvaliadDataException Class Reference
- -

Exceptions. - More...

Inheritance diagram for main.InvaliadDataException:
@@ -125,8 +122,7 @@ Public Attributes  

Detailed Description

-

Exceptions.

-
Exception raied when invaliad data is passed to a record.

Constructor & Destructor Documentation

+
Exception raied when invaliad data is passed to a record

Constructor & Destructor Documentation

◆ __init__()

diff --git a/docs/html/classmain_1_1MX-members.html b/docs/html/classmain_1_1MX-members.html new file mode 100644 index 0000000..095f924 --- /dev/null +++ b/docs/html/classmain_1_1MX-members.html @@ -0,0 +1,121 @@ + + + + + + + +DNScode: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
DNScode 0.1.9 +
+
Simplifying DNS configuration
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
main.MX Member List
+
+
+ +

This is the complete list of members for main.MX, including all inherited members.

+ + + + + + + +
__init__(self, str name='@', str ttl=3600, int priority='10', str host='example.com')main.MX
hostmain.MX
namemain.MX
prioritymain.MX
rtypemain.MX
ttlmain.MX
+
+ + + + diff --git a/docs/html/classmain_1_1MX.html b/docs/html/classmain_1_1MX.html new file mode 100644 index 0000000..d1abec7 --- /dev/null +++ b/docs/html/classmain_1_1MX.html @@ -0,0 +1,275 @@ + + + + + + + +DNScode: main.MX Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
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
 
 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

+ +

◆ 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: +
+
+ + + + diff --git a/docs/html/classmain_1_1MX.js b/docs/html/classmain_1_1MX.js new file mode 100644 index 0000000..c300c45 --- /dev/null +++ b/docs/html/classmain_1_1MX.js @@ -0,0 +1,9 @@ +var classmain_1_1MX = +[ + [ "__init__", "classmain_1_1MX.html#a7f518af5dee9bfc1ba63171fcdcbc543", null ], + [ "host", "classmain_1_1MX.html#a9aa6ba11c15ae03c5e62c6d2807df449", null ], + [ "name", "classmain_1_1MX.html#a45877922fcfbb9eb8db97c5a19898b50", null ], + [ "priority", "classmain_1_1MX.html#aabfacc68cd3bbefe829fdefdadc5c29e", null ], + [ "rtype", "classmain_1_1MX.html#afb145276448c3fa3c463fdc37c4a54fb", null ], + [ "ttl", "classmain_1_1MX.html#a9a5bef33c7f5ca794e6f0380354c8d8d", null ] +]; \ No newline at end of file diff --git a/docs/html/classmain_1_1MX.png b/docs/html/classmain_1_1MX.png new file mode 100644 index 0000000..a00fe94 Binary files /dev/null and b/docs/html/classmain_1_1MX.png differ diff --git a/docs/html/classmain_1_1PTR-members.html b/docs/html/classmain_1_1PTR-members.html new file mode 100644 index 0000000..6297532 --- /dev/null +++ b/docs/html/classmain_1_1PTR-members.html @@ -0,0 +1,120 @@ + + + + + + + +DNScode: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
DNScode 0.1.9 +
+
Simplifying DNS configuration
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
main.PTR Member List
+
+
+ +

This is the complete list of members for main.PTR, including all inherited members.

+ + + + + + +
__init__(self, str name='@', str ttl=3600, str host='0.0.0.0')main.PTR
hostmain.PTR
namemain.PTR
rtypemain.PTR
ttlmain.PTR
+
+ + + + diff --git a/docs/html/classmain_1_1PTR.html b/docs/html/classmain_1_1PTR.html new file mode 100644 index 0000000..7dcd245 --- /dev/null +++ b/docs/html/classmain_1_1PTR.html @@ -0,0 +1,254 @@ + + + + + + + +DNScode: main.PTR Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
DNScode 0.1.9 +
+
Simplifying DNS configuration
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
main.PTR Class Reference
+
+
+
+Inheritance diagram for main.PTR:
+
+
+ + +main.Record + +
+ + + + + + + + + +

+Public Member Functions

 __init__ (self, str name='@', str ttl=3600, str host='0.0.0.0')
 
- 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 = 'PTR'
 
 name = name
 
 ttl = ttl
 
 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.PTR.__init__ ( self,
str name = '@',
str ttl = 3600,
str host = '0.0.0.0' )
+
+ +
+
+

Member Data Documentation

+ +

◆ host

+ +
+
+ + + + +
main.PTR.host = host
+
+ +
+
+ +

◆ name

+ +
+
+ + + + +
main.PTR.name = name
+
+ +
+
+ +

◆ rtype

+ +
+
+ + + + +
str main.PTR.rtype = 'PTR'
+
+ +
+
+ +

◆ ttl

+ +
+
+ + + + +
main.PTR.ttl = ttl
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classmain_1_1PTR.js b/docs/html/classmain_1_1PTR.js new file mode 100644 index 0000000..5037f6f --- /dev/null +++ b/docs/html/classmain_1_1PTR.js @@ -0,0 +1,8 @@ +var classmain_1_1PTR = +[ + [ "__init__", "classmain_1_1PTR.html#ad5d2bb05a7cdde0a34dc10fdf18b631b", null ], + [ "host", "classmain_1_1PTR.html#ae1c47610c8f981d3c3f83e2131c1c380", null ], + [ "name", "classmain_1_1PTR.html#ae8467bcf62542c64fb2325ed30d8c382", null ], + [ "rtype", "classmain_1_1PTR.html#a02d36b3675fe8bb082030b39b82e25dc", null ], + [ "ttl", "classmain_1_1PTR.html#a8aa86cc467e43561451987d8c6116dfb", null ] +]; \ No newline at end of file diff --git a/docs/html/classmain_1_1PTR.png b/docs/html/classmain_1_1PTR.png new file mode 100644 index 0000000..139a3ac Binary files /dev/null and b/docs/html/classmain_1_1PTR.png differ diff --git a/docs/html/classmain_1_1Record.html b/docs/html/classmain_1_1Record.html index 3ce70fc..dfa743b 100644 --- a/docs/html/classmain_1_1Record.html +++ b/docs/html/classmain_1_1Record.html @@ -104,19 +104,18 @@ $(function(){initNavTree('classmain_1_1Record.html',''); initResizable(true); })
main.Record Class Reference
- -

Base Classes. - More...

Inheritance diagram for main.Record:
-main.A +main.A main.AAAA main.CNAME -main.SOA +main.MX +main.PTR +main.SOA
@@ -140,9 +139,7 @@ Static Public Attributes
int ttl = 6400
 
-

Detailed Description

-

Base Classes.

-
Base object to store records as.

Member Function Documentation

+

Member Function Documentation

◆ __int__()

@@ -176,13 +173,7 @@ Static Public Attributes
-
Initalize object with values from arguments.
 
-        Arguments:
-        name    = Record name.
-        ttl     = How long the record is valid for.
-        rtype   = Record Type
-        data    = Value to store in the dns record.
diff --git a/docs/html/classmain_1_1Record.png b/docs/html/classmain_1_1Record.png index 7b12e4c..dc22b8c 100644 Binary files a/docs/html/classmain_1_1Record.png and b/docs/html/classmain_1_1Record.png differ diff --git a/docs/html/classmain_1_1SOA.html b/docs/html/classmain_1_1SOA.html index 6ad7302..8d11477 100644 --- a/docs/html/classmain_1_1SOA.html +++ b/docs/html/classmain_1_1SOA.html @@ -111,7 +111,7 @@ Inheritance diagram for main.SOA:
-main.Record +main.Record
diff --git a/docs/html/doxygen_crawl.html b/docs/html/doxygen_crawl.html index 1b3ff47..0a5af19 100644 --- a/docs/html/doxygen_crawl.html +++ b/docs/html/doxygen_crawl.html @@ -10,7 +10,6 @@ - @@ -20,6 +19,10 @@ + + + + @@ -27,7 +30,6 @@ - @@ -49,6 +51,8 @@ + + @@ -60,6 +64,8 @@ + + @@ -67,7 +73,6 @@ - @@ -77,13 +82,26 @@ - - + + + + + + + + + + + + + + + @@ -126,11 +144,9 @@ - - diff --git a/docs/html/files.html b/docs/html/files.html index 1407655..d2cf71d 100644 --- a/docs/html/files.html +++ b/docs/html/files.html @@ -104,7 +104,6 @@ $(function(){initNavTree('files.html',''); initResizable(true); });
-
 main.py
 test.py
 zone.py
diff --git a/docs/html/files_dup.js b/docs/html/files_dup.js index 91c2c26..ceb0e9c 100644 --- a/docs/html/files_dup.js +++ b/docs/html/files_dup.js @@ -1,6 +1,5 @@ var files_dup = [ [ "main.py", "main_8py.html", "main_8py" ], - [ "test.py", "test_8py.html", "test_8py" ], - [ "zone.py", "zone_8py.html", null ] + [ "test.py", "test_8py.html", "test_8py" ] ]; \ No newline at end of file diff --git a/docs/html/functions.html b/docs/html/functions.html index 6340a4f..a2c7408 100644 --- a/docs/html/functions.html +++ b/docs/html/functions.html @@ -100,7 +100,7 @@ $(function(){initNavTree('functions.html',''); initResizable(true); });
Here is a list of all class members with links to the classes they belong to:

- _ -

@@ -112,7 +112,7 @@ $(function(){initNavTree('functions.html',''); initResizable(true); });

- d -

@@ -121,6 +121,11 @@ $(function(){initNavTree('functions.html',''); initResizable(true); }); +

- h -

+ +

- m -