From f8275b65bb52ea069270bde8ba224b7ba1109bf6 Mon Sep 17 00:00:00 2001 From: "minecraftchest1@outlook.com" Date: Wed, 12 Feb 2025 10:32:25 -0600 Subject: [PATCH] V1.5.0: Add TXT record object. --- docs/html/annotated.html | 3 +- docs/html/annotated_dup.js | 1 + .../classdnscode_1_1dnscode_1_1Record.html | 1 + .../classdnscode_1_1dnscode_1_1Record.png | Bin 3162 -> 3507 bytes ...lassdnscode_1_1dnscode_1_1TXT-members.html | 122 +++++++++ docs/html/classdnscode_1_1dnscode_1_1TXT.html | 255 ++++++++++++++++++ docs/html/classdnscode_1_1dnscode_1_1TXT.js | 8 + docs/html/classdnscode_1_1dnscode_1_1TXT.png | Bin 0 -> 569 bytes ...assdnscode_1_1dnscode_1_1Zone-members.html | 9 +- .../html/classdnscode_1_1dnscode_1_1Zone.html | 33 +++ docs/html/classdnscode_1_1dnscode_1_1Zone.js | 1 + docs/html/classes.html | 5 +- docs/html/dnscode_8py.html | 2 + docs/html/dnscode_8py.js | 1 + docs/html/doxygen_crawl.html | 9 + docs/html/functions.html | 11 +- docs/html/functions_func.html | 3 +- docs/html/functions_vars.html | 8 +- docs/html/hierarchy.html | 3 +- docs/html/hierarchy.js | 3 +- docs/html/index.html | 2 +- docs/html/namespacednscode_1_1dnscode.html | 2 + docs/html/namespacednscode_1_1dnscode.js | 1 + docs/html/navtreeindex0.js | 74 ++--- docs/html/search/all_0.js | 2 +- docs/html/search/all_3.js | 2 +- docs/html/search/all_8.js | 5 +- docs/html/search/all_b.js | 2 +- docs/html/search/all_d.js | 3 +- docs/html/search/classes_8.js | 2 +- docs/html/search/classes_9.js | 4 + docs/html/search/functions_0.js | 2 +- docs/html/search/functions_2.js | 3 +- docs/html/search/searchdata.js | 2 +- docs/html/search/variables_0.js | 2 +- docs/html/search/variables_4.js | 2 +- docs/html/search/variables_7.js | 2 +- docs/html/search/variables_9.js | 2 +- docs/html/sitemap.xml | 6 + pyproject.toml | 2 +- src/dnscode/dnscode.py | 17 ++ 41 files changed, 553 insertions(+), 64 deletions(-) create mode 100644 docs/html/classdnscode_1_1dnscode_1_1TXT-members.html create mode 100644 docs/html/classdnscode_1_1dnscode_1_1TXT.html create mode 100644 docs/html/classdnscode_1_1dnscode_1_1TXT.js create mode 100644 docs/html/classdnscode_1_1dnscode_1_1TXT.png create mode 100644 docs/html/search/classes_9.js diff --git a/docs/html/annotated.html b/docs/html/annotated.html index 7360bee..b7312d4 100644 --- a/docs/html/annotated.html +++ b/docs/html/annotated.html @@ -116,7 +116,8 @@ $(function(){initNavTree('annotated.html',''); initResizable(true); });  CRecord  CSOA  CSRV - CZone + CTXT + CZone diff --git a/docs/html/annotated_dup.js b/docs/html/annotated_dup.js index 7e06716..75cd751 100644 --- a/docs/html/annotated_dup.js +++ b/docs/html/annotated_dup.js @@ -12,6 +12,7 @@ var annotated_dup = [ "Record", "classdnscode_1_1dnscode_1_1Record.html", "classdnscode_1_1dnscode_1_1Record" ], [ "SOA", "classdnscode_1_1dnscode_1_1SOA.html", "classdnscode_1_1dnscode_1_1SOA" ], [ "SRV", "classdnscode_1_1dnscode_1_1SRV.html", "classdnscode_1_1dnscode_1_1SRV" ], + [ "TXT", "classdnscode_1_1dnscode_1_1TXT.html", "classdnscode_1_1dnscode_1_1TXT" ], [ "Zone", "classdnscode_1_1dnscode_1_1Zone.html", "classdnscode_1_1dnscode_1_1Zone" ] ] ] ] ] diff --git a/docs/html/classdnscode_1_1dnscode_1_1Record.html b/docs/html/classdnscode_1_1dnscode_1_1Record.html index 5ee35d3..19aa62d 100644 --- a/docs/html/classdnscode_1_1dnscode_1_1Record.html +++ b/docs/html/classdnscode_1_1dnscode_1_1Record.html @@ -120,6 +120,7 @@ Inheritance diagram for dnscode.dnscode.Record: dnscode.dnscode.PTR dnscode.dnscode.SOA dnscode.dnscode.SRV +dnscode.dnscode.TXT diff --git a/docs/html/classdnscode_1_1dnscode_1_1Record.png b/docs/html/classdnscode_1_1dnscode_1_1Record.png index 9eb9208c6dfb1e533fc86e1dcb38ffc3b578d055..12b046699f531c801e69137a6d06c5316785edc1 100644 GIT binary patch literal 3507 zcmdUyeN<9u9>>w9ooajAIxRVwHQSl(Y|}u66)0$LPSeX`nJ;anWNolzfryFtlD+K2 zHcl|jnaRitHq9idnWLyAC}dQWA~Z4N7>f7;SA2o!3WzA|b*o8Fd*-j*&dmMi`#jG* z=RUvlIlt%oeeSs(#LY9Ny*CYkK+M?k$)+d-!jFhR_|Kj)30`UGV6KN{!H(_G5k8*} z9`^J*j&tt_u`B+PJU>s>V>BA!_0>(W-@)&urbZEWA>jFcp0)n@Kf>P(+p=kWbh_U_ z+dxXiKJny^>Y@s)Z;9dKo$JrrN(1nE?uCkoC776fe?xgIT8^$MTX(U%>^&+kmB8sr7efK2KqcLK%QzzZ#s#*P^4jv-v>m5~peZqj zC(=3Ys?I^rYb|FAsD;AO%^wnf{e3&SxywGW4aAt!*$6VJXSdrqMg)-hHF zQ}5f0XLaIlaP`4p=EFr~j(m8IdcihIjljE#K{sGI`3th|8dwI%n{CTVHX95qZ^@z* zN)82daO6zUJxbA4M3_L)K8Iq0sGSogmxyIIgb7iuD6&*P?01t2o5I0rQ_m zw5mFjJ24YvX*{kvsGdhN;@hrKNUc()#d2daMfT|~$K-K!O{{WlSK!&ibPJ-Q^ug3; z$No>8{ww=mgy%B9f=86!g02F^VhR2rW2A|Xv}tNuNR8IRIT6aSX06gnDHPcmh;90* zzZ}24Kv3qj^Ps*^bl7QV!@-+rGaUV@xRfB-E%D(KCjaFEb0ch-Z%i!ms-wL%g_2G%&=7qnFvh_ZA5#))|OWt%ceNn2l^aY z^=@mXus11|sM~FdJ|FXj(C*`=E1o^}`}^JtbB%iV#NSBqzx#G%9*&(jKOyww(WI1O zS<1xf3hHZi*6AGqTyQNOwWCEu+^H;)ptu#MmltBP`?=BeVTMYlsVpi?rRM=v- z7A2%ranyQ!X~d9{$Cc0fh*_g_s^6uk<(|`_o{=!R4MpHPdQ>bnfrjYqv`+OTv6KZLt*oH;qXzyh5#zQF!WMRtj@=pHVd`w~-thZ!Cz zM22hDdK>Z?){70+t7(z!K0uJiKBG9ilYn8+fgRzTpCe4YJV?NM1OiZG_`jeHUC+PF zV^b)cE2Mj@zAw3K=%a2PPg^12GwqfP0KN)Hqk2c^RU8z`eEnDzPUPgVfUgGOCn!sW~7;?WVD9LPctOl`N5mn zAeq>hk+wim<-1v5(?%74cnuX4*Vj{NprY=CH>qe5z7Lk(4jGmF?6Wn-+9LN#rn3d< zvc_kG^qu2Dh0p3?FNprFnd~bsz>07q+vTkbg|6PtokZQc8Ym*vqQR}4mH^BaoZ nD*=kj-;lm0>{u>Ke3PQmd52JoR~5p)SBNbU#7#Fh>_7c)AVSlW literal 3162 zcmd6qeNfVQ9>>wTY3)IG&ndgoZ0Bb4HaD>_g?ymx^6bIGwnXefv2%mW2Lu#EK(y{+ zyHe(6*ERDe+-?sjreu_zg1W71SOMOxi>4xK3O^O`3BdrTM_0qK5OZu`PnA<1?%|Bv@5LC0}L6GcjbgkgkfZz+)l1HL#F*;5{? z^OTdXV3(KXM}WQ8GIfPXbfp`h8%j!B{{SKjO!B{*1Q)de>H{K;M2kYN;q!~QO}mIv zLte2vI4>K%u+VEQW+bZwXKVq?Pu$vsa&;Jzx*&Tz8(^{k6}lZO{cwvziVWkawfQAv z+0X?f$0E_&)ueo9&LXq z^IKKW?9VxM#-ru9ri@;BKqF81A`_=zUmAL6Jw*jN}C<8>*Ps%q{yd~Nz)QuPWZ?0&u?8oGi zDgapZ6PNejjqqDgYnvvzoIYo66OQ=eFzQ%cbUyZ_n6C#3UKtW_Xi_iVH}BvQb~aqNmYbH0c7!`dIOR>bWK z-D4^Q(0Gj@z$%avRbrAXYa2+D_Jo!9qKH=G$TnM>f`Y&|%>MId3F6*Hx5V?;O0ec7 zL9$&zn4!*_b*BD*p~3VRl)5=F^HIO?(-g}X=wCjDW?6e`Pd1A(w)&o;mS!xH`lWx2Mwbuy{9E+h+1fuL{`U>~Vxsj9P%_fUKEh@Laz{+I&qf z`*#G9K#atl9~dGhhcW4C54w$C)*V9Nf4cwYSz+-*!^s$uG1tb4JlGW!DODz<7=^nyvhwu7wT_N+kF6#`rzCDN%zfXKUV> zYoR|fTmqW>*NVON)(|P82FkK)9p)80to^LMQ}??Wm1nQ901X!}k-;%j0^PB-#Pf)Wiz^OCf=#j{xS^i4ysgKRY`hD@6|~-7N4D>+g}cP1O5`%j84? z&=|KpEZ<~1BfHUQw#0!lN+1CDkyCmQZ69D!FN-AME(`SlS|RG+5O zbf+b$zRfh1uEBDy7HfNLXci32$&(X!y3_O12PU5>CY2<-Ija9ul0xnG&7wawY=$Z> zt@xXFOm?ZBwT8jc+tj$YnO6yG@U#49Zi<%bzDU*&kiwrfCQtO&;mzEU{Z|Mez)rbp2t-sB7}plyQj|kEa9M7F!&Nz}+1$M6C$fBk2;_*T2Zy zkJaHG)}ed7RcYU&m8TZEDkO5@so>TQ8K;q^MVZzCLh1CY3>a5DfM{Zt`7MowSJUBF zN^=H$NmEJ;lnQj04V)W*sAxwkQr3+wjUN?=ZG}OgCbh8VTc~Rp0H|wubK7oZe@@5* zj-U&ut(24(P>CDpt&u}i)tu1#huR-w;S5GrhW@>IEYR^aD+C~Y$Ws6{=24ki*gBwr zGS=s&%G<+w_Wq#SG0LW7%~gx{mPc6(-NG9T>A6Y7Yf9+D!?#xv3WBb8!qGgauPhan zwn#f1>P;S-M(D4mqjt`Fe@{Arcd!aOT))4`jAwwE0$b`-i7#vqt>$BRqBWNjlpcpNxR zj#snjs + + + + + + +DNScode: Member List + + + + + + + + + + + + + + + + + +
+
+
+ + + + + +
+
DNScode 1.4.1 +
+
Simplifying DNS configuration
+
+ + + + + + + + + + +
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
dnscode.dnscode.TXT Member List
+
+
+ +

This is the complete list of members for dnscode.dnscode.TXT, including all inherited members.

+ + + + + + +
__init__(self, str name='@', int ttl=3600, str txt='example.com')dnscode.dnscode.TXT
datadnscode.dnscode.TXT
namednscode.dnscode.TXT
rtypednscode.dnscode.TXT
ttldnscode.dnscode.TXT
+
+ + + + diff --git a/docs/html/classdnscode_1_1dnscode_1_1TXT.html b/docs/html/classdnscode_1_1dnscode_1_1TXT.html new file mode 100644 index 0000000..c75f134 --- /dev/null +++ b/docs/html/classdnscode_1_1dnscode_1_1TXT.html @@ -0,0 +1,255 @@ + + + + + + + +DNScode: dnscode.dnscode.TXT Class Reference + + + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
DNScode 1.4.1 +
+
Simplifying DNS configuration
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
dnscode.dnscode.TXT Class Reference
+
+
+
+Inheritance diagram for dnscode.dnscode.TXT:
+
+
+ + +dnscode.dnscode.Record + +
+ + + + + + + +

+Public Member Functions

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

+Public Attributes

str rtype = 'CNAME'
 
 name = str(name)
 
 ttl = ttl
 
 data = txt
 
+ + + + + + + + + + + + +

+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 a 'CNAME' (Canonical Name) record.

Constructor & Destructor Documentation

+ +

◆ __init__()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + +
dnscode.dnscode.TXT.__init__ ( self,
str name = '@',
int ttl = 3600,
str txt = 'example.com' )
+
+ +
+
+

Member Data Documentation

+ +

◆ data

+ +
+
+ + + + +
dnscode.dnscode.TXT.data = txt
+
+ +
+
+ +

◆ name

+ +
+
+ + + + +
dnscode.dnscode.TXT.name = str(name)
+
+ +
+
+ +

◆ rtype

+ +
+
+ + + + +
str dnscode.dnscode.TXT.rtype = 'CNAME'
+
+ +
+
+ +

◆ ttl

+ +
+
+ + + + +
dnscode.dnscode.TXT.ttl = ttl
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/html/classdnscode_1_1dnscode_1_1TXT.js b/docs/html/classdnscode_1_1dnscode_1_1TXT.js new file mode 100644 index 0000000..dde00cd --- /dev/null +++ b/docs/html/classdnscode_1_1dnscode_1_1TXT.js @@ -0,0 +1,8 @@ +var classdnscode_1_1dnscode_1_1TXT = +[ + [ "__init__", "classdnscode_1_1dnscode_1_1TXT.html#a00bd3fc2d0156b9d48318137ec294255", null ], + [ "data", "classdnscode_1_1dnscode_1_1TXT.html#afa4964ab5586285b6e80af2a4dad4dc0", null ], + [ "name", "classdnscode_1_1dnscode_1_1TXT.html#ad31d74420dc82dd99964f9878cf003f8", null ], + [ "rtype", "classdnscode_1_1dnscode_1_1TXT.html#a79ae2d3a0cd38d2332bc19b9f608a088", null ], + [ "ttl", "classdnscode_1_1dnscode_1_1TXT.html#aa1a7962a740d84279b6a136fb91f57de", null ] +]; \ No newline at end of file diff --git a/docs/html/classdnscode_1_1dnscode_1_1TXT.png b/docs/html/classdnscode_1_1dnscode_1_1TXT.png new file mode 100644 index 0000000000000000000000000000000000000000..8075bc6ee610f90fbc4a226f5d20d4fb5218499e GIT binary patch literal 569 zcmeAS@N?(olHy`uVBq!ia0vp^bAdR3gBeJg^tJZ^Dd_;85ZC|z{{xvX-h3_XKeXJ! zK(jz%`k5CG9y|bwo1P6@0+iz{3GxeO0P?}WoN4wI1_s6>o-U3d6^w7^zCE{CLBge7 zG4t8K^%bQHS*LEb+ILg+=JJmn@;q{16#sV5DV`^mGHK3~4a%PVAlw_PbTYWl_FdYg zU&<$gv-R2UPyBh~?eDA7uPan9-=4a;WCw%f>6Bi#?v{U*DxI5 z|HRagIrG-Lud^cavv#}YCGFk$Ht8%=gZB-_26rOy@&BpQgS;*`sd!EnDx35~5Qq)8 z{m!d-Q)nD4p1OC(maj2ExBtz&`@H7vc4g1IW*fAHqtb)VpYk#HmE7!m^<+fZ>)?AO zx3{eSruCe0IuIs@dCjW?D~xwPgF(=>&q7b~|s R=LAMFgQu&X%Q~loCIA(+B*Xv! literal 0 HcmV?d00001 diff --git a/docs/html/classdnscode_1_1dnscode_1_1Zone-members.html b/docs/html/classdnscode_1_1dnscode_1_1Zone-members.html index c2b41b4..e2bfe41 100644 --- a/docs/html/classdnscode_1_1dnscode_1_1Zone-members.html +++ b/docs/html/classdnscode_1_1dnscode_1_1Zone-members.html @@ -117,10 +117,11 @@ $(function(){initNavTree('classdnscode_1_1dnscode_1_1Zone.html',''); initResizab new_record(self, str name='@', int ttl=3600, str rtype='A', str data='0.0.0.0')dnscode.dnscode.Zone new_SOA(self, str mname='ns1.example.com', str rname='admin.example.com', int serial=int(time.time()), int refresh=86400, int retry=7200, int expire=15552000, int ttl=21700)dnscode.dnscode.Zone new_SRV(self, str name='@', int ttl=3600, str service='service', str protocol='proto', int priority=10, int weight=10, str host='example.com')dnscode.dnscode.Zone - origindnscode.dnscode.Zonestatic - recordsdnscode.dnscode.Zonestatic - recordsdnscode.dnscode.Zone - save_file(self, str filepath)dnscode.dnscode.Zone + new_TXT(self, str name='@', int ttl=3600, str text='example.com')dnscode.dnscode.Zone + origindnscode.dnscode.Zonestatic + recordsdnscode.dnscode.Zonestatic + recordsdnscode.dnscode.Zone + save_file(self, str filepath)dnscode.dnscode.Zone diff --git a/docs/html/classdnscode_1_1dnscode_1_1Zone.html b/docs/html/classdnscode_1_1dnscode_1_1Zone.html index 4a75271..d3c54a4 100644 --- a/docs/html/classdnscode_1_1dnscode_1_1Zone.html +++ b/docs/html/classdnscode_1_1dnscode_1_1Zone.html @@ -130,6 +130,8 @@ Public Member Functions    new_SRV (self, str name='@', int ttl=3600, str service='service', str protocol='proto', int priority=10, int weight=10, str host='example.com')   + new_TXT (self, str name='@', int ttl=3600, str text='example.com') +   new_record (self, str name='@', int ttl=3600, str rtype='A', str data='0.0.0.0')    add (self, Record record) @@ -535,6 +537,37 @@ Static Public Attributes
Creates and adds a new SRV record to the zone.
+ +

◆ new_TXT()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + +
dnscode.dnscode.Zone.new_TXT ( self,
str name = '@',
int ttl = 3600,
str text = 'example.com' )
+
+
Creates and adds a new CNAME record to the zone.
+
+

◆ save_file()

diff --git a/docs/html/classdnscode_1_1dnscode_1_1Zone.js b/docs/html/classdnscode_1_1dnscode_1_1Zone.js index 8bf8ad1..fd3f207 100644 --- a/docs/html/classdnscode_1_1dnscode_1_1Zone.js +++ b/docs/html/classdnscode_1_1dnscode_1_1Zone.js @@ -12,6 +12,7 @@ var classdnscode_1_1dnscode_1_1Zone = [ "new_record", "classdnscode_1_1dnscode_1_1Zone.html#a6ff7d4cb63c08a7d06fc47c341e3bba4", null ], [ "new_SOA", "classdnscode_1_1dnscode_1_1Zone.html#aabed9788e2e4be4c6b0628214492fdbe", null ], [ "new_SRV", "classdnscode_1_1dnscode_1_1Zone.html#aef9ec626cabe184b565418644798e7d4", null ], + [ "new_TXT", "classdnscode_1_1dnscode_1_1Zone.html#a602dd6071a6c3d1017e155c7ca2512a2", null ], [ "save_file", "classdnscode_1_1dnscode_1_1Zone.html#adfe5442ed2137a324f1c5ba676ba2043", null ], [ "records", "classdnscode_1_1dnscode_1_1Zone.html#a1e958c8be9cf4cc7c0f30bd227e15c5a", null ] ]; \ No newline at end of file diff --git a/docs/html/classes.html b/docs/html/classes.html index f0d6f41..2c0fc27 100644 --- a/docs/html/classes.html +++ b/docs/html/classes.html @@ -102,7 +102,7 @@ $(function(){initNavTree('classes.html',''); initResizable(true); });
Class Index
-
A | C | I | M | N | P | R | S | Z
+
A | C | I | M | N | P | R | S | T | Z
A
@@ -129,6 +129,9 @@ $(function(){initNavTree('classes.html',''); initResizable(true); });
S
SOA (dnscode.dnscode)
SRV (dnscode.dnscode)
+
T
+
TXT (dnscode.dnscode)
+
Z
Zone (dnscode.dnscode)
diff --git a/docs/html/dnscode_8py.html b/docs/html/dnscode_8py.html index bfa86f9..910852f 100644 --- a/docs/html/dnscode_8py.html +++ b/docs/html/dnscode_8py.html @@ -128,6 +128,8 @@ Classes   class  dnscode.dnscode.SRV   +class  dnscode.dnscode.TXT +  class  dnscode.dnscode.Zone   diff --git a/docs/html/dnscode_8py.js b/docs/html/dnscode_8py.js index a5163ab..df8ea33 100644 --- a/docs/html/dnscode_8py.js +++ b/docs/html/dnscode_8py.js @@ -10,5 +10,6 @@ var dnscode_8py = [ "dnscode.dnscode.PTR", "classdnscode_1_1dnscode_1_1PTR.html", "classdnscode_1_1dnscode_1_1PTR" ], [ "dnscode.dnscode.SOA", "classdnscode_1_1dnscode_1_1SOA.html", "classdnscode_1_1dnscode_1_1SOA" ], [ "dnscode.dnscode.SRV", "classdnscode_1_1dnscode_1_1SRV.html", "classdnscode_1_1dnscode_1_1SRV" ], + [ "dnscode.dnscode.TXT", "classdnscode_1_1dnscode_1_1TXT.html", "classdnscode_1_1dnscode_1_1TXT" ], [ "dnscode.dnscode.Zone", "classdnscode_1_1dnscode_1_1Zone.html", "classdnscode_1_1dnscode_1_1Zone" ] ]; \ No newline at end of file diff --git a/docs/html/doxygen_crawl.html b/docs/html/doxygen_crawl.html index 3999358..45ec11c 100644 --- a/docs/html/doxygen_crawl.html +++ b/docs/html/doxygen_crawl.html @@ -33,6 +33,8 @@ + + @@ -147,6 +149,12 @@ + + + + + + @@ -155,6 +163,7 @@ + diff --git a/docs/html/functions.html b/docs/html/functions.html index d0e6197..fa08b5f 100644 --- a/docs/html/functions.html +++ b/docs/html/functions.html @@ -102,7 +102,7 @@ $(function(){initNavTree('functions.html',''); initResizable(true); });
Here is a list of all class members with links to the classes they belong to:

- _ -

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

- d -

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

- n -

@@ -166,7 +167,7 @@ $(function(){initNavTree('functions.html',''); initResizable(true); });
  • refresh : dnscode.dnscode.SOA
  • retry : dnscode.dnscode.SOA
  • rname : dnscode.dnscode.SOA
  • -
  • rtype : dnscode.dnscode.A, dnscode.dnscode.AAAA, dnscode.dnscode.CNAME, dnscode.dnscode.MX, dnscode.dnscode.NS, dnscode.dnscode.PTR, dnscode.dnscode.Record, dnscode.dnscode.SOA, dnscode.dnscode.SRV
  • +
  • rtype : dnscode.dnscode.A, dnscode.dnscode.AAAA, dnscode.dnscode.CNAME, dnscode.dnscode.MX, dnscode.dnscode.NS, dnscode.dnscode.PTR, dnscode.dnscode.Record, dnscode.dnscode.SOA, dnscode.dnscode.SRV, dnscode.dnscode.TXT
  • @@ -179,7 +180,7 @@ $(function(){initNavTree('functions.html',''); initResizable(true); });

    - t -

    diff --git a/docs/html/functions_func.html b/docs/html/functions_func.html index 46fe394..44a91e6 100644 --- a/docs/html/functions_func.html +++ b/docs/html/functions_func.html @@ -100,7 +100,7 @@ $(function(){initNavTree('functions_func.html',''); initResizable(true); }); diff --git a/docs/html/functions_vars.html b/docs/html/functions_vars.html index 9c98209..0cc89a7 100644 --- a/docs/html/functions_vars.html +++ b/docs/html/functions_vars.html @@ -102,7 +102,7 @@ $(function(){initNavTree('functions_vars.html',''); initResizable(true); });
    Here is a list of all variables with links to the classes they belong to:

    - d -

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

    - n -

    @@ -145,7 +145,7 @@ $(function(){initNavTree('functions_vars.html',''); initResizable(true); });
  • refresh : dnscode.dnscode.SOA
  • retry : dnscode.dnscode.SOA
  • rname : dnscode.dnscode.SOA
  • -
  • rtype : dnscode.dnscode.A, dnscode.dnscode.AAAA, dnscode.dnscode.CNAME, dnscode.dnscode.MX, dnscode.dnscode.NS, dnscode.dnscode.PTR, dnscode.dnscode.Record, dnscode.dnscode.SOA, dnscode.dnscode.SRV
  • +
  • rtype : dnscode.dnscode.A, dnscode.dnscode.AAAA, dnscode.dnscode.CNAME, dnscode.dnscode.MX, dnscode.dnscode.NS, dnscode.dnscode.PTR, dnscode.dnscode.Record, dnscode.dnscode.SOA, dnscode.dnscode.SRV, dnscode.dnscode.TXT
  • @@ -157,7 +157,7 @@ $(function(){initNavTree('functions_vars.html',''); initResizable(true); });

    - t -

    diff --git a/docs/html/hierarchy.html b/docs/html/hierarchy.html index f463b53..30c96a8 100644 --- a/docs/html/hierarchy.html +++ b/docs/html/hierarchy.html @@ -115,7 +115,8 @@ $(function(){initNavTree('hierarchy.html',''); initResizable(true); }); - + +
     Cdnscode.dnscode.PTR
     Cdnscode.dnscode.SOA
     Cdnscode.dnscode.SRV
     Cdnscode.dnscode.Zone
     Cdnscode.dnscode.TXT
     Cdnscode.dnscode.Zone
    diff --git a/docs/html/hierarchy.js b/docs/html/hierarchy.js index bbc5ad6..140a1d9 100644 --- a/docs/html/hierarchy.js +++ b/docs/html/hierarchy.js @@ -11,7 +11,8 @@ var hierarchy = [ "dnscode.dnscode.NS", "classdnscode_1_1dnscode_1_1NS.html", null ], [ "dnscode.dnscode.PTR", "classdnscode_1_1dnscode_1_1PTR.html", null ], [ "dnscode.dnscode.SOA", "classdnscode_1_1dnscode_1_1SOA.html", null ], - [ "dnscode.dnscode.SRV", "classdnscode_1_1dnscode_1_1SRV.html", null ] + [ "dnscode.dnscode.SRV", "classdnscode_1_1dnscode_1_1SRV.html", null ], + [ "dnscode.dnscode.TXT", "classdnscode_1_1dnscode_1_1TXT.html", null ] ] ], [ "dnscode.dnscode.Zone", "classdnscode_1_1dnscode_1_1Zone.html", null ] ]; \ No newline at end of file diff --git a/docs/html/index.html b/docs/html/index.html index 36d25fb..3a4d431 100644 --- a/docs/html/index.html +++ b/docs/html/index.html @@ -143,7 +143,7 @@ Usage
    zone.save_file('example.zone')
    Definition dnscode.py:82
    -
    Definition dnscode.py:204
    +
    Definition dnscode.py:216
    diff --git a/docs/html/namespacednscode_1_1dnscode.html b/docs/html/namespacednscode_1_1dnscode.html index 7833e9a..6e459a1 100644 --- a/docs/html/namespacednscode_1_1dnscode.html +++ b/docs/html/namespacednscode_1_1dnscode.html @@ -127,6 +127,8 @@ Classes   class  SRV   +class  TXT +  class  Zone   diff --git a/docs/html/namespacednscode_1_1dnscode.js b/docs/html/namespacednscode_1_1dnscode.js index f1a6861..791a017 100644 --- a/docs/html/namespacednscode_1_1dnscode.js +++ b/docs/html/namespacednscode_1_1dnscode.js @@ -10,5 +10,6 @@ var namespacednscode_1_1dnscode = [ "Record", "classdnscode_1_1dnscode_1_1Record.html", "classdnscode_1_1dnscode_1_1Record" ], [ "SOA", "classdnscode_1_1dnscode_1_1SOA.html", "classdnscode_1_1dnscode_1_1SOA" ], [ "SRV", "classdnscode_1_1dnscode_1_1SRV.html", "classdnscode_1_1dnscode_1_1SRV" ], + [ "TXT", "classdnscode_1_1dnscode_1_1TXT.html", "classdnscode_1_1dnscode_1_1TXT" ], [ "Zone", "classdnscode_1_1dnscode_1_1Zone.html", "classdnscode_1_1dnscode_1_1Zone" ] ]; \ No newline at end of file diff --git a/docs/html/navtreeindex0.js b/docs/html/navtreeindex0.js index 011dbf2..c290140 100644 --- a/docs/html/navtreeindex0.js +++ b/docs/html/navtreeindex0.js @@ -138,36 +138,50 @@ var NAVTREEINDEX0 = "classdnscode_1_1dnscode_1_1SRV.html#ab23dad0fbcecfc1c2638e9829840302a":[5,0,0,0,9,2], "classdnscode_1_1dnscode_1_1SRV.html#ab793ceda5d5a11c0030b230a1edfeda5":[4,0,0,0,9,9], "classdnscode_1_1dnscode_1_1SRV.html#ab793ceda5d5a11c0030b230a1edfeda5":[5,0,0,0,9,9], -"classdnscode_1_1dnscode_1_1Zone.html":[4,0,0,0,10], -"classdnscode_1_1dnscode_1_1Zone.html":[5,0,0,0,10], -"classdnscode_1_1dnscode_1_1Zone.html#a1e958c8be9cf4cc7c0f30bd227e15c5a":[4,0,0,0,10,13], -"classdnscode_1_1dnscode_1_1Zone.html#a1e958c8be9cf4cc7c0f30bd227e15c5a":[5,0,0,0,10,13], -"classdnscode_1_1dnscode_1_1Zone.html#a231de844d4fb88390d37a0be6dbc962e":[4,0,0,0,10,3], -"classdnscode_1_1dnscode_1_1Zone.html#a231de844d4fb88390d37a0be6dbc962e":[5,0,0,0,10,3], -"classdnscode_1_1dnscode_1_1Zone.html#a2718e32544f9310ce721bce73082bb97":[4,0,0,0,10,5], -"classdnscode_1_1dnscode_1_1Zone.html#a2718e32544f9310ce721bce73082bb97":[5,0,0,0,10,5], -"classdnscode_1_1dnscode_1_1Zone.html#a31e74a07a8f0b0f95a14662d20f1df8c":[4,0,0,0,10,1], -"classdnscode_1_1dnscode_1_1Zone.html#a31e74a07a8f0b0f95a14662d20f1df8c":[5,0,0,0,10,1], -"classdnscode_1_1dnscode_1_1Zone.html#a338bc686b7c7db2cab7827996a3f23f3":[4,0,0,0,10,2], -"classdnscode_1_1dnscode_1_1Zone.html#a338bc686b7c7db2cab7827996a3f23f3":[5,0,0,0,10,2], -"classdnscode_1_1dnscode_1_1Zone.html#a41dc247963652b15be123b329aeb1bcf":[4,0,0,0,10,6], -"classdnscode_1_1dnscode_1_1Zone.html#a41dc247963652b15be123b329aeb1bcf":[5,0,0,0,10,6], -"classdnscode_1_1dnscode_1_1Zone.html#a579ec534602081efd30fbcbc279bc625":[4,0,0,0,10,8], -"classdnscode_1_1dnscode_1_1Zone.html#a579ec534602081efd30fbcbc279bc625":[5,0,0,0,10,8], -"classdnscode_1_1dnscode_1_1Zone.html#a6ff7d4cb63c08a7d06fc47c341e3bba4":[4,0,0,0,10,9], -"classdnscode_1_1dnscode_1_1Zone.html#a6ff7d4cb63c08a7d06fc47c341e3bba4":[5,0,0,0,10,9], -"classdnscode_1_1dnscode_1_1Zone.html#aabed9788e2e4be4c6b0628214492fdbe":[4,0,0,0,10,10], -"classdnscode_1_1dnscode_1_1Zone.html#aabed9788e2e4be4c6b0628214492fdbe":[5,0,0,0,10,10], -"classdnscode_1_1dnscode_1_1Zone.html#ad696206776c2c68471126d950fa178d1":[4,0,0,0,10,0], -"classdnscode_1_1dnscode_1_1Zone.html#ad696206776c2c68471126d950fa178d1":[5,0,0,0,10,0], -"classdnscode_1_1dnscode_1_1Zone.html#adfe5442ed2137a324f1c5ba676ba2043":[4,0,0,0,10,12], -"classdnscode_1_1dnscode_1_1Zone.html#adfe5442ed2137a324f1c5ba676ba2043":[5,0,0,0,10,12], -"classdnscode_1_1dnscode_1_1Zone.html#ae0a178b817cb174866bb5bb33507cb98":[4,0,0,0,10,7], -"classdnscode_1_1dnscode_1_1Zone.html#ae0a178b817cb174866bb5bb33507cb98":[5,0,0,0,10,7], -"classdnscode_1_1dnscode_1_1Zone.html#aef9ec626cabe184b565418644798e7d4":[4,0,0,0,10,11], -"classdnscode_1_1dnscode_1_1Zone.html#aef9ec626cabe184b565418644798e7d4":[5,0,0,0,10,11], -"classdnscode_1_1dnscode_1_1Zone.html#af16862a7d8680f1eb6ab66a92105301f":[4,0,0,0,10,4], -"classdnscode_1_1dnscode_1_1Zone.html#af16862a7d8680f1eb6ab66a92105301f":[5,0,0,0,10,4], +"classdnscode_1_1dnscode_1_1TXT.html":[4,0,0,0,10], +"classdnscode_1_1dnscode_1_1TXT.html":[5,0,0,0,10], +"classdnscode_1_1dnscode_1_1TXT.html#a00bd3fc2d0156b9d48318137ec294255":[4,0,0,0,10,0], +"classdnscode_1_1dnscode_1_1TXT.html#a00bd3fc2d0156b9d48318137ec294255":[5,0,0,0,10,0], +"classdnscode_1_1dnscode_1_1TXT.html#a79ae2d3a0cd38d2332bc19b9f608a088":[4,0,0,0,10,3], +"classdnscode_1_1dnscode_1_1TXT.html#a79ae2d3a0cd38d2332bc19b9f608a088":[5,0,0,0,10,3], +"classdnscode_1_1dnscode_1_1TXT.html#aa1a7962a740d84279b6a136fb91f57de":[4,0,0,0,10,4], +"classdnscode_1_1dnscode_1_1TXT.html#aa1a7962a740d84279b6a136fb91f57de":[5,0,0,0,10,4], +"classdnscode_1_1dnscode_1_1TXT.html#ad31d74420dc82dd99964f9878cf003f8":[4,0,0,0,10,2], +"classdnscode_1_1dnscode_1_1TXT.html#ad31d74420dc82dd99964f9878cf003f8":[5,0,0,0,10,2], +"classdnscode_1_1dnscode_1_1TXT.html#afa4964ab5586285b6e80af2a4dad4dc0":[4,0,0,0,10,1], +"classdnscode_1_1dnscode_1_1TXT.html#afa4964ab5586285b6e80af2a4dad4dc0":[5,0,0,0,10,1], +"classdnscode_1_1dnscode_1_1Zone.html":[4,0,0,0,11], +"classdnscode_1_1dnscode_1_1Zone.html":[5,0,0,0,11], +"classdnscode_1_1dnscode_1_1Zone.html#a1e958c8be9cf4cc7c0f30bd227e15c5a":[4,0,0,0,11,14], +"classdnscode_1_1dnscode_1_1Zone.html#a1e958c8be9cf4cc7c0f30bd227e15c5a":[5,0,0,0,11,14], +"classdnscode_1_1dnscode_1_1Zone.html#a231de844d4fb88390d37a0be6dbc962e":[4,0,0,0,11,3], +"classdnscode_1_1dnscode_1_1Zone.html#a231de844d4fb88390d37a0be6dbc962e":[5,0,0,0,11,3], +"classdnscode_1_1dnscode_1_1Zone.html#a2718e32544f9310ce721bce73082bb97":[4,0,0,0,11,5], +"classdnscode_1_1dnscode_1_1Zone.html#a2718e32544f9310ce721bce73082bb97":[5,0,0,0,11,5], +"classdnscode_1_1dnscode_1_1Zone.html#a31e74a07a8f0b0f95a14662d20f1df8c":[4,0,0,0,11,1], +"classdnscode_1_1dnscode_1_1Zone.html#a31e74a07a8f0b0f95a14662d20f1df8c":[5,0,0,0,11,1], +"classdnscode_1_1dnscode_1_1Zone.html#a338bc686b7c7db2cab7827996a3f23f3":[4,0,0,0,11,2], +"classdnscode_1_1dnscode_1_1Zone.html#a338bc686b7c7db2cab7827996a3f23f3":[5,0,0,0,11,2], +"classdnscode_1_1dnscode_1_1Zone.html#a41dc247963652b15be123b329aeb1bcf":[4,0,0,0,11,6], +"classdnscode_1_1dnscode_1_1Zone.html#a41dc247963652b15be123b329aeb1bcf":[5,0,0,0,11,6], +"classdnscode_1_1dnscode_1_1Zone.html#a579ec534602081efd30fbcbc279bc625":[4,0,0,0,11,8], +"classdnscode_1_1dnscode_1_1Zone.html#a579ec534602081efd30fbcbc279bc625":[5,0,0,0,11,8], +"classdnscode_1_1dnscode_1_1Zone.html#a602dd6071a6c3d1017e155c7ca2512a2":[4,0,0,0,11,12], +"classdnscode_1_1dnscode_1_1Zone.html#a602dd6071a6c3d1017e155c7ca2512a2":[5,0,0,0,11,12], +"classdnscode_1_1dnscode_1_1Zone.html#a6ff7d4cb63c08a7d06fc47c341e3bba4":[4,0,0,0,11,9], +"classdnscode_1_1dnscode_1_1Zone.html#a6ff7d4cb63c08a7d06fc47c341e3bba4":[5,0,0,0,11,9], +"classdnscode_1_1dnscode_1_1Zone.html#aabed9788e2e4be4c6b0628214492fdbe":[4,0,0,0,11,10], +"classdnscode_1_1dnscode_1_1Zone.html#aabed9788e2e4be4c6b0628214492fdbe":[5,0,0,0,11,10], +"classdnscode_1_1dnscode_1_1Zone.html#ad696206776c2c68471126d950fa178d1":[4,0,0,0,11,0], +"classdnscode_1_1dnscode_1_1Zone.html#ad696206776c2c68471126d950fa178d1":[5,0,0,0,11,0], +"classdnscode_1_1dnscode_1_1Zone.html#adfe5442ed2137a324f1c5ba676ba2043":[4,0,0,0,11,13], +"classdnscode_1_1dnscode_1_1Zone.html#adfe5442ed2137a324f1c5ba676ba2043":[5,0,0,0,11,13], +"classdnscode_1_1dnscode_1_1Zone.html#ae0a178b817cb174866bb5bb33507cb98":[4,0,0,0,11,7], +"classdnscode_1_1dnscode_1_1Zone.html#ae0a178b817cb174866bb5bb33507cb98":[5,0,0,0,11,7], +"classdnscode_1_1dnscode_1_1Zone.html#aef9ec626cabe184b565418644798e7d4":[4,0,0,0,11,11], +"classdnscode_1_1dnscode_1_1Zone.html#aef9ec626cabe184b565418644798e7d4":[5,0,0,0,11,11], +"classdnscode_1_1dnscode_1_1Zone.html#af16862a7d8680f1eb6ab66a92105301f":[4,0,0,0,11,4], +"classdnscode_1_1dnscode_1_1Zone.html#af16862a7d8680f1eb6ab66a92105301f":[5,0,0,0,11,4], "classes.html":[5,1], "dir_68267d1309a1af8e8297ef4c3efbcdba.html":[6,0,0], "dir_9064fec3e9ce615219688699dadf995c.html":[6,0,0,0], diff --git a/docs/html/search/all_0.js b/docs/html/search/all_0.js index bbe0fee..e0261ff 100644 --- a/docs/html/search/all_0.js +++ b/docs/html/search/all_0.js @@ -1,6 +1,6 @@ var searchData= [ - ['_5f_5finit_5f_5f_0',['__init__',['../classdnscode_1_1dnscode_1_1InvalidDataException.html#ae0a05fa4d708dd9eab0c1ead5b2098a8',1,'dnscode.dnscode.InvalidDataException.__init__()'],['../classdnscode_1_1dnscode_1_1A.html#a6ff40033bfd3ae0f293b7e1719e75e71',1,'dnscode.dnscode.A.__init__()'],['../classdnscode_1_1dnscode_1_1AAAA.html#a238b346327f47595ac7246766e987ae6',1,'dnscode.dnscode.AAAA.__init__()'],['../classdnscode_1_1dnscode_1_1CNAME.html#a286b2c39577989c78bb09c23ffcfb4c0',1,'dnscode.dnscode.CNAME.__init__()'],['../classdnscode_1_1dnscode_1_1MX.html#a4dafe8f75646ca4ec6e2ea77a2d838f5',1,'dnscode.dnscode.MX.__init__()'],['../classdnscode_1_1dnscode_1_1NS.html#a30214975313b4fdc1af03b45cc2bd414',1,'dnscode.dnscode.NS.__init__()'],['../classdnscode_1_1dnscode_1_1PTR.html#a97e7c140d6bd930a2611e68753a0d8eb',1,'dnscode.dnscode.PTR.__init__()'],['../classdnscode_1_1dnscode_1_1SOA.html#a3318d09d5bead318b42aa9f939262982',1,'dnscode.dnscode.SOA.__init__()'],['../classdnscode_1_1dnscode_1_1SRV.html#a488bf7130d42c3eb3316cf9903d5454e',1,'dnscode.dnscode.SRV.__init__()']]], + ['_5f_5finit_5f_5f_0',['__init__',['../classdnscode_1_1dnscode_1_1InvalidDataException.html#ae0a05fa4d708dd9eab0c1ead5b2098a8',1,'dnscode.dnscode.InvalidDataException.__init__()'],['../classdnscode_1_1dnscode_1_1A.html#a6ff40033bfd3ae0f293b7e1719e75e71',1,'dnscode.dnscode.A.__init__()'],['../classdnscode_1_1dnscode_1_1AAAA.html#a238b346327f47595ac7246766e987ae6',1,'dnscode.dnscode.AAAA.__init__()'],['../classdnscode_1_1dnscode_1_1CNAME.html#a286b2c39577989c78bb09c23ffcfb4c0',1,'dnscode.dnscode.CNAME.__init__()'],['../classdnscode_1_1dnscode_1_1MX.html#a4dafe8f75646ca4ec6e2ea77a2d838f5',1,'dnscode.dnscode.MX.__init__()'],['../classdnscode_1_1dnscode_1_1NS.html#a30214975313b4fdc1af03b45cc2bd414',1,'dnscode.dnscode.NS.__init__()'],['../classdnscode_1_1dnscode_1_1PTR.html#a97e7c140d6bd930a2611e68753a0d8eb',1,'dnscode.dnscode.PTR.__init__()'],['../classdnscode_1_1dnscode_1_1SOA.html#a3318d09d5bead318b42aa9f939262982',1,'dnscode.dnscode.SOA.__init__()'],['../classdnscode_1_1dnscode_1_1SRV.html#a488bf7130d42c3eb3316cf9903d5454e',1,'dnscode.dnscode.SRV.__init__()'],['../classdnscode_1_1dnscode_1_1TXT.html#a00bd3fc2d0156b9d48318137ec294255',1,'dnscode.dnscode.TXT.__init__()']]], ['_5f_5finit_5f_5f_2epy_1',['__init__.py',['../____init_____8py.html',1,'']]], ['_5f_5fpost_5finit_5f_5f_2',['__post_init__',['../classdnscode_1_1dnscode_1_1Zone.html#ad696206776c2c68471126d950fa178d1',1,'dnscode::dnscode::Zone']]], ['_5f_5fstr_5f_5f_3',['__str__',['../classdnscode_1_1dnscode_1_1Record.html#a9cdd32b3cc1e61c0242e1df4ac88570f',1,'dnscode.dnscode.Record.__str__()'],['../classdnscode_1_1dnscode_1_1Zone.html#a31e74a07a8f0b0f95a14662d20f1df8c',1,'dnscode.dnscode.Zone.__str__()']]] diff --git a/docs/html/search/all_3.js b/docs/html/search/all_3.js index 320666c..d58cf3a 100644 --- a/docs/html/search/all_3.js +++ b/docs/html/search/all_3.js @@ -1,6 +1,6 @@ var searchData= [ - ['data_0',['data',['../classdnscode_1_1dnscode_1_1Record.html#a14aa210c7d3f76350887f7a9c101112d',1,'dnscode.dnscode.Record.data'],['../classdnscode_1_1dnscode_1_1A.html#a064feb58d7e265fa206e089345369a2a',1,'dnscode.dnscode.A.data'],['../classdnscode_1_1dnscode_1_1AAAA.html#afedf1914defd108c934440a378b1db7e',1,'dnscode.dnscode.AAAA.data'],['../classdnscode_1_1dnscode_1_1CNAME.html#a3cdf083f5eda994482eb93413b296f5c',1,'dnscode.dnscode.CNAME.data'],['../classdnscode_1_1dnscode_1_1MX.html#a6f4122e34ed257b9e7ed16155a148b16',1,'dnscode.dnscode.MX.data'],['../classdnscode_1_1dnscode_1_1NS.html#adde4980f5291b68690a703ed97a145b2',1,'dnscode.dnscode.NS.data'],['../classdnscode_1_1dnscode_1_1PTR.html#aa414de5f62d6902d7e07388362d4514a',1,'dnscode.dnscode.PTR.data'],['../classdnscode_1_1dnscode_1_1SOA.html#abeba06a6214f2447de82ac66c76fd0e1',1,'dnscode.dnscode.SOA.data'],['../classdnscode_1_1dnscode_1_1SRV.html#aa6f868660e840b7dbc3252c234e37a7b',1,'dnscode.dnscode.SRV.data']]], + ['data_0',['data',['../classdnscode_1_1dnscode_1_1Record.html#a14aa210c7d3f76350887f7a9c101112d',1,'dnscode.dnscode.Record.data'],['../classdnscode_1_1dnscode_1_1A.html#a064feb58d7e265fa206e089345369a2a',1,'dnscode.dnscode.A.data'],['../classdnscode_1_1dnscode_1_1AAAA.html#afedf1914defd108c934440a378b1db7e',1,'dnscode.dnscode.AAAA.data'],['../classdnscode_1_1dnscode_1_1CNAME.html#a3cdf083f5eda994482eb93413b296f5c',1,'dnscode.dnscode.CNAME.data'],['../classdnscode_1_1dnscode_1_1MX.html#a6f4122e34ed257b9e7ed16155a148b16',1,'dnscode.dnscode.MX.data'],['../classdnscode_1_1dnscode_1_1NS.html#adde4980f5291b68690a703ed97a145b2',1,'dnscode.dnscode.NS.data'],['../classdnscode_1_1dnscode_1_1PTR.html#aa414de5f62d6902d7e07388362d4514a',1,'dnscode.dnscode.PTR.data'],['../classdnscode_1_1dnscode_1_1SOA.html#abeba06a6214f2447de82ac66c76fd0e1',1,'dnscode.dnscode.SOA.data'],['../classdnscode_1_1dnscode_1_1SRV.html#aa6f868660e840b7dbc3252c234e37a7b',1,'dnscode.dnscode.SRV.data'],['../classdnscode_1_1dnscode_1_1TXT.html#afa4964ab5586285b6e80af2a4dad4dc0',1,'dnscode.dnscode.TXT.data']]], ['dns_20zone_20management_1',['Simplifying DNS Zone management',['../index.html#autotoc_md1',1,'']]], ['dnscode_2',['DNScode',['../index.html',1,'']]], ['dnscode_3',['dnscode',['../namespacednscode.html',1,'']]], diff --git a/docs/html/search/all_8.js b/docs/html/search/all_8.js index b6b33d9..ebde8f1 100644 --- a/docs/html/search/all_8.js +++ b/docs/html/search/all_8.js @@ -1,6 +1,6 @@ var searchData= [ - ['name_0',['name',['../classdnscode_1_1dnscode_1_1Record.html#a0f33da03220ff62ce0b7e61947c1aae9',1,'dnscode.dnscode.Record.name'],['../classdnscode_1_1dnscode_1_1A.html#a728ff3a23a683fc61e89183678633fdc',1,'dnscode.dnscode.A.name'],['../classdnscode_1_1dnscode_1_1AAAA.html#ad89d4ba507acbfbecf97a6d4bc0afa9a',1,'dnscode.dnscode.AAAA.name'],['../classdnscode_1_1dnscode_1_1CNAME.html#a5868dd148cb5c750453806622c7ae405',1,'dnscode.dnscode.CNAME.name'],['../classdnscode_1_1dnscode_1_1MX.html#abdd875e732800bf3ae574c68a7feb99d',1,'dnscode.dnscode.MX.name'],['../classdnscode_1_1dnscode_1_1NS.html#a47aed399f465f02aa74612cebf63f603',1,'dnscode.dnscode.NS.name'],['../classdnscode_1_1dnscode_1_1PTR.html#af6d4e470392a223e3f643c76dba09f4b',1,'dnscode.dnscode.PTR.name'],['../classdnscode_1_1dnscode_1_1SOA.html#ab698d0c5545ac161be944b03d50e2b71',1,'dnscode.dnscode.SOA.name'],['../classdnscode_1_1dnscode_1_1SRV.html#ab23dad0fbcecfc1c2638e9829840302a',1,'dnscode.dnscode.SRV.name']]], + ['name_0',['name',['../classdnscode_1_1dnscode_1_1Record.html#a0f33da03220ff62ce0b7e61947c1aae9',1,'dnscode.dnscode.Record.name'],['../classdnscode_1_1dnscode_1_1A.html#a728ff3a23a683fc61e89183678633fdc',1,'dnscode.dnscode.A.name'],['../classdnscode_1_1dnscode_1_1AAAA.html#ad89d4ba507acbfbecf97a6d4bc0afa9a',1,'dnscode.dnscode.AAAA.name'],['../classdnscode_1_1dnscode_1_1CNAME.html#a5868dd148cb5c750453806622c7ae405',1,'dnscode.dnscode.CNAME.name'],['../classdnscode_1_1dnscode_1_1MX.html#abdd875e732800bf3ae574c68a7feb99d',1,'dnscode.dnscode.MX.name'],['../classdnscode_1_1dnscode_1_1NS.html#a47aed399f465f02aa74612cebf63f603',1,'dnscode.dnscode.NS.name'],['../classdnscode_1_1dnscode_1_1PTR.html#af6d4e470392a223e3f643c76dba09f4b',1,'dnscode.dnscode.PTR.name'],['../classdnscode_1_1dnscode_1_1SOA.html#ab698d0c5545ac161be944b03d50e2b71',1,'dnscode.dnscode.SOA.name'],['../classdnscode_1_1dnscode_1_1SRV.html#ab23dad0fbcecfc1c2638e9829840302a',1,'dnscode.dnscode.SRV.name'],['../classdnscode_1_1dnscode_1_1TXT.html#ad31d74420dc82dd99964f9878cf003f8',1,'dnscode.dnscode.TXT.name']]], ['new_5fa_1',['new_A',['../classdnscode_1_1dnscode_1_1Zone.html#a231de844d4fb88390d37a0be6dbc962e',1,'dnscode::dnscode::Zone']]], ['new_5faaaa_2',['new_AAAA',['../classdnscode_1_1dnscode_1_1Zone.html#af16862a7d8680f1eb6ab66a92105301f',1,'dnscode::dnscode::Zone']]], ['new_5fcname_3',['new_CNAME',['../classdnscode_1_1dnscode_1_1Zone.html#a2718e32544f9310ce721bce73082bb97',1,'dnscode::dnscode::Zone']]], @@ -10,5 +10,6 @@ var searchData= ['new_5frecord_7',['new_record',['../classdnscode_1_1dnscode_1_1Zone.html#a6ff7d4cb63c08a7d06fc47c341e3bba4',1,'dnscode::dnscode::Zone']]], ['new_5fsoa_8',['new_SOA',['../classdnscode_1_1dnscode_1_1Zone.html#aabed9788e2e4be4c6b0628214492fdbe',1,'dnscode::dnscode::Zone']]], ['new_5fsrv_9',['new_SRV',['../classdnscode_1_1dnscode_1_1Zone.html#aef9ec626cabe184b565418644798e7d4',1,'dnscode::dnscode::Zone']]], - ['ns_10',['NS',['../classdnscode_1_1dnscode_1_1NS.html',1,'dnscode::dnscode']]] + ['new_5ftxt_10',['new_TXT',['../classdnscode_1_1dnscode_1_1Zone.html#a602dd6071a6c3d1017e155c7ca2512a2',1,'dnscode::dnscode::Zone']]], + ['ns_11',['NS',['../classdnscode_1_1dnscode_1_1NS.html',1,'dnscode::dnscode']]] ]; diff --git a/docs/html/search/all_b.js b/docs/html/search/all_b.js index 6041da2..f40d1f8 100644 --- a/docs/html/search/all_b.js +++ b/docs/html/search/all_b.js @@ -7,5 +7,5 @@ var searchData= ['refresh_4',['refresh',['../classdnscode_1_1dnscode_1_1SOA.html#a78c16bb26cea2e23329499b1be27744f',1,'dnscode::dnscode::SOA']]], ['retry_5',['retry',['../classdnscode_1_1dnscode_1_1SOA.html#a0519536bbe01453e69e9b3a937734e05',1,'dnscode::dnscode::SOA']]], ['rname_6',['rname',['../classdnscode_1_1dnscode_1_1SOA.html#a2d07bdbe2641a211cac2a638682003f7',1,'dnscode::dnscode::SOA']]], - ['rtype_7',['rtype',['../classdnscode_1_1dnscode_1_1Record.html#a13073663684cfa4c84b7bc6c3551a622',1,'dnscode.dnscode.Record.rtype'],['../classdnscode_1_1dnscode_1_1A.html#a0a3850ae288afdbb0c1582cb80358b0b',1,'dnscode.dnscode.A.rtype'],['../classdnscode_1_1dnscode_1_1AAAA.html#a57432b4c0d40655dcea6e04afb057daf',1,'dnscode.dnscode.AAAA.rtype'],['../classdnscode_1_1dnscode_1_1CNAME.html#a0e0a78d6dd4ac9fc14141f8ee912172f',1,'dnscode.dnscode.CNAME.rtype'],['../classdnscode_1_1dnscode_1_1MX.html#a5580bd007362f19ca4556f4a17461d4e',1,'dnscode.dnscode.MX.rtype'],['../classdnscode_1_1dnscode_1_1NS.html#a790082bcaf1e3287c0ded51b223249ab',1,'dnscode.dnscode.NS.rtype'],['../classdnscode_1_1dnscode_1_1PTR.html#a4d2b13fc71edd0bf878c222fea01c296',1,'dnscode.dnscode.PTR.rtype'],['../classdnscode_1_1dnscode_1_1SOA.html#add36e344fa1dcd53547f052e45e81a02',1,'dnscode.dnscode.SOA.rtype'],['../classdnscode_1_1dnscode_1_1SRV.html#a7bef244330cc95991edb7fdefc05bd02',1,'dnscode.dnscode.SRV.rtype']]] + ['rtype_7',['rtype',['../classdnscode_1_1dnscode_1_1Record.html#a13073663684cfa4c84b7bc6c3551a622',1,'dnscode.dnscode.Record.rtype'],['../classdnscode_1_1dnscode_1_1A.html#a0a3850ae288afdbb0c1582cb80358b0b',1,'dnscode.dnscode.A.rtype'],['../classdnscode_1_1dnscode_1_1AAAA.html#a57432b4c0d40655dcea6e04afb057daf',1,'dnscode.dnscode.AAAA.rtype'],['../classdnscode_1_1dnscode_1_1CNAME.html#a0e0a78d6dd4ac9fc14141f8ee912172f',1,'dnscode.dnscode.CNAME.rtype'],['../classdnscode_1_1dnscode_1_1MX.html#a5580bd007362f19ca4556f4a17461d4e',1,'dnscode.dnscode.MX.rtype'],['../classdnscode_1_1dnscode_1_1NS.html#a790082bcaf1e3287c0ded51b223249ab',1,'dnscode.dnscode.NS.rtype'],['../classdnscode_1_1dnscode_1_1PTR.html#a4d2b13fc71edd0bf878c222fea01c296',1,'dnscode.dnscode.PTR.rtype'],['../classdnscode_1_1dnscode_1_1SOA.html#add36e344fa1dcd53547f052e45e81a02',1,'dnscode.dnscode.SOA.rtype'],['../classdnscode_1_1dnscode_1_1SRV.html#a7bef244330cc95991edb7fdefc05bd02',1,'dnscode.dnscode.SRV.rtype'],['../classdnscode_1_1dnscode_1_1TXT.html#a79ae2d3a0cd38d2332bc19b9f608a088',1,'dnscode.dnscode.TXT.rtype']]] ]; diff --git a/docs/html/search/all_d.js b/docs/html/search/all_d.js index b5f8ed5..14a5b09 100644 --- a/docs/html/search/all_d.js +++ b/docs/html/search/all_d.js @@ -1,5 +1,6 @@ var searchData= [ ['target_0',['target',['../classdnscode_1_1dnscode_1_1SRV.html#a38043b18f8f888d9ab78479cd194076a',1,'dnscode::dnscode::SRV']]], - ['ttl_1',['ttl',['../classdnscode_1_1dnscode_1_1Record.html#a875d04fc6789b0e36e0b56dbfa8aa7b8',1,'dnscode.dnscode.Record.ttl'],['../classdnscode_1_1dnscode_1_1A.html#ac48289ec4dd4f287fa5fd93dd537d974',1,'dnscode.dnscode.A.ttl'],['../classdnscode_1_1dnscode_1_1AAAA.html#abd8ff53d71d8ae9e1801b562d384c3a3',1,'dnscode.dnscode.AAAA.ttl'],['../classdnscode_1_1dnscode_1_1CNAME.html#aa5ecf670a1c88f92991280aedb5ad322',1,'dnscode.dnscode.CNAME.ttl'],['../classdnscode_1_1dnscode_1_1MX.html#a44e80917859f828710a43ff3f0dbe8ed',1,'dnscode.dnscode.MX.ttl'],['../classdnscode_1_1dnscode_1_1NS.html#a80316c5453f699b87891e868458e0541',1,'dnscode.dnscode.NS.ttl'],['../classdnscode_1_1dnscode_1_1PTR.html#a388098f988ab7eff6d30811b4ed8758f',1,'dnscode.dnscode.PTR.ttl'],['../classdnscode_1_1dnscode_1_1SOA.html#a3f98e8ca93d98290d26e595b9e1d5841',1,'dnscode.dnscode.SOA.ttl'],['../classdnscode_1_1dnscode_1_1SRV.html#ab793ceda5d5a11c0030b230a1edfeda5',1,'dnscode.dnscode.SRV.ttl']]] + ['ttl_1',['ttl',['../classdnscode_1_1dnscode_1_1Record.html#a875d04fc6789b0e36e0b56dbfa8aa7b8',1,'dnscode.dnscode.Record.ttl'],['../classdnscode_1_1dnscode_1_1A.html#ac48289ec4dd4f287fa5fd93dd537d974',1,'dnscode.dnscode.A.ttl'],['../classdnscode_1_1dnscode_1_1AAAA.html#abd8ff53d71d8ae9e1801b562d384c3a3',1,'dnscode.dnscode.AAAA.ttl'],['../classdnscode_1_1dnscode_1_1CNAME.html#aa5ecf670a1c88f92991280aedb5ad322',1,'dnscode.dnscode.CNAME.ttl'],['../classdnscode_1_1dnscode_1_1MX.html#a44e80917859f828710a43ff3f0dbe8ed',1,'dnscode.dnscode.MX.ttl'],['../classdnscode_1_1dnscode_1_1NS.html#a80316c5453f699b87891e868458e0541',1,'dnscode.dnscode.NS.ttl'],['../classdnscode_1_1dnscode_1_1PTR.html#a388098f988ab7eff6d30811b4ed8758f',1,'dnscode.dnscode.PTR.ttl'],['../classdnscode_1_1dnscode_1_1SOA.html#a3f98e8ca93d98290d26e595b9e1d5841',1,'dnscode.dnscode.SOA.ttl'],['../classdnscode_1_1dnscode_1_1SRV.html#ab793ceda5d5a11c0030b230a1edfeda5',1,'dnscode.dnscode.SRV.ttl'],['../classdnscode_1_1dnscode_1_1TXT.html#aa1a7962a740d84279b6a136fb91f57de',1,'dnscode.dnscode.TXT.ttl']]], + ['txt_2',['TXT',['../classdnscode_1_1dnscode_1_1TXT.html',1,'dnscode::dnscode']]] ]; diff --git a/docs/html/search/classes_8.js b/docs/html/search/classes_8.js index 92e71c1..8e907cd 100644 --- a/docs/html/search/classes_8.js +++ b/docs/html/search/classes_8.js @@ -1,4 +1,4 @@ var searchData= [ - ['zone_0',['Zone',['../classdnscode_1_1dnscode_1_1Zone.html',1,'dnscode::dnscode']]] + ['txt_0',['TXT',['../classdnscode_1_1dnscode_1_1TXT.html',1,'dnscode::dnscode']]] ]; diff --git a/docs/html/search/classes_9.js b/docs/html/search/classes_9.js new file mode 100644 index 0000000..92e71c1 --- /dev/null +++ b/docs/html/search/classes_9.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['zone_0',['Zone',['../classdnscode_1_1dnscode_1_1Zone.html',1,'dnscode::dnscode']]] +]; diff --git a/docs/html/search/functions_0.js b/docs/html/search/functions_0.js index 843eb3a..434b28b 100644 --- a/docs/html/search/functions_0.js +++ b/docs/html/search/functions_0.js @@ -1,6 +1,6 @@ var searchData= [ - ['_5f_5finit_5f_5f_0',['__init__',['../classdnscode_1_1dnscode_1_1InvalidDataException.html#ae0a05fa4d708dd9eab0c1ead5b2098a8',1,'dnscode.dnscode.InvalidDataException.__init__()'],['../classdnscode_1_1dnscode_1_1A.html#a6ff40033bfd3ae0f293b7e1719e75e71',1,'dnscode.dnscode.A.__init__()'],['../classdnscode_1_1dnscode_1_1AAAA.html#a238b346327f47595ac7246766e987ae6',1,'dnscode.dnscode.AAAA.__init__()'],['../classdnscode_1_1dnscode_1_1CNAME.html#a286b2c39577989c78bb09c23ffcfb4c0',1,'dnscode.dnscode.CNAME.__init__()'],['../classdnscode_1_1dnscode_1_1MX.html#a4dafe8f75646ca4ec6e2ea77a2d838f5',1,'dnscode.dnscode.MX.__init__()'],['../classdnscode_1_1dnscode_1_1NS.html#a30214975313b4fdc1af03b45cc2bd414',1,'dnscode.dnscode.NS.__init__()'],['../classdnscode_1_1dnscode_1_1PTR.html#a97e7c140d6bd930a2611e68753a0d8eb',1,'dnscode.dnscode.PTR.__init__()'],['../classdnscode_1_1dnscode_1_1SOA.html#a3318d09d5bead318b42aa9f939262982',1,'dnscode.dnscode.SOA.__init__()'],['../classdnscode_1_1dnscode_1_1SRV.html#a488bf7130d42c3eb3316cf9903d5454e',1,'dnscode.dnscode.SRV.__init__()']]], + ['_5f_5finit_5f_5f_0',['__init__',['../classdnscode_1_1dnscode_1_1InvalidDataException.html#ae0a05fa4d708dd9eab0c1ead5b2098a8',1,'dnscode.dnscode.InvalidDataException.__init__()'],['../classdnscode_1_1dnscode_1_1A.html#a6ff40033bfd3ae0f293b7e1719e75e71',1,'dnscode.dnscode.A.__init__()'],['../classdnscode_1_1dnscode_1_1AAAA.html#a238b346327f47595ac7246766e987ae6',1,'dnscode.dnscode.AAAA.__init__()'],['../classdnscode_1_1dnscode_1_1CNAME.html#a286b2c39577989c78bb09c23ffcfb4c0',1,'dnscode.dnscode.CNAME.__init__()'],['../classdnscode_1_1dnscode_1_1MX.html#a4dafe8f75646ca4ec6e2ea77a2d838f5',1,'dnscode.dnscode.MX.__init__()'],['../classdnscode_1_1dnscode_1_1NS.html#a30214975313b4fdc1af03b45cc2bd414',1,'dnscode.dnscode.NS.__init__()'],['../classdnscode_1_1dnscode_1_1PTR.html#a97e7c140d6bd930a2611e68753a0d8eb',1,'dnscode.dnscode.PTR.__init__()'],['../classdnscode_1_1dnscode_1_1SOA.html#a3318d09d5bead318b42aa9f939262982',1,'dnscode.dnscode.SOA.__init__()'],['../classdnscode_1_1dnscode_1_1SRV.html#a488bf7130d42c3eb3316cf9903d5454e',1,'dnscode.dnscode.SRV.__init__()'],['../classdnscode_1_1dnscode_1_1TXT.html#a00bd3fc2d0156b9d48318137ec294255',1,'dnscode.dnscode.TXT.__init__()']]], ['_5f_5fpost_5finit_5f_5f_1',['__post_init__',['../classdnscode_1_1dnscode_1_1Zone.html#ad696206776c2c68471126d950fa178d1',1,'dnscode::dnscode::Zone']]], ['_5f_5fstr_5f_5f_2',['__str__',['../classdnscode_1_1dnscode_1_1Record.html#a9cdd32b3cc1e61c0242e1df4ac88570f',1,'dnscode.dnscode.Record.__str__()'],['../classdnscode_1_1dnscode_1_1Zone.html#a31e74a07a8f0b0f95a14662d20f1df8c',1,'dnscode.dnscode.Zone.__str__()']]] ]; diff --git a/docs/html/search/functions_2.js b/docs/html/search/functions_2.js index 4a908a5..fc273dd 100644 --- a/docs/html/search/functions_2.js +++ b/docs/html/search/functions_2.js @@ -8,5 +8,6 @@ var searchData= ['new_5fptr_5',['new_PTR',['../classdnscode_1_1dnscode_1_1Zone.html#a579ec534602081efd30fbcbc279bc625',1,'dnscode::dnscode::Zone']]], ['new_5frecord_6',['new_record',['../classdnscode_1_1dnscode_1_1Zone.html#a6ff7d4cb63c08a7d06fc47c341e3bba4',1,'dnscode::dnscode::Zone']]], ['new_5fsoa_7',['new_SOA',['../classdnscode_1_1dnscode_1_1Zone.html#aabed9788e2e4be4c6b0628214492fdbe',1,'dnscode::dnscode::Zone']]], - ['new_5fsrv_8',['new_SRV',['../classdnscode_1_1dnscode_1_1Zone.html#aef9ec626cabe184b565418644798e7d4',1,'dnscode::dnscode::Zone']]] + ['new_5fsrv_8',['new_SRV',['../classdnscode_1_1dnscode_1_1Zone.html#aef9ec626cabe184b565418644798e7d4',1,'dnscode::dnscode::Zone']]], + ['new_5ftxt_9',['new_TXT',['../classdnscode_1_1dnscode_1_1Zone.html#a602dd6071a6c3d1017e155c7ca2512a2',1,'dnscode::dnscode::Zone']]] ]; diff --git a/docs/html/search/searchdata.js b/docs/html/search/searchdata.js index 04fbae9..e3ad95f 100644 --- a/docs/html/search/searchdata.js +++ b/docs/html/search/searchdata.js @@ -1,7 +1,7 @@ var indexSectionsWithContent = { 0: "_acdehimnoprstuwz", - 1: "acimnprsz", + 1: "acimnprstz", 2: "d", 3: "_dr", 4: "_ans", diff --git a/docs/html/search/variables_0.js b/docs/html/search/variables_0.js index 9c1fc75..1035210 100644 --- a/docs/html/search/variables_0.js +++ b/docs/html/search/variables_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['data_0',['data',['../classdnscode_1_1dnscode_1_1Record.html#a14aa210c7d3f76350887f7a9c101112d',1,'dnscode.dnscode.Record.data'],['../classdnscode_1_1dnscode_1_1A.html#a064feb58d7e265fa206e089345369a2a',1,'dnscode.dnscode.A.data'],['../classdnscode_1_1dnscode_1_1AAAA.html#afedf1914defd108c934440a378b1db7e',1,'dnscode.dnscode.AAAA.data'],['../classdnscode_1_1dnscode_1_1CNAME.html#a3cdf083f5eda994482eb93413b296f5c',1,'dnscode.dnscode.CNAME.data'],['../classdnscode_1_1dnscode_1_1MX.html#a6f4122e34ed257b9e7ed16155a148b16',1,'dnscode.dnscode.MX.data'],['../classdnscode_1_1dnscode_1_1NS.html#adde4980f5291b68690a703ed97a145b2',1,'dnscode.dnscode.NS.data'],['../classdnscode_1_1dnscode_1_1PTR.html#aa414de5f62d6902d7e07388362d4514a',1,'dnscode.dnscode.PTR.data'],['../classdnscode_1_1dnscode_1_1SOA.html#abeba06a6214f2447de82ac66c76fd0e1',1,'dnscode.dnscode.SOA.data'],['../classdnscode_1_1dnscode_1_1SRV.html#aa6f868660e840b7dbc3252c234e37a7b',1,'dnscode.dnscode.SRV.data']]] + ['data_0',['data',['../classdnscode_1_1dnscode_1_1Record.html#a14aa210c7d3f76350887f7a9c101112d',1,'dnscode.dnscode.Record.data'],['../classdnscode_1_1dnscode_1_1A.html#a064feb58d7e265fa206e089345369a2a',1,'dnscode.dnscode.A.data'],['../classdnscode_1_1dnscode_1_1AAAA.html#afedf1914defd108c934440a378b1db7e',1,'dnscode.dnscode.AAAA.data'],['../classdnscode_1_1dnscode_1_1CNAME.html#a3cdf083f5eda994482eb93413b296f5c',1,'dnscode.dnscode.CNAME.data'],['../classdnscode_1_1dnscode_1_1MX.html#a6f4122e34ed257b9e7ed16155a148b16',1,'dnscode.dnscode.MX.data'],['../classdnscode_1_1dnscode_1_1NS.html#adde4980f5291b68690a703ed97a145b2',1,'dnscode.dnscode.NS.data'],['../classdnscode_1_1dnscode_1_1PTR.html#aa414de5f62d6902d7e07388362d4514a',1,'dnscode.dnscode.PTR.data'],['../classdnscode_1_1dnscode_1_1SOA.html#abeba06a6214f2447de82ac66c76fd0e1',1,'dnscode.dnscode.SOA.data'],['../classdnscode_1_1dnscode_1_1SRV.html#aa6f868660e840b7dbc3252c234e37a7b',1,'dnscode.dnscode.SRV.data'],['../classdnscode_1_1dnscode_1_1TXT.html#afa4964ab5586285b6e80af2a4dad4dc0',1,'dnscode.dnscode.TXT.data']]] ]; diff --git a/docs/html/search/variables_4.js b/docs/html/search/variables_4.js index b97dea8..36fbf15 100644 --- a/docs/html/search/variables_4.js +++ b/docs/html/search/variables_4.js @@ -1,4 +1,4 @@ var searchData= [ - ['name_0',['name',['../classdnscode_1_1dnscode_1_1Record.html#a0f33da03220ff62ce0b7e61947c1aae9',1,'dnscode.dnscode.Record.name'],['../classdnscode_1_1dnscode_1_1A.html#a728ff3a23a683fc61e89183678633fdc',1,'dnscode.dnscode.A.name'],['../classdnscode_1_1dnscode_1_1AAAA.html#ad89d4ba507acbfbecf97a6d4bc0afa9a',1,'dnscode.dnscode.AAAA.name'],['../classdnscode_1_1dnscode_1_1CNAME.html#a5868dd148cb5c750453806622c7ae405',1,'dnscode.dnscode.CNAME.name'],['../classdnscode_1_1dnscode_1_1MX.html#abdd875e732800bf3ae574c68a7feb99d',1,'dnscode.dnscode.MX.name'],['../classdnscode_1_1dnscode_1_1NS.html#a47aed399f465f02aa74612cebf63f603',1,'dnscode.dnscode.NS.name'],['../classdnscode_1_1dnscode_1_1PTR.html#af6d4e470392a223e3f643c76dba09f4b',1,'dnscode.dnscode.PTR.name'],['../classdnscode_1_1dnscode_1_1SOA.html#ab698d0c5545ac161be944b03d50e2b71',1,'dnscode.dnscode.SOA.name'],['../classdnscode_1_1dnscode_1_1SRV.html#ab23dad0fbcecfc1c2638e9829840302a',1,'dnscode.dnscode.SRV.name']]] + ['name_0',['name',['../classdnscode_1_1dnscode_1_1Record.html#a0f33da03220ff62ce0b7e61947c1aae9',1,'dnscode.dnscode.Record.name'],['../classdnscode_1_1dnscode_1_1A.html#a728ff3a23a683fc61e89183678633fdc',1,'dnscode.dnscode.A.name'],['../classdnscode_1_1dnscode_1_1AAAA.html#ad89d4ba507acbfbecf97a6d4bc0afa9a',1,'dnscode.dnscode.AAAA.name'],['../classdnscode_1_1dnscode_1_1CNAME.html#a5868dd148cb5c750453806622c7ae405',1,'dnscode.dnscode.CNAME.name'],['../classdnscode_1_1dnscode_1_1MX.html#abdd875e732800bf3ae574c68a7feb99d',1,'dnscode.dnscode.MX.name'],['../classdnscode_1_1dnscode_1_1NS.html#a47aed399f465f02aa74612cebf63f603',1,'dnscode.dnscode.NS.name'],['../classdnscode_1_1dnscode_1_1PTR.html#af6d4e470392a223e3f643c76dba09f4b',1,'dnscode.dnscode.PTR.name'],['../classdnscode_1_1dnscode_1_1SOA.html#ab698d0c5545ac161be944b03d50e2b71',1,'dnscode.dnscode.SOA.name'],['../classdnscode_1_1dnscode_1_1SRV.html#ab23dad0fbcecfc1c2638e9829840302a',1,'dnscode.dnscode.SRV.name'],['../classdnscode_1_1dnscode_1_1TXT.html#ad31d74420dc82dd99964f9878cf003f8',1,'dnscode.dnscode.TXT.name']]] ]; diff --git a/docs/html/search/variables_7.js b/docs/html/search/variables_7.js index ce5f6fb..840a443 100644 --- a/docs/html/search/variables_7.js +++ b/docs/html/search/variables_7.js @@ -5,5 +5,5 @@ var searchData= ['refresh_2',['refresh',['../classdnscode_1_1dnscode_1_1SOA.html#a78c16bb26cea2e23329499b1be27744f',1,'dnscode::dnscode::SOA']]], ['retry_3',['retry',['../classdnscode_1_1dnscode_1_1SOA.html#a0519536bbe01453e69e9b3a937734e05',1,'dnscode::dnscode::SOA']]], ['rname_4',['rname',['../classdnscode_1_1dnscode_1_1SOA.html#a2d07bdbe2641a211cac2a638682003f7',1,'dnscode::dnscode::SOA']]], - ['rtype_5',['rtype',['../classdnscode_1_1dnscode_1_1Record.html#a13073663684cfa4c84b7bc6c3551a622',1,'dnscode.dnscode.Record.rtype'],['../classdnscode_1_1dnscode_1_1A.html#a0a3850ae288afdbb0c1582cb80358b0b',1,'dnscode.dnscode.A.rtype'],['../classdnscode_1_1dnscode_1_1AAAA.html#a57432b4c0d40655dcea6e04afb057daf',1,'dnscode.dnscode.AAAA.rtype'],['../classdnscode_1_1dnscode_1_1CNAME.html#a0e0a78d6dd4ac9fc14141f8ee912172f',1,'dnscode.dnscode.CNAME.rtype'],['../classdnscode_1_1dnscode_1_1MX.html#a5580bd007362f19ca4556f4a17461d4e',1,'dnscode.dnscode.MX.rtype'],['../classdnscode_1_1dnscode_1_1NS.html#a790082bcaf1e3287c0ded51b223249ab',1,'dnscode.dnscode.NS.rtype'],['../classdnscode_1_1dnscode_1_1PTR.html#a4d2b13fc71edd0bf878c222fea01c296',1,'dnscode.dnscode.PTR.rtype'],['../classdnscode_1_1dnscode_1_1SOA.html#add36e344fa1dcd53547f052e45e81a02',1,'dnscode.dnscode.SOA.rtype'],['../classdnscode_1_1dnscode_1_1SRV.html#a7bef244330cc95991edb7fdefc05bd02',1,'dnscode.dnscode.SRV.rtype']]] + ['rtype_5',['rtype',['../classdnscode_1_1dnscode_1_1Record.html#a13073663684cfa4c84b7bc6c3551a622',1,'dnscode.dnscode.Record.rtype'],['../classdnscode_1_1dnscode_1_1A.html#a0a3850ae288afdbb0c1582cb80358b0b',1,'dnscode.dnscode.A.rtype'],['../classdnscode_1_1dnscode_1_1AAAA.html#a57432b4c0d40655dcea6e04afb057daf',1,'dnscode.dnscode.AAAA.rtype'],['../classdnscode_1_1dnscode_1_1CNAME.html#a0e0a78d6dd4ac9fc14141f8ee912172f',1,'dnscode.dnscode.CNAME.rtype'],['../classdnscode_1_1dnscode_1_1MX.html#a5580bd007362f19ca4556f4a17461d4e',1,'dnscode.dnscode.MX.rtype'],['../classdnscode_1_1dnscode_1_1NS.html#a790082bcaf1e3287c0ded51b223249ab',1,'dnscode.dnscode.NS.rtype'],['../classdnscode_1_1dnscode_1_1PTR.html#a4d2b13fc71edd0bf878c222fea01c296',1,'dnscode.dnscode.PTR.rtype'],['../classdnscode_1_1dnscode_1_1SOA.html#add36e344fa1dcd53547f052e45e81a02',1,'dnscode.dnscode.SOA.rtype'],['../classdnscode_1_1dnscode_1_1SRV.html#a7bef244330cc95991edb7fdefc05bd02',1,'dnscode.dnscode.SRV.rtype'],['../classdnscode_1_1dnscode_1_1TXT.html#a79ae2d3a0cd38d2332bc19b9f608a088',1,'dnscode.dnscode.TXT.rtype']]] ]; diff --git a/docs/html/search/variables_9.js b/docs/html/search/variables_9.js index b5f8ed5..8aab0ed 100644 --- a/docs/html/search/variables_9.js +++ b/docs/html/search/variables_9.js @@ -1,5 +1,5 @@ var searchData= [ ['target_0',['target',['../classdnscode_1_1dnscode_1_1SRV.html#a38043b18f8f888d9ab78479cd194076a',1,'dnscode::dnscode::SRV']]], - ['ttl_1',['ttl',['../classdnscode_1_1dnscode_1_1Record.html#a875d04fc6789b0e36e0b56dbfa8aa7b8',1,'dnscode.dnscode.Record.ttl'],['../classdnscode_1_1dnscode_1_1A.html#ac48289ec4dd4f287fa5fd93dd537d974',1,'dnscode.dnscode.A.ttl'],['../classdnscode_1_1dnscode_1_1AAAA.html#abd8ff53d71d8ae9e1801b562d384c3a3',1,'dnscode.dnscode.AAAA.ttl'],['../classdnscode_1_1dnscode_1_1CNAME.html#aa5ecf670a1c88f92991280aedb5ad322',1,'dnscode.dnscode.CNAME.ttl'],['../classdnscode_1_1dnscode_1_1MX.html#a44e80917859f828710a43ff3f0dbe8ed',1,'dnscode.dnscode.MX.ttl'],['../classdnscode_1_1dnscode_1_1NS.html#a80316c5453f699b87891e868458e0541',1,'dnscode.dnscode.NS.ttl'],['../classdnscode_1_1dnscode_1_1PTR.html#a388098f988ab7eff6d30811b4ed8758f',1,'dnscode.dnscode.PTR.ttl'],['../classdnscode_1_1dnscode_1_1SOA.html#a3f98e8ca93d98290d26e595b9e1d5841',1,'dnscode.dnscode.SOA.ttl'],['../classdnscode_1_1dnscode_1_1SRV.html#ab793ceda5d5a11c0030b230a1edfeda5',1,'dnscode.dnscode.SRV.ttl']]] + ['ttl_1',['ttl',['../classdnscode_1_1dnscode_1_1Record.html#a875d04fc6789b0e36e0b56dbfa8aa7b8',1,'dnscode.dnscode.Record.ttl'],['../classdnscode_1_1dnscode_1_1A.html#ac48289ec4dd4f287fa5fd93dd537d974',1,'dnscode.dnscode.A.ttl'],['../classdnscode_1_1dnscode_1_1AAAA.html#abd8ff53d71d8ae9e1801b562d384c3a3',1,'dnscode.dnscode.AAAA.ttl'],['../classdnscode_1_1dnscode_1_1CNAME.html#aa5ecf670a1c88f92991280aedb5ad322',1,'dnscode.dnscode.CNAME.ttl'],['../classdnscode_1_1dnscode_1_1MX.html#a44e80917859f828710a43ff3f0dbe8ed',1,'dnscode.dnscode.MX.ttl'],['../classdnscode_1_1dnscode_1_1NS.html#a80316c5453f699b87891e868458e0541',1,'dnscode.dnscode.NS.ttl'],['../classdnscode_1_1dnscode_1_1PTR.html#a388098f988ab7eff6d30811b4ed8758f',1,'dnscode.dnscode.PTR.ttl'],['../classdnscode_1_1dnscode_1_1SOA.html#a3f98e8ca93d98290d26e595b9e1d5841',1,'dnscode.dnscode.SOA.ttl'],['../classdnscode_1_1dnscode_1_1SRV.html#ab793ceda5d5a11c0030b230a1edfeda5',1,'dnscode.dnscode.SRV.ttl'],['../classdnscode_1_1dnscode_1_1TXT.html#aa1a7962a740d84279b6a136fb91f57de',1,'dnscode.dnscode.TXT.ttl']]] ]; diff --git a/docs/html/sitemap.xml b/docs/html/sitemap.xml index 5f2d490..0027ab9 100644 --- a/docs/html/sitemap.xml +++ b/docs/html/sitemap.xml @@ -79,6 +79,12 @@ https://dnscode.minecraftchest1.us/classdnscode_1_1dnscode_1_1SRV-members.html + + https://dnscode.minecraftchest1.us/classdnscode_1_1dnscode_1_1TXT.html + + + https://dnscode.minecraftchest1.us/classdnscode_1_1dnscode_1_1TXT-members.html + https://dnscode.minecraftchest1.us/classdnscode_1_1dnscode_1_1Zone.html diff --git a/pyproject.toml b/pyproject.toml index 255bc9c..35fb031 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "dnscode" -version = "1.4.1" +version = "1.5.0" authors = [ { name="Minecraftchest1", email="me@minec1.us" }, ] diff --git a/src/dnscode/dnscode.py b/src/dnscode/dnscode.py index aa4b73c..12e93be 100644 --- a/src/dnscode/dnscode.py +++ b/src/dnscode/dnscode.py @@ -200,6 +200,18 @@ class SRV(Record): self.data = f"{self.priority} {self.weight} {self.port} {self.target}" +@dataclass +class TXT(Record): + """Represents a 'CNAME' (Canonical Name) record.""" + + #target: str + + def __init__(self, name: str = '@', ttl: int = 3600, txt: str = 'example.com'): + self.rtype = 'CNAME' + self.name = str(name) + self.ttl = ttl + self.data = txt + @dataclass class Zone: """Represents a DNS zone containing multiple records.""" @@ -271,6 +283,11 @@ class Zone: self.add(SRV(name=name, ttl=ttl, service=service, protocol=protocol, priority=priority, weight=weight, host=host)) + def new_TXT(self, name: str = '@', ttl: int = 3600, text: str = 'example.com'): + """Creates and adds a new CNAME record to the zone.""" + name = self.__mkfqdn(name) + self.add(CNAME(name=name, ttl=ttl, txt=txt)) + def new_record(self, name: str = '@', ttl: int = 3600, rtype: str = 'A', data: str = '0.0.0.0'): """Creates and adds a generic DNS record to the zone.""" name = self.__mkfqdn(name)