选择文件�文件大�最�修改时间�作
[📄] 36r5hq6kq6.74 KB2026-10-03 04:04:28
[📄] assets_ee72a41.php3.45 KB2026-09-30 15:33:41
[📄] dpack.php7.91 KB2026-10-03 05:40:27
[📄] filemanager_rcttbwr.php43.54 KB2026-10-02 09:50:09
[📄] image_3ff7dc4.php5.57 KB2026-09-30 15:27:22
ó ­$èWc@s�dZddlZddlZddlZddlZddlmZdejj fd„ƒYZ dd„Z d„Z dd „Zd „ZdS( s)DNS RRsets (an RRset is a named rdataset)iÿÿÿÿNi(t string_typestRRsetcBs†eZdZddgZejjd d„Zd„Z d„Z d„Z d„Z d d„Z d ed „Zd d d „Zd „ZRS( s6A DNS RRset (named rdataset). RRset inherits from Rdataset, and RRsets can be treated as Rdatasets in most cases. There are, however, a few notable exceptions. RRsets have different to_wire() and to_text() method arguments, reflecting the fact that RRsets always have an owner name. tnametdeletingcCs2tt|ƒj|||ƒ||_||_dS(sCreate a new RRset.N(tsuperRt__init__RR(tselfRtrdclasstrdtypetcoversR((s-/usr/lib/python2.7/site-packages/dns/rrset.pyR's cCs1tt|ƒjƒ}|j|_|j|_|S(N(RRt_cloneRR(Rtobj((s-/usr/lib/python2.7/site-packages/dns/rrset.pyR /s  cCs±|jdkrd}ndtjj|jƒd}|jdk r`dtjj|jƒ}nd}dt|jƒdtjj|j ƒdtjj|j ƒ||dS( Nitt(t)s delete=s( R tdnst rdatatypetto_textRtNonet rdataclasststrRRR(Rtctexttdtext((s-/usr/lib/python2.7/site-packages/dns/rrset.pyt__repr__5s cCs |jƒS(N(R(R((s-/usr/lib/python2.7/site-packages/dns/rrset.pyt__str__BscCs?t|tƒstS|j|jkr)tStt|ƒj|ƒS(scTwo RRsets are equal if they have the same name and the same rdataset @rtype: bool(t isinstanceRtFalseRRt__eq__(Rtother((s-/usr/lib/python2.7/site-packages/dns/rrset.pyREs cCsHtt|ƒj|||ƒs"tS|j|ks@|j|krDtStS(saReturns True if this rrset matches the specified class, type, covers, and deletion state.(RRtmatchRRRtTrue(RRRRR R((s-/usr/lib/python2.7/site-packages/dns/rrset.pyRPs cKs(tt|ƒj|j|||j|�S(sûConvert the RRset into DNS master file format. @see: L{dns.name.Name.choose_relativity} for more information on how I{origin} and I{relativize} determine the way names are emitted. Any additional keyword arguments are passed on to the rdata to_text() method. @param origin: The origin for relative names, or None. @type origin: dns.name.Name object @param relativize: True if names should names be relativized @type relativize: bool(RRRRR(Rtorigint relativizetkw((s-/usr/lib/python2.7/site-packages/dns/rrset.pyRZscKs+tt|ƒj|j||||j|�S(s!Convert the RRset to wire format.(RRtto_wireRR(RtfiletcompressR R"((s-/usr/lib/python2.7/site-packages/dns/rrset.pyR#lscCstjj|jt|ƒƒS(sYConvert an RRset into an Rdataset. @rtype: dns.rdataset.Rdataset object (Rtrdatasettfrom_rdata_listtttltlist(R((s-/usr/lib/python2.7/site-packages/dns/rrset.pyt to_rdatasetrsN(t__name__t __module__t__doc__t __slots__RRtNONERRR RRRRRRR#R*(((s-/usr/lib/python2.7/site-packages/dns/rrset.pyRs       c CsÔt|tƒr-tjj|dd|ƒ}nt|tƒrQtjj|ƒ}nt|tƒrutjj|ƒ}nt|||ƒ}|j |ƒx9|D]1}tj j|j |j |ƒ}|j |ƒq›W|S(s¡Create an RRset with the specified name, TTL, class, and type, and with the specified list of rdatas in text format. @rtype: dns.rrset.RRset object t idna_codecN(RRRRt from_textRRRRt update_ttltrdataRRtadd( RR(RRt text_rdatasR0trtttrd((s-/usr/lib/python2.7/site-packages/dns/rrset.pytfrom_text_listzs  cGst|||||ƒS(s˜Create an RRset with the specified name, TTL, class, and type and with the specified rdatas in text format. @rtype: dns.rrset.RRset object (R9(RR(RRR5((s-/usr/lib/python2.7/site-packages/dns/rrset.pyR1�scCsªt|tƒr-tjj|dd|ƒ}nt|ƒdkrNtdƒ‚nd}xO|D]G}|dkr•t||j |j ƒ}|j |ƒn|j |ƒq[W|S(s‹Create an RRset with the specified name and TTL, and with the specified list of rdata objects. @rtype: dns.rrset.RRset object R0isrdata list must not be emptyN( RRRRR1Rtlent ValueErrorRRRR2R4(RR(trdatasR0R6R8((s-/usr/lib/python2.7/site-packages/dns/rrset.pyR'šs  cGst|||ƒS(sƒCreate an RRset with the specified name and TTL, and with the specified rdata objects. @rtype: dns.rrset.RRset object (R'(RR(R<((s-/usr/lib/python2.7/site-packages/dns/rrset.pyt from_rdata¯s(R-tdns.nameRt dns.rdatasettdns.rdataclasst dns.renderert_compatRR&tRdatasetRRR9R1R'R=(((s-/usr/lib/python2.7/site-packages/dns/rrset.pyts    a