ó
    ÌÅLgY
 ã                   óL
  • S r SSKrSSKrSSKrSSKrSSKJrJrJrJ	r	J
r
JrJr  SSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKr " S S\R@                  RB                  5      r" " S S\R@                  RB                  5      r# " S S	\R@                  RH                  5      r% " S
 S\R@                  RB                  5      r& " S S\R@                  RB                  5      r' " S S\R@                  RH                  5      r( " S S\R@                  RH                  5      r) " S S\R@                  RH                  5      r* " S S\R@                  RH                  5      r+ " S S\R@                  RH                  5      r, " S S\R@                  RZ                  5      r. " S S\R                  R^                  5      r0 " S S5      r1Sr2Sr3\
\4\Rj                  Rl                  \Rn                  Rp                  \Rr                  Rt                  \	\Rr                  Rt                     \	\Rn                  Rp                     4   r;\\;\Rx                  Rz                  4   r>\\4\?\\Rx                  Rz                     4   r@ " S  S!5      rA " S" S#5      rB " S$ S%\A5      rCS& rDS' rE " S( S)5      rF           SXS+\GS,\	\   S-\	\G   S.\HS/\	\Rj                  Rl                     S0\	\\R’                  R”                  \R’                  R–                  4      S1\HS2\HS3\HS4\HS5\HS6\HS7\A4S8 jjrL " S9 S:5      rM     SYS;\?S<\	\Rj                  Rœ                     S3\HS/\	\Rj                  Rl                     S=\HS>\	\Rj                  Rl                     S7\A4S? jjrO  SZS@\S<\	\Rj                  Rœ                     S3\HS7\A4SA jjrP\Rn                  R¢                  SS*SSSSSS\R¤                  R¦                  S4SB\\Rj                  Rl                  \?4   SC\\Rr                  Rt                  \?4   SD\\Rn                  Rp                  \?4   SE\	\\4\H4      SF\HSG\	\4   SH\	\4   SI\	\4   SJ\	\\R¨                  Rª                        S<\	\Rj                  Rœ                     SK\	\4   SL\4SM\4S7\C4SN jjrV " SO SP\R®                  5      rX      S[SQ\ASR\HSS\4ST\4SU\4SM\	\4   SV\	\X   S7\A4SW jjrY\0R´                  rZ\0R¶                  r[\0R¸                  r\\0Rº                  r]g)\zDNS Messagesé    N)ÚAnyÚDictÚListÚOptionalÚTupleÚUnionÚcastc                   ó   • \ rS rSrSrSrg)ÚShortHeaderé.   z2The DNS packet passed to from_wire() is too short.© N©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú__static_attributes__r   ó    Ú-/usr/lib/python3/dist-packages/dns/message.pyr   r   .   s   † Ü<r   r   c                   ó   • \ rS rSrSrSrg)ÚTrailingJunké2   zEThe DNS packet passed to from_wire() has extra junk at the end of it.r   Nr   r   r   r   r   r   2   s   † ÜOr   r   c                   ó   • \ rS rSrSrSrg)ÚUnknownHeaderFieldé6   zRThe header field name was not recognized when converting from text
into a message.r   Nr   r   r   r   r   r   6   s   † ôr   r   c                   ó   • \ rS rSrSrSrg)ÚBadEDNSé;   zHAn OPT record occurred somewhere other than
the additional data section.r   Nr   r   r   r   r   r   ;   ó   † ô$r   r   c                   ó   • \ rS rSrSrSrg)ÚBadTSIGé@   zSA TSIG record occurred somewhere other than the end of
the additional data section.r   Nr   r   r   r   r"   r"   @   r    r   r"   c                   ó   • \ rS rSrSrSrg)ÚUnknownTSIGKeyéE   z(A TSIG with an unknown key was received.r   Nr   r   r   r   r%   r%   E   s   † Ü2r   r%   c                   ó8   ^ • \ rS rSrSrS1rU 4S jrS rSrU =r	$ )Ú	TruncatedéI   zThe truncated flag is set.Úmessagec                 ó&   >• [         TU ]  " U0 UD6  g ©N)ÚsuperÚ__init__)ÚselfÚargsÚkwargsÚ	__class__s      €r   r.   ÚTruncated.__init__P   s   ø€ Ü‰Ò˜$Ð) &Ó)r   c                 ó    • U R                   S   $ )zRAs much of the message as could be processed.

Returns a ``dns.message.Message``.
r*   )r1   ©r/   s    r   r*   ÚTruncated.messageS   s   € ð
 �{‰{˜9Ñ%Ð%r   r   )
r   r   r   r   r   Úsupp_kwargsr.   r*   r   Ú__classcell__)r2   s   @r   r(   r(   I   s   ø† Ù$à�+€Kõ*÷&ð &r   r(   c                   ó   • \ rS rSrSrSrg)ÚNotQueryResponseé[   z%Message is not a response to a query.r   Nr   r   r   r   r:   r:   [   s   † Ü/r   r:   c                   ó   • \ rS rSrSrSrg)ÚChainTooLongé_   zThe CNAME chain is too long.r   Nr   r   r   r   r=   r=   _   s   † Ü&r   r=   c                   ó   • \ rS rSrSrSrg)ÚAnswerForNXDOMAINéc   z.The rcode is NXDOMAIN but an answer was found.r   Nr   r   r   r   r@   r@   c   s   † Ü8r   r@   c                   ó   • \ rS rSrSrSrg)ÚNoPreviousNameég   zNo previous name was known.r   Nr   r   r   r   rC   rC   g   s   † Ü%r   rC   c                   ó8   • \ rS rSrSrSrSrSrSr\	S 5       r
Srg	)
ÚMessageSectionék   zMessage sectionsr   é   é   é   c                 ó   • g©NrJ   r   )Úclss    r   Ú_maximumÚMessageSection._maximums   s   € àr   r   N)r   r   r   r   r   ÚQUESTIONÚANSWERÚ	AUTHORITYÚ
ADDITIONALÚclassmethodrN   r   r   r   r   rF   rF   k   s+   † Ùà€HØ€FØ€IØ€Jàñó ór   rF   c                   ó&   • \ rS rSrS\S\4S jrSrg)ÚMessageErroréx   Ú	exceptionÚoffsetc                 ó   • Xl         X l        g r,   ©rX   rY   )r/   rX   rY   s      r   r.   ÚMessageError.__init__y   s   € Ø"ŒØ�r   r[   N)r   r   r   r   Ú	ExceptionÚintr.   r   r   r   r   rV   rV   x   s   † ð )ð °S÷ r   rV   iÐ  é   c                   ó0  • \ rS rSrSr\rS^S\\   4S jjr	\
S\\R                  R                     4S j5       r\R                   S 5       r\
S\\R                  R                     4S	 j5       r\R                   S
 5       r\
S\\R                  R                     4S j5       r\R                   S 5       r\
S\\R                  R                     4S j5       r\R                   S 5       rS rS r  S_S\\R,                  R.                     S\S\\\4   S\4S jjrS rS rSS S\4S jrS\\R                  R                     S\4S jr S\S\\R                  R                     4S jr!\RD                  RF                  SSSS4S\$S\R,                  R.                  S\RJ                  RL                  S \RD                  RN                  S!\RD                  RN                  S"\\RJ                  RL                     S#\S$\S%\\R,                  RP                     S\R                  R                  4S& jjr)\RD                  RF                  SSSS4S\$S\R,                  R.                  S\RJ                  RL                  S \RD                  RN                  S!\RD                  RN                  S"\\RJ                  RL                     S#\S$\S%\\R,                  RP                     S\\R                  R                     4S' jjr*S\$S\4S( jr+S\4S) jr,S\4S* jr-      S`S\\R,                  R.                     S,\S-\S.\\   S/\S0\S\\\4   S\.4S1 jjr/\0S2 5       r1SS3SS+S4\Rd                  Rf                  4S5\S6\\4\R,                  R.                  \4      S7\S8\\   S9\S:\.S;\4\R,                  R.                  \4   SS4S< jjr5\
S\\R,                  R.                     4S= j5       r6\
S\\R,                  R.                     4S> j5       r7\
S\\.   4S? j5       r8\
S\\   4S@ j5       r9\
S\4SA j5       r:\0S+\;S4SB j5       r<S+S+\;SSS+4SC\\4\\4      SD\SE\SF\\   SG\\\Rz                  R|                        SH\SS4SI jjr?\
S\4SJ j5       r=\
S\4SK j5       r@\@R                   SL 5       r@\
S\4SM j5       rA\
S\B4SN j5       rCSaSO\SS4SP jjrDS\RŠ                  RŒ                  4SQ jrESR\RŠ                  RŒ                  SS4SS jrGS\R�                  R’                  4ST jrHSU\R�                  R’                  SS4SV jrJSW\Rz                  R–                  S\\Rz                  R|                     4SX jrLS\\Rz                  Rš                     4SY jrNSZ rOS[ rPS\ rQS]rRg)bÚMessageé�   zA DNS message.NÚidc                 ó8  • Uc$  [         R                  R                  5       U l        OXl        SU l        / / / / /U l        S U l        SU l        SU l        S U l	        S U l
        SU l        SU l        S U l        S U l        0 U l        / U l        SU l        S U l        g )Nr   r   Fg        )ÚdnsÚentropyÚ	random_16rc   ÚflagsÚsectionsÚoptÚrequest_payloadÚpadÚkeyringÚtsigÚrequest_macÚxfrÚoriginÚtsig_ctxÚindexÚerrorsÚtimeÚwire)r/   rc   s     r   r.   ÚMessage.__init__’   s”   € Ø‰:Ü—k‘k×+Ñ+Ó-ˆD�GàŒGØˆŒ
Ø68¸"¸bÀ"Ð5EˆŒØ.2ˆŒØ ˆÔØˆŒØ ˆŒØ/3ˆŒ	ØˆÔØˆŒØ/3ˆŒØ'+ˆŒØ "ˆŒ
Ø*,ˆŒØˆŒ	Ø%)ˆ�	r   Úreturnc                 ó    • U R                   S   $ )zThe question section.r   ©ri   r5   s    r   ÚquestionÚMessage.question§   ó   € ð �}‰}˜QÑÐr   c                 ó    • XR                   S'   g ©Nr   rz   ©r/   Úvs     r   r{   r|   ¬   ó   € à�‰�aÒr   c                 ó    • U R                   S   $ )zThe answer section.rH   rz   r5   s    r   ÚanswerÚMessage.answer°   r}   r   c                 ó    • XR                   S'   g )NrH   rz   r€   s     r   r„   r…   µ   r‚   r   c                 ó    • U R                   S   $ )zThe authority section.rI   rz   r5   s    r   Ú	authorityÚMessage.authority¹   r}   r   c                 ó    • XR                   S'   g )NrI   rz   r€   s     r   rˆ   r‰   ¾   r‚   r   c                 ó    • U R                   S   $ )zThe additional data section.rJ   rz   r5   s    r   Ú
additionalÚMessage.additionalÂ   r}   r   c                 ó    • XR                   S'   g rL   rz   r€   s     r   rŒ   r�   Ç   r‚   r   c                 ó8   • S[        U R                  5      -   S-   $ )Nz<DNS message, ID Ú>)Úreprrc   r5   s    r   Ú__repr__ÚMessage.__repr__Ë   s   € Ø"¤T¨$¯'©'£]Ñ2°SÑ8Ð8r   c                 ó"   • U R                  5       $ r,   )Úto_textr5   s    r   Ú__str__ÚMessage.__str__Î   s   € Ø�|‰|‹~Ðr   rq   Ú
relativizeÚkwc           	      ó¾  • [         R                  " 5       nUR                  SU R                  -  5        UR                  S[        R
                  R                  U R                  5       5       S35        UR                  S[        R                  R                  U R                  5       5       S35        UR                  S[        R                  R                  U R                  5       S35        U R                  S:¼  a‰  UR                  SU R                   S35        U R                  S:w  a<  UR                  S[        R                  R                  U R                  5       S35        UR                  S	U R                  -  5        U R                   H&  nUR                  S
UR                  5        S35        M(     U R                  R                  R!                  5        He  u  pgUR                  SU S35        U R#                  U5       H6  nUR                  UR                  " X40 UD65        UR                  S5        M8     Mg     UR%                  5       SS $ )zœConvert the message to text.

The *origin*, *relativize*, and any other keyword
arguments are passed to the RRset ``to_wire()`` method.

Returns a ``str``.
zid %d
zopcode Ú
zrcode zflags r   zedns zeflags zpayload %d
zoption Ú;Néÿÿÿÿ)ÚioÚStringIOÚwriterc   re   Úopcoder•   Úrcoderh   ÚednsÚ	ednsflagsÚedns_to_textÚpayloadÚoptionsÚ_section_enumÚ__members__ÚitemsÚsection_from_numberÚgetvalue)	r/   rq   r˜   r™   Úsrj   ÚnameÚwhichÚrrsets	            r   r•   ÚMessage.to_textÑ   s¿  € ô �KŠK‹MˆØ	�‰�	˜DŸG™GÑ#Ô$Ø	�‰�'œ#Ÿ*™*×,Ñ,¨T¯[©[«]Ó;Ð<¸BÐ?Ô@Ø	�‰�&œŸ™×*Ñ*¨4¯:©:«<Ó8Ð9¸Ð<Ô=Ø	�‰�&œŸ™×*Ñ*¨4¯:©:Ó6Ð7°rÐ:Ô;Ø�9‰9˜‹>Ø�G‰G�e˜DŸI™I˜; bÐ)Ô*Ø�~‰~ Ó"Ø—‘˜'¤#§)¡)×"8Ñ"8¸¿¹Ó"HÐ!IÈÐLÔMØ�G‰G�N T§\¡\Ñ1Ô2Ø—<”<ˆCØ�G‰G�g˜cŸk™k›m˜_¨BÐ/Ö0ñ  à×-Ñ-×9Ñ9×?Ñ?ÖA‰KˆDØ�G‰G�a˜�v˜R�LÔ!Ø×1Ñ1°%Ö8�Ø—‘˜Ÿš fÑ?¸BÑ?Ô@Ø—‘˜–ó 9ñ Bð �z‰z‹|˜C˜RÐ Ð r   c                 ó:  • [        U[        5      (       d  gU R                  UR                  :w  a  gU R                  UR                  :w  a  g[	        U R
                  5       H6  u  p#UR
                  U   nU H  nXT;  d  M
      g   U H  nXS;  d  M
      g   M8     g)zƒTwo messages are equal if they have the same content in the
header, question, answer, and authority sections.

Returns a ``bool``.
FT)Ú
isinstancera   rc   rh   Ú	enumerateri   )r/   ÚotherÚiÚsectionÚother_sectionÚns         r   Ú__eq__ÚMessage.__eq__÷   sŠ   € ô ˜%¤×)Ñ)ØØ�7‰7�e—h‘hÓØØ�:‰:˜Ÿ™Ó$ØÜ# D§M¡MÖ2‰JˆAØ!ŸN™N¨1Ñ-ˆMÛ�ØÕ)Ú ñ ó #�ØÕ#Ú ó #ñ 3ð r   c                 ó.   • U R                  U5      (       + $ r,   )rº   )r/   rµ   s     r   Ú__ne__ÚMessage.__ne__  s   € Ø—;‘;˜uÓ%Ô%Ð%r   rµ   c                 óJ  • UR                   [        R                   R                  -  S:X  dn  U R                  UR                  :w  dT  [        R                  R                  U R                   5      [        R                  R                  UR                   5      :w  a  gUR                  5       [        R                  R                  [        R                  R                  [        R                  R                  [        R                  R                  1;   a  [        UR                  5      S:X  a  g[        R                  R                  U R                   5      (       a  gU R                   H  nX!R                  ;  d  M    g   UR                   H  nX R                  ;  d  M    g   g)z]Is *other*, also a ``dns.message.Message``, a response to this
message?

Returns a ``bool``.
r   FT)rh   re   ÚQRrc   r¡   Ú
from_flagsr¢   ÚFORMERRÚSERVFAILÚNOTIMPÚREFUSEDÚlenr{   Ú	is_update)r/   rµ   r¹   s      r   Úis_responseÚMessage.is_response  s  € ð �K‰Kœ#Ÿ)™)Ÿ,™,Ñ&¨!Ó+Ø�w‰w˜%Ÿ(™(Ó"Ü�z‰z×$Ñ$ T§Z¡ZÓ0´C·J±J×4IÑ4IÈ%Ï+É+Ó4VÓVàØ�;‰;‹=Ü�I‰I×ÑÜ�I‰I×ÑÜ�I‰I×ÑÜ�I‰I×Ñð	
ó 
ô �5—>‘>Ó" aÓ'ØÜ�:‰:×Ñ §
¡
×+Ñ+ð
 Ø—”ˆAØŸ™Õ&Ùñ ð —”ˆAØŸ™Õ%Ùñ  ð r   r·   c                 ó‚   • [        U R                  5       H  u  p#XL d  M  U R                  U5      s  $    [        S5      e)zÏReturn the "section number" of the specified section for use
in indexing.

*section* is one of the section attributes of this message.

Raises ``ValueError`` if the section isn't known.

Returns an ``int``.
zunknown section)r´   ri   r¨   Ú
ValueError)r/   r·   r¶   Úour_sections       r   Úsection_numberÚMessage.section_number7  s>   € ô (¨¯©Ö6‰NˆAØÔ%Ø×)Ñ)¨!Ó,Ò,ñ 7ô Ð*Ó+Ð+r   Únumberc                 óV   • U R                   R                  U5      nU R                  U   $ )zÖReturn the section list associated with the specified section
number.

*number* is a section number `int` or the text form of a section
name.

Raises ``ValueError`` if the section isn't known.

Returns a ``list``.
)r¨   Úmakeri   )r/   rÏ   r·   s      r   r«   ÚMessage.section_from_numberG  s)   € ð ×$Ñ$×)Ñ)¨&Ó1ˆØ�}‰}˜WÑ%Ð%r   Fr®   ÚrdclassÚrdtypeÚcoversÚdeletingÚcreateÚforce_uniqueÚ
idna_codecc
                 ó"  • [        U[        5      (       a  Un
U R                  U
5      nOS[        U[        5      (       a-  U R                  R                  U5      n
U R                  U
5      nOU R                  U5      n
[        U[        5      (       a  [        R                  R                  X)S9n[        R                  R                  R                  U5      n[        R                  R                  R                  U5      n[        R                  R                  R                  U5      nUb)  [        R                  R                  R                  U5      nX¢X4XV4nU(       dS  U R                  b!  U R                  R                  U5      nUb  U$ O%U H  nUR!                  X#XEU5      (       d  M  Us  $    U(       d  ["        e[        R$                  R'                  X#XEU5      nUR)                  U5        U R                  b  XÀR                  U'   U$ )a¶  Find the RRset with the given attributes in the specified section.

*section*, an ``int`` section number, a ``str`` section name, or one of
the section attributes of this message.  This specifies the
the section of the message to search.  For example::

    my_message.find_rrset(my_message.answer, name, rdclass, rdtype)
    my_message.find_rrset(dns.message.ANSWER, name, rdclass, rdtype)
    my_message.find_rrset("ANSWER", name, rdclass, rdtype)

*name*, a ``dns.name.Name`` or ``str``, the name of the RRset.

*rdclass*, an ``int`` or ``str``, the class of the RRset.

*rdtype*, an ``int`` or ``str``, the type of the RRset.

*covers*, an ``int`` or ``str``, the covers value of the RRset.
The default is ``dns.rdatatype.NONE``.

*deleting*, an ``int``, ``str``, or ``None``, the deleting value of the
RRset.  The default is ``None``.

*create*, a ``bool``.  If ``True``, create the RRset if it is not found.
The created RRset is appended to *section*.

*force_unique*, a ``bool``.  If ``True`` and *create* is also ``True``,
create a new RRset regardless of whether a matching RRset exists
already.  The default is ``False``.  This is useful when creating
DDNS Update messages, as order matters for them.

*idna_codec*, a ``dns.name.IDNACodec``, specifies the IDNA
encoder/decoder.  If ``None``, the default IDNA 2003 encoder/decoder
is used.

Raises ``KeyError`` if the RRset was not found and create was
``False``.

Returns a ``dns.rrset.RRset object``.
©rÙ   )r³   r^   r«   Ústrr¨   Ú	from_textrÍ   re   r®   Ú	rdatatypeÚ	RdataTyperÑ   Ú
rdataclassÚ
RdataClassrs   ÚgetÚ
full_matchÚKeyErrorr°   ÚRRsetÚappend)r/   r·   r®   rÓ   rÔ   rÕ   rÖ   r×   rØ   rÙ   rÍ   Úkeyr°   s                r   Ú
find_rrsetÚMessage.find_rrsetV  s£  € ôh �gœs×#Ñ#Ø$ˆNØ×.Ñ.¨~Ó>‰GÜ˜¤×%Ñ%Ø!×/Ñ/×9Ñ9¸'ÓBˆNØ×.Ñ.¨~Ó>‰Gà!×0Ñ0°Ó9ˆNÜ�dœC× Ñ Ü—8‘8×%Ñ% dÐ%ÐBˆDÜ—‘×(Ñ(×-Ñ-¨fÓ5ˆÜ—.‘.×+Ñ+×0Ñ0°Ó9ˆÜ—‘×(Ñ(×-Ñ-¨fÓ5ˆØÑÜ—~‘~×0Ñ0×5Ñ5°hÓ?ˆHØ W°fÐGˆÞØ�z‰zÑ%ØŸ
™
Ÿ™ sÓ+�ØÑ$Ø �Lð %ó %�EØ×'Ñ'¨°vÀx×PÓPØ$šñ %ö ÜˆNÜ—	‘	—‘ ¨v¸xÓHˆØ�‰�uÔØ�:‰:Ñ!Ø#�J‰J�s‰OØˆr   c
                 ó`   •  U R                  UUUUUUUUU	5	      n
U
$ ! [         a    Sn
 U
$ f = f)a¢  Get the RRset with the given attributes in the specified section.

If the RRset is not found, None is returned.

*section*, an ``int`` section number, a ``str`` section name, or one of
the section attributes of this message.  This specifies the
the section of the message to search.  For example::

    my_message.get_rrset(my_message.answer, name, rdclass, rdtype)
    my_message.get_rrset(dns.message.ANSWER, name, rdclass, rdtype)
    my_message.get_rrset("ANSWER", name, rdclass, rdtype)

*name*, a ``dns.name.Name`` or ``str``, the name of the RRset.

*rdclass*, an ``int`` or ``str``, the class of the RRset.

*rdtype*, an ``int`` or ``str``, the type of the RRset.

*covers*, an ``int`` or ``str``, the covers value of the RRset.
The default is ``dns.rdatatype.NONE``.

*deleting*, an ``int``, ``str``, or ``None``, the deleting value of the
RRset.  The default is ``None``.

*create*, a ``bool``.  If ``True``, create the RRset if it is not found.
The created RRset is appended to *section*.

*force_unique*, a ``bool``.  If ``True`` and *create* is also ``True``,
create a new RRset regardless of whether a matching RRset exists
already.  The default is ``False``.  This is useful when creating
DDNS Update messages, as order matters for them.

*idna_codec*, a ``dns.name.IDNACodec``, specifies the IDNA
encoder/decoder.  If ``None``, the default IDNA 2003 encoder/decoder
is used.

Returns a ``dns.rrset.RRset object`` or ``None``.
N)rè   rä   )r/   r·   r®   rÓ   rÔ   rÕ   rÖ   r×   rØ   rÙ   r°   s              r   Ú	get_rrsetÚMessage.get_rrset«  sS   € ðf	Ø—O‘OØØØØØØØØØó
ˆEð ˆøô ó 	Ø‰EØˆð	ús   ‚ �-¬-c                 ó’  • [        U[        5      (       a  UnU R                  U5      nOS[        U[        5      (       a-  U R                  R                  U5      nU R                  U5      nOU R                  U5      n[        S U 5       5      nU[        R                  :X  a$  U R                  b  US-  nU R                  b  US-  nU$ )az  Returns the number of records in the specified section.

*section*, an ``int`` section number, a ``str`` section name, or one of
the section attributes of this message.  This specifies the
the section of the message to count.  For example::

    my_message.section_count(my_message.answer)
    my_message.section_count(dns.message.ANSWER)
    my_message.section_count("ANSWER")
c              3   óL   #   • U  H  n[        S [        U5      5      v •  M     g7f)rH   N)ÚmaxrÆ   )Ú.0Úrrss     r   Ú	<genexpr>Ú(Message.section_count.<locals>.<genexpr>  s   é € Ð8²¨”C˜œ3˜s›8×$Ð$²ùs   ‚"$rH   )r³   r^   r«   rÜ   r¨   rÝ   rÍ   ÚsumrF   rS   rj   rn   )r/   r·   rÍ   Úcounts       r   Úsection_countÚMessage.section_countî  s²   € ô �gœs×#Ñ#Ø$ˆNØ×.Ñ.¨~Ó>‰GÜ˜¤×%Ñ%Ø!×/Ñ/×9Ñ9¸'ÓBˆNØ×.Ñ.¨~Ó>‰Gà!×0Ñ0°Ó9ˆNÜÑ8±Ó8Ó8ˆØœ^×6Ñ6Ó6Ø�x‰xÑ#Ø˜‘
�Ø�y‰yÑ$Ø˜‘
�Øˆr   c                 óÜ   • U R                   (       d  gSnU R                   S   R                   H$  nUR                  5       nU[        U5      S-   -  nM&     U R                  (       a  US-  nU$ )z:Compute the size required for the OPT RR, padding excludedr   é   é   )rj   r§   Úto_wirerÆ   rl   )r/   ÚsizeÚoptionrv   s       r   Ú_compute_opt_reserveÚMessage._compute_opt_reserve
  s`   € à�x�xØàˆð
 —h‘h˜q‘k×)Ô)ˆFØ—>‘>Ó#ˆDà”C˜“I ‘MÑ!ŠDñ *ð �8�8à�A‰IˆDØˆr   c                 ó¸   • U R                   (       d  g[        R                  " 5       nU R                   R                  U5        [	        UR                  5       5      $ )z)Compute the size required for the TSIG RRr   )rn   rž   ÚBytesIOrû   rÆ   r¬   )r/   Úfs     r   Ú_compute_tsig_reserveÚMessage._compute_tsig_reserve  s<   € ð �y�yØÜ�JŠJ‹LˆØ�	‰	×Ñ˜!ÔÜ�1—:‘:“<Ó Ð r   r   Úmax_sizeÚmultirr   Úprepend_lengthÚprefer_truncationc           	      óÈ  • Uc  U R                   b  U R                   nUS:X  a  U R                  S:w  a  U R                  nOSnUS:  a  SnOUS:”  a  Sn[        R                  R	                  U R
                  U R                  X!5      nU R                  5       n	UR                  U	5        U R                  5       n
UR                  U
5         U R                   H4  nUR                  UR                  UR                  UR                  5        M6     U R                   H/  nUR                   " [        R                  R"                  U40 UD6  M1     U R$                   H/  nUR                   " [        R                  R&                  U40 UD6  M1     U R(                   H/  nUR                   " [        R                  R*                  U40 UD6  M1     UR5                  5         U R6                  b'  UR9                  U R6                  U R:                  Xš5        UR=                  5         U R>                  bø  [        R>                  RA                  URC                  5       U RD                  U R>                  S   [G        [H        RH                  " 5       5      U RJ                  UU5      u  pÍU R>                  RM                  5         U R>                  RO                  U5        UR!                  [        R                  R*                  U R>                  5        UR=                  5         U(       a  XÐl(        URC                  5       nXàl)        U(       a  [U        U5      RW                  SS5      U-   nU$ ! [        R,                  R.                   aa    U(       aX  UR0                  [        R                  R*                  :  a-  U=R                  [        R                  R2                  -  sl         GNe f = f)aØ  Return a string containing the message in DNS compressed wire
format.

Additional keyword arguments are passed to the RRset ``to_wire()``
method.

*origin*, a ``dns.name.Name`` or ``None``, the origin to be appended
to any relative names.  If ``None``, and the message has an origin
attribute that is not ``None``, then it will be used.

*max_size*, an ``int``, the maximum size of the wire format
output; default is 0, which means "the message's request
payload, if nonzero, or 65535".

*multi*, a ``bool``, should be set to ``True`` if this message is
part of a multiple message sequence.

*tsig_ctx*, a ``dns.tsig.HMACTSig`` or ``dns.tsig.GSSTSig`` object, the
ongoing TSIG context, used when signing zone transfers.

*prepend_length*, a ``bool``, should be set to ``True`` if the caller
wants the message length prepended to the message itself.  This is
useful for messages sent over TCP, TLS (DoT), or QUIC (DoQ).

*prefer_truncation*, a ``bool``, should be set to ``True`` if the caller
wants the message to be truncated if it would otherwise exceed the
maximum length.  If the truncation occurs before the additional section,
the TC bit will be set.

Raises ``dns.exception.TooBig`` if *max_size* was exceeded.

Returns a ``bytes``.
r   iÿÿ  i   rI   Úbig),rq   rk   re   ÚrendererÚRendererrc   rh   rþ   Úreserver  r{   Úadd_questionr®   rÔ   rÓ   r„   Ú	add_rrsetrQ   rˆ   rR   rŒ   rS   rX   ÚTooBigr·   ÚTCÚrelease_reservedrj   Úadd_optrl   Úwrite_headerrn   ÚsignÚget_wirerm   r^   ru   ro   ÚclearÚaddrr   rv   rÆ   Úto_bytes)r/   rq   r  r  rr   r  r  r™   ÚrÚopt_reserveÚtsig_reserver°   Únew_tsigÚctxrv   s                  r   rû   ÚMessage.to_wire*  s½  € ðX ‰>˜dŸk™kÑ5Ø—[‘[ˆFØ�q‹=Ø×#Ñ# qÓ(Ø×/Ñ/‘à �Ø�c‹>Ø‰HØ˜ÓØˆHÜ�L‰L×!Ñ! $§'¡'¨4¯:©:°xÓHˆØ×/Ñ/Ó1ˆØ	�	‰	�+ÔØ×1Ñ1Ó3ˆØ	�	‰	�,Ôð	ØŸœ�Ø—‘˜uŸz™z¨5¯<©<¸¿¹ÖGñ 'àŸœ�Ø—’œCŸL™L×/Ñ/°Ñ=¸"Ô=ñ %àŸœ�Ø—’œCŸL™L×2Ñ2°EÑ@¸RÔ@ñ (àŸœ�Ø—’œCŸL™L×3Ñ3°UÑA¸bÔAñ )ð 	
×ÑÔØ�8‰8ÑØ�I‰I�d—h‘h §¡¨+ÔDØ	�‰ÔØ�9‰9Ñ Ü!Ÿh™hŸm™mØ—
‘
“Ø—‘Ø—	‘	˜!‘Ü”D—I’I“KÓ Ø× Ñ ØØó‰OˆXð �I‰I�O‰OÔØ�I‰I�M‰M˜(Ô#Ø�K‰KœŸ™×/Ñ/°·±Ô;Ø�N‰NÔÞØ #”Ø�z‰z‹|ˆØŒ	ÞÜ�t“9×%Ñ% a¨Ó/°$Ñ6ˆDØˆøô= �}‰}×#Ñ#ó 	Þ Ø—9‘9œsŸ|™|×6Ñ6Ó6Ø—G’GœsŸy™yŸ|™|Ñ+•Gúàð	ús   ÃDM" Í"A:O!ÏO!c                 ó  • [         R                  R                  R                  R                  [         R                  R                  [         R
                  R                  UUUUUUU5	      n[         R                  R                  U SU5      $ r   )re   ÚrdtypesÚANYÚTSIGrà   rÞ   r°   Ú
from_rdata)	ÚkeynameÚ	algorithmÚtime_signedÚfudgeÚmacÚoriginal_idÚerrorrµ   rn   s	            r   Ú
_make_tsigÚMessage._make_tsig�  sl   € ô �{‰{�‰×#Ñ#×(Ñ(Ü�N‰N×ÑÜ�M‰M×ÑØØØØØØØó

ˆô �y‰y×#Ñ# G¨Q°Ó5Ð5r   é,  r   rm   r%  r(  r*  Ú
tsig_errorÚ
other_datar&  c           
      óž  • [        U[        R                  R                  5      (       a  UnUR                  nO�[        U5      (       a	  U" X5      nO„[        U[        5      (       a  [        R                  R                  U5      nUc  [        [        U5      5      nX   n[        U[        5      (       a   [        R                  R                  X(U5      nX€l        Uc  U R                  nU R                  UU R                  R                  SUS[        R                  R                  U R                  R                     -  UUU5      U l        g)aÀ  When sending, a TSIG signature using the specified key
should be added.

*key*, a ``dns.tsig.Key`` is the key to use.  If a key is specified,
the *keyring* and *algorithm* fields are not used.

*keyring*, a ``dict``, ``callable`` or ``dns.tsig.Key``, is either
the TSIG keyring or key to use.

The format of a keyring dict is a mapping from TSIG key name, as
``dns.name.Name`` to ``dns.tsig.Key`` or a TSIG secret, a ``bytes``.
If a ``dict`` *keyring* is specified but a *keyname* is not, the key
used will be the first key in the *keyring*.  Note that the order of
keys in a dictionary is not defined, so applications should supply a
keyname when a ``dict`` keyring is used, unless they know the keyring
contains only one key.  If a ``callable`` keyring is specified, the
callable will be called with the message and the keyname, and is
expected to return a key.

*keyname*, a ``dns.name.Name``, ``str`` or ``None``, the name of
this TSIG key to use; defaults to ``None``.  If *keyring* is a
``dict``, the key must be defined in it.  If *keyring* is a
``dns.tsig.Key``, this is ignored.

*fudge*, an ``int``, the TSIG time fudge.

*original_id*, an ``int``, the TSIG original id.  If ``None``,
the message's id is used.

*tsig_error*, an ``int``, the TSIG error code.

*other_data*, a ``bytes``, the TSIG other data.

*algorithm*, a ``dns.name.Name`` or ``str``, the TSIG algorithm to use.  This is
only used if *keyring* is a ``dict``, and the key entry is a ``bytes``.
Nr   ó    )r³   re   rn   ÚKeyr®   ÚcallablerÜ   rÝ   ÚnextÚiterÚbytesrm   rc   r,  r&  Ú	mac_sizes)	r/   rm   r%  r(  r*  r/  r0  r&  rç   s	            r   Úuse_tsigÚMessage.use_tsig   sþ   € ô^ �gœsŸx™xŸ|™|×,Ñ,ØˆCØ—h‘h‰GÜ�g×ÑÙ˜$Ó(‰Cä˜'¤3×'Ñ'ÜŸ(™(×,Ñ,¨WÓ5�Ø‰Üœt G›}Ó-�ØÑ"ˆCÜ˜#œu×%Ñ%Ü—h‘h—l‘l 7°Ó;�ØŒØÑØŸ'™'ˆKØ—O‘OØØ�L‰L×"Ñ"ØØØ”c—h‘h×(Ñ(¨¯©×)?Ñ)?Ñ@Ñ@ØØØó	
ˆ�	r   c                 óR   • U R                   (       a  U R                   R                  $ g r,   )rn   r®   r5   s    r   r%  ÚMessage.keynameê  s   € à�9�9Ø—9‘9—>‘>Ð!àr   c                 óX   • U R                   (       a  U R                   S   R                  $ g r   )rn   r&  r5   s    r   ÚkeyalgorithmÚMessage.keyalgorithmñ  s    € à�9�9Ø—9‘9˜Q‘<×)Ñ)Ð)àr   c                 óX   • U R                   (       a  U R                   S   R                  $ g r   )rn   r)  r5   s    r   r)  ÚMessage.macø  s    € à�9�9Ø—9‘9˜Q‘<×#Ñ#Ð#àr   c                 óX   • U R                   (       a  U R                   S   R                  $ g r   )rn   r+  r5   s    r   r/  ÚMessage.tsig_errorÿ  s    € à�9�9Ø—9‘9˜Q‘<×%Ñ%Ð%àr   c                 ó,   • [        U R                  5      $ r,   )Úboolrn   r5   s    r   Úhad_tsigÚMessage.had_tsig  s   € ä�D—I‘I‹Ðr   c                 ó2  • [         R                  R                  R                  R                  U[         R                  R                  U=(       d    S5      n[         R
                  R                  [         R                  R                  [        U 5      U5      $ )Nr   )
re   r!  r"  ÚOPTrÞ   r°   r$  r®   Úrootr^   )rh   r¦   r§   rj   s       r   Ú	_make_optÚMessage._make_opt
  sW   € ä�k‰k�o‰o×!Ñ!×%Ñ% g¬s¯}©}×/@Ñ/@À'Ç-ÈRÓPˆÜ�y‰y×#Ñ#¤C§H¡H§M¡M´3°u³:¸sÓCÐCr   r£   r¤   r¦   rk   r§   rl   c                 óæ   • Ub  USL a  SnOUSL a  SnUS:  a  SU l         SU l        gUS-  nX!S-  -  nUc  / nU R                  X#U5      U l         Uc  UnX@l        US:  a  [        S5      eX`l        g)	a¯  Configure EDNS behavior.

*edns*, an ``int``, is the EDNS level to use.  Specifying ``None``, ``False``,
or ``-1`` means "do not use EDNS", and in this case the other parameters are
ignored.  Specifying ``True`` is equivalent to specifying 0, i.e. "use EDNS0".

*ednsflags*, an ``int``, the EDNS flag values.

*payload*, an ``int``, is the EDNS sender's payload field, which is the maximum
size of UDP datagram the sender can handle.  I.e. how big a response to this
message can be.

*request_payload*, an ``int``, is the EDNS payload size to use when sending this
message.  If not specified, defaults to the value of *payload*.

*options*, a list of ``dns.edns.Option`` objects or ``None``, the EDNS options.

*pad*, a non-negative ``int``.  If 0, the default, do not pad; otherwise add
padding bytes to make the message size a multiple of *pad*.  Note that if
padding is non-zero, an EDNS PADDING option will always be added to the
message.
NFr�   Tr   l   ÿ~ r_   zpad must be non-negative)rj   rk   rK  rË   rl   )r/   r£   r¤   r¦   rk   r§   rl   s          r   Úuse_ednsÚMessage.use_edns  s”   € ð@ ‰<˜4 5š=Ø‰DØ�TŠ\ØˆDØ�!‹8ØˆDŒHØ#$ˆDÕ ð ˜Ñ#ˆIØ ™Ñ#ˆIØ‰Ø�Ø—~‘~ i¸'ÓBˆDŒHØÑ&Ø")�Ø#2Ô Ø�Q‹wÜ Ð!;Ó<Ð<Ø�Hr   c                 óJ   • U R                   (       a  U R                  S-  S-	  $ g)Ni  ÿ r_   r�   )rj   r¤   r5   s    r   r£   ÚMessage.ednsD  s    € à�8�8Ø—N‘N XÑ-°"Ñ4Ð4àr   c                 óR   • U R                   (       a  U R                   R                  $ gr   )rj   Úttlr5   s    r   r¤   ÚMessage.ednsflagsK  s   € à�8�8Ø—8‘8—<‘<Ðàr   c                 ó„   • U R                   (       a  XR                   l        g U(       a  U R                  U5      U l         g g r,   )rj   rS  rK  r€   s     r   r¤   rT  R  s*   € à�8�8Ø�H‰H�LÞØ—~‘~ aÓ(ˆD�Hð r   c                 óX   • U R                   (       a  U R                   S   R                  $ gr   )rj   r¦   r5   s    r   r¦   ÚMessage.payloadY  s    € à�8�8Ø—8‘8˜A‘;×&Ñ&Ð&àr   c                 óX   • U R                   (       a  U R                   S   R                  $ g)Nr   r   )rj   r§   r5   s    r   r§   ÚMessage.options`  s    € à�8�8Ø—8‘8˜A‘;×&Ñ&Ð&àr   Úwantedc                 ó   • U(       a.  U =R                   [        R                  R                  -  sl         gU R                  (       a8  U =R                   [        [        R                  R                  5      ) -  sl         gg)zùEnable or disable 'DNSSEC desired' flag in requests.

*wanted*, a ``bool``.  If ``True``, then DNSSEC data is
desired in the response, EDNS is enabled if required, and then
the DO bit is set.  If ``False``, the DO bit is cleared if
EDNS is enabled.
N)r¤   re   rh   ÚDOrj   r^   )r/   rZ  s     r   Úwant_dnssecÚMessage.want_dnssecg  sG   € ö Ø�NŠNœcŸi™iŸl™lÑ*ŽNØ�X�XØ�NŠNœs¤3§9¡9§<¡<Ó0Ð0Ñ0ŽNð r   c                 óŽ   • [         R                  R                  [        U R                  5      [        U R
                  5      5      $ )z2Return the rcode.

Returns a ``dns.rcode.Rcode``.
)re   r¢   rÁ   r^   rh   r¤   r5   s    r   r¢   ÚMessage.rcodeu  s,   € ô
 �y‰y×#Ñ#¤C¨¯
©
£O´S¸¿¹Ó5HÓIÐIr   r¢   c                 óî   • [         R                  R                  U5      u  p#U =R                  S-  sl        U =R                  U-  sl        U =R                  S-  sl        U =R                  U-  sl        g)zESet the rcode.

*rcode*, a ``dns.rcode.Rcode``, is the rcode to set.
iðÿ  iÿÿÿ N)re   r¢   Úto_flagsrh   r¤   )r/   r¢   ÚvalueÚevalues       r   Ú	set_rcodeÚMessage.set_rcode|  sR   € ô
 Ÿ)™)×,Ñ,¨UÓ3‰ˆØ�
Š
�fÑ�
Ø�
Š
�eÑ�
Ø�Š˜*Ñ$�Ø�Š˜&Ñ Žr   c                 óf   • [         R                  R                  [        U R                  5      5      $ )z5Return the opcode.

Returns a ``dns.opcode.Opcode``.
)re   r¡   rÁ   r^   rh   r5   s    r   r¡   ÚMessage.opcode‡  s!   € ô
 �z‰z×$Ñ$¤S¨¯©£_Ó5Ð5r   r¡   c                 ó’   • U =R                   S-  sl         U =R                   [        R                  R                  U5      -  sl         g)zJSet the opcode.

*opcode*, a ``dns.opcode.Opcode``, is the opcode to set.
iÿ‡  N)rh   re   r¡   rb  )r/   r¡   s     r   Ú
set_opcodeÚMessage.set_opcodeŽ  s/   € ð
 	�
Š
�fÑ�
Ø�
Š
”c—j‘j×)Ñ)¨&Ó1Ñ1Ž
r   Úotypec                 óh   • U R                    Vs/ s H  o"R                  U:X  d  M  UPM     sn$ s  snf )z1Return the list of options of the specified type.)r§   rl  )r/   rl  rý   s      r   Úget_optionsÚMessage.get_options–  s'   € à%)§\¢\ÓK¢\˜6·\±\ÀUÑ5J—¡\ÑKÐKùÒKs   �/¦/c                 óº   • [        [        [        R                  R                     U R                  [        R                  R                  R                  5      5      $ )zBReturn the list of Extended DNS Error (EDE) options in the message)r	   r   re   r£   Ú	EDEOptionrn  Ú
OptionTypeÚEDEr5   s    r   Úextended_errorsÚMessage.extended_errorsš  s9   € ä”DœŸ™×+Ñ+Ñ,¨d×.>Ñ.>¼s¿x¹x×?RÑ?R×?VÑ?VÓ.WÓXÐXr   c                 ó   • U$ r,   r   )r/   rc  s     r   Ú_get_one_rr_per_rrsetÚMessage._get_one_rr_per_rrsetž  s   € àˆr   c                 ó   • X4S S4$ ©NFr   )r/   r·   r®   rÓ   rÔ   s        r   Ú_parse_rr_headerÚMessage._parse_rr_header¤  s   € Ø  uÐ-Ð-r   c                 ó˜  • U[         R                  R                  :X  aJ  U[        R                  :w  d/  U R
                  (       d  U[         R                  R                  :w  a  [        eO^U[         R                  R                  :X  a@  U[        R                  :w  d&  U[         R                  R                  :w  d  X2S-
  :w  a  [        eXVS S4$ )NrH   F)re   rÞ   rI  rF   rS   rj   r®   rJ  r   r#  r"  r"   )r/   r·   rõ   Úpositionr®   rÓ   rÔ   s          r   Ú_parse_special_rr_headerÚ Message._parse_special_rr_header©  s“   € Ø”S—]‘]×&Ñ&Ó&àœ>×4Ñ4Ó4Ø—8—8Øœ3Ÿ8™8Ÿ=™=Ó(ä�ð )ð ”s—}‘}×)Ñ)Ó)àœ>×4Ñ4Ó4ØœcŸm™m×/Ñ/Ó/Ø q™yÓ(ä�Ø  uÐ-Ð-r   )rt   rh   rc   rs   rm   rj   rq   rl   ro   rk   ri   ru   rn   rr   rv   rp   r,   )NT)Nr   FNFF)T)Sr   r   r   r   r   rF   r¨   r   r^   r.   Úpropertyr   re   r°   rå   r{   Úsetterr„   rˆ   rŒ   r’   r–   r®   ÚNamerE  r   rÜ   r   r•   rº   r½   rÈ   rÍ   r«   rÞ   ÚNONEÚSectionTyperà   rá   rß   Ú	IDNACodecrè   rë   rö   rþ   r  r7  rû   Ústaticmethodr,  rn   Údefault_algorithmr   r9  r%  r>  r)  r/  rF  ÚDEFAULT_EDNS_PAYLOADrK  r£   ÚOptionrN  r¤   r¦   r   r§   r]  r¢   ÚRcodere  r¡   ÚOpcoderj  rr  rn  rq  rt  rw  r{  r  r   r   r   r   ra   ra   �   s˜  † Ùà"€Mñ*˜8 C™=õ *ð* ð ˜$˜sŸy™yŸ™Ñ/ó  ó ð ð ‡_�_ñó ðð ð ˜˜SŸY™YŸ_™_Ñ-ó  ó ð ð ‡]�]ñó ðð ð ˜4 §	¡	§¡Ñ0ó  ó ð ð ×Ññó ðð ð ˜D §¡§¡Ñ1ó  ó ð ð ×Ññó ðò9òð
 +/Øñ$!à˜Ÿ™Ÿ™Ñ'ð$!ð ð$!ð �3˜�8‰nð	$!ð
 
õ$!òLò.&ð$ ð $¨tô $ðL, d¨3¯9©9¯?©?Ñ&;ð ,Àô ,ð &¨#ð &°$°s·y±y·±Ñ2Gô &ð* +.¯-©-×*<Ñ*<Ø8<ØØ"Ø37ñSàðSð �h‰h�m‰mðSð —‘×*Ñ*ð	Sð
 —‘×'Ñ'ðSð —‘×'Ñ'ðSð ˜3Ÿ>™>×4Ñ4Ñ5ðSð ðSð ðSð ˜SŸX™X×/Ñ/Ñ0ðSð 
�‰�‰õSðv +.¯-©-×*<Ñ*<Ø8<ØØ"Ø37ñAàðAð �h‰h�m‰mðAð —‘×*Ñ*ð	Að
 —‘×'Ñ'ðAð —‘×'Ñ'ðAð ˜3Ÿ>™>×4Ñ4Ñ5ðAð ðAð ðAð ˜SŸX™X×/Ñ/Ñ0ðAð 
�#—)‘)—/‘/Ñ	"õAðF [ð °Sô ð8 cô ð&! sô !ð +/ØØØ"&Ø$Ø"'ñcà˜Ÿ™Ÿ™Ñ'ðcð ðcð ð	cð
 ˜3‘-ðcð ðcð  ðcð �3˜�8‰nðcð 
õcðJ ñ6ó ð6ð& 8<ØØ%)ØØØ/2¯x©x×/IÑ/IñH
àðH
ð ˜% §¡§¡¨sÐ 2Ñ3Ñ4ðH
ð ð	H
ð
 ˜c‘]ðH
ð ðH
ð ðH
ð ˜Ÿ™Ÿ™¨Ð+Ñ,ðH
ð 
õH
ðT ð˜ #§(¡(§-¡-Ñ0ó ó ðð ð˜h s§x¡x§}¡}Ñ5ó ó ðð ð�X˜e‘_ó ó ðð ð˜H S™Mó ó ðð ð˜$ó ó ðð ØÐ#7Àó Dó ðDð ,-ØØ+Ø)-Ø37Øñ3à�u˜S $˜YÑ'Ñ(ð3ð ð3ð ð	3ð
 " #™ð3ð ˜$˜sŸx™xŸ™Ñ/Ñ0ð3ð ð3ð 
õ3ðj ð�có ó ðð ð˜3ó ó ðð ×Ññ)ó ð)ð ð˜ó ó ðð ð˜ó ó ðñ1 $ð 1°$õ 1ðJ�s—y‘y—‘ô Jð	!˜sŸy™yŸ™ð 	!°4ô 	!ð6˜Ÿ
™
×)Ñ)ô 6ð2 §¡×!2Ñ!2ð 2°tô 2ðL §¡×!4Ñ!4ð L¸¸c¿h¹h¿o¹oÑ9Nô LðY  c§h¡h×&8Ñ&8Ñ!9ô Yòò.õ
.r   ra   c            	       ó¶   • \ rS rSrSrS\R                  R                  S\\R                  R                     S\S\\R                  R                     4S jrSrg	)
ÚChainingResulti»  a�  The result of a call to dns.message.QueryMessage.resolve_chaining().

The ``answer`` attribute is the answer RRSet, or ``None`` if it doesn't
exist.

The ``canonical_name`` attribute is the canonical name after all
chaining has been applied (this is the same name as ``rrset.name`` in cases
where rrset is not ``None``).

The ``minimum_ttl`` attribute is the minimum TTL, i.e. the TTL to
use if caching the data.  It is the smallest of all the CNAME TTLs
and either the answer TTL if it exists or the SOA TTL and SOA
minimum values for negative answers.

The ``cnames`` attribute is a list of all the CNAME RRSets followed to
get to the canonical name.
Úcanonical_namer„   Úminimum_ttlÚcnamesc                 ó4   • Xl         X l        X0l        X@l        g r,   )r�  r„   r�  r‘  )r/   r�  r„   r�  r‘  s        r   r.   ÚChainingResult.__init__Î  s   € ð -ÔØŒØ&ÔØ�r   )r„   r�  r‘  r�  N)r   r   r   r   r   re   r®   rƒ  r   r°   rå   r^   r   r.   r   r   r   r   rŽ  rŽ  »  sT   † ñð$
àŸ™Ÿ™ð
ð ˜Ÿ™Ÿ™Ñ)ð
ð ð	
ð
 �S—Y‘Y—_‘_Ñ%÷
r   rŽ  c                   óX   • \ rS rSrS\4S jrS\R                  R                  4S jr	Sr
g)ÚQueryMessageiÛ  rx   c                 ó’  • U R                   [        R                   R                  -  S:X  a  [        e[	        U R
                  5      S:w  a  [        R                  R                  eU R
                  S   nUR                  n[        R                  R                  nSnSn/ nU[        :  aH   U R                  U R                  X!R                  UR                  5      n[!        X4R                  5      n U[        :¼  a  [,        eU R/                  5       [        R.                  R0                  :X  a	  Ub  [2        eUcg  Un	  U R                  U R4                  X‘R                  [        R$                  R6                  5      n
[!        X:R                  U
S   R8                  5      n [?        X$X65      $ ! ["         aÄ    UR                  [        R$                  R&                  :w  a—   U R                  U R                  X!R                  [        R$                  R&                  5      nUR)                  U5        [!        X7R                  5      nU H  nUR*                  n  O   US-  n GMÃ  ! ["         a      GM€  f = f GMˆ  f = f! ["         a;     U	R;                  5       n	 O+! [        R                  R<                   a      GM  f = ff = fGMŒ  )a˜  Follow the CNAME chain in the response to determine the answer
RRset.

Raises ``dns.message.NotQueryResponse`` if the message is not
a response.

Raises ``dns.message.ChainTooLong`` if the CNAME chain is too long.

Raises ``dns.message.AnswerForNXDOMAIN`` if the rcode is NXDOMAIN
but an answer was found.

Raises ``dns.exception.FormError`` if the question count is not 1.

Returns a ChainingResult object.
r   rH   N) rh   re   rÀ   r:   rÆ   r{   rX   Ú	FormErrorr®   rS  ÚMAX_TTLÚ	MAX_CHAINrè   r„   rÓ   rÔ   Úminrä   rÞ   ÚCNAMEræ   Útargetr=   r¢   ÚNXDOMAINr@   rˆ   ÚSOAÚminimumÚparentÚNoParentrŽ  )r/   r{   ÚqnameÚmin_ttlr„   rõ   r‘  ÚcrrsetÚrdÚaunameÚsrrsets              r   Úresolve_chainingÚQueryMessage.resolve_chainingÜ  sE  € ð  �:‰:œŸ	™	Ÿ™Ñ$¨Ó)Ü"Ð"Üˆt�}‰}Ó Ó"Ü—-‘-×)Ñ)Ð)Ø—=‘= Ñ#ˆØ—‘ˆÜ—'‘'—/‘/ˆØˆØˆØˆØ”iÓðØŸ™Ø—K‘K ×(8Ñ(8¸(¿/¹/ó�ô ˜g§z¡zÓ2�Øð( ”IÓÜÐØ�:‰:‹<œ3Ÿ9™9×-Ñ-Ó-°&Ñ2DÜ#Ð#Ø‰>àˆFØð
Ø!Ÿ_™_ØŸ™¨×0@Ñ0@Ä#Ç-Á-×BSÑBSó�Fô " '¯:©:°v¸a±y×7HÑ7HÓI�GØô ˜e¨WÓ=Ð=øôQ ó Ø—?‘?¤c§m¡m×&9Ñ&9Ó9ðØ!%§¡Ø ŸK™K¨×0@Ñ0@Ä#Ç-Á-×BUÑBUó"˜ð Ÿ™ fÔ-Ü"% g¯z©zÓ":˜Û"(˜BØ$&§I¡I˜EÙ!ñ #)ð  ™
˜Û øÜ#ó äðúó
 ð%ûôF  ó ðØ!'§¡£šøÜŸ8™8×,Ñ,ó Üðúðúò s]   Â+AF- Ä>A"I> Æ-2I;Ç A?I#É#
I3É-I;É2I3É3I;É:I;É>
KÊ	JÊJ?Ê9KÊ>J?Ê?Kc                 ó6   • U R                  5       R                  $ )au  Return the canonical name of the first name in the question
section.

Raises ``dns.message.NotQueryResponse`` if the message is not
a response.

Raises ``dns.message.ChainTooLong`` if the CNAME chain is too long.

Raises ``dns.message.AnswerForNXDOMAIN`` if the rcode is NXDOMAIN
but an answer was found.

Raises ``dns.exception.FormError`` if the question count is not 1.
)r¨  r�  r5   s    r   r�  ÚQueryMessage.canonical_name'  s   € ð ×$Ñ$Ó&×5Ñ5Ð5r   r   N)r   r   r   r   rŽ  r¨  re   r®   rƒ  r�  r   r   r   r   r•  r•  Û  s%   † ðI> .ô I>ðV6 §¡§¡÷ 6r   r•  c                  ó   • SS K n g r   )Ú
dns.update)re   s    r   Ú_maybe_import_updater®  8  s   € ô r   c                 óÚ   • U [         R                  R                  :X  a  [        $ U [         R                  R                  :X  a$  [        5         [         R                  R                  $ [        $ r,   )	re   r¡   ÚQUERYr•  ÚUPDATEr®  ÚupdateÚUpdateMessagera   )r¡   s    r   Ú_message_factory_from_opcoder´  A  sG   € Ø”—‘×!Ñ!Ó!ÜÐØ	”3—:‘:×$Ñ$Ó	$ÜÔÜ�z‰z×'Ñ'Ð'äˆr   c                   óF   • \ rS rSrSr      S
S jrS rS rS rS r	S	r
g)Ú_WireReaderiK  a5  Wire format reader.

parser: the binary parser
message: The message object being built
initialize_message: Callback to set message parsing options
question_only: Are we only reading the question?
one_rr_per_rrset: Put each RR into its own RRset?
keyring: TSIG keyring
ignore_trailing: Ignore trailing junk at end of request?
multi: Is this message part of a multi-message sequence?
DNS dynamic updates.
continue_on_error: try to extract as much information as possible from
the message, accumulating MessageErrors in the *errors* attribute instead of
raising them.
Nc	                 ó¼   • [         R                  R                  U5      U l        S U l        X l        X0l        X@l        XPl        X`l	        Xpl
        X€l        / U l        g r,   )re   rv   ÚParserÚparserr*   Úinitialize_messageÚquestion_onlyÚone_rr_per_rrsetÚignore_trailingrm   r  Úcontinue_on_errorrt   )	r/   rv   rº  r»  r¼  r½  rm   r  r¾  s	            r   r.   Ú_WireReader.__init__\  sN   € ô —h‘h—o‘o dÓ+ˆŒØˆŒØ"4ÔØ*ÔØ 0ÔØ.ÔØŒØŒ
Ø!2ÔØˆ�r   c           
      óˆ  • U R                   c   eU R                   R                  U   n[        U5       H‹  nU R                  R	                  U R                   R
                  5      nU R                  R                  S5      u  pgU R                   R                  XXv5      u  pv  nU R                   R                  X5XvSSS9  M�     g)zXRead the next *qcount* records from the wire data and add them to
the question section.
Nz!HHT©r×   rØ   )	r*   ri   Úranger¹  Úget_namerq   Ú
get_structr{  rè   )r/   rÍ   Úqcountr·   Ú_r¢  rÔ   rÓ   s           r   Ú_get_questionÚ_WireReader._get_questionr  s­   € ð �|‰|Ñ'Ð'Ð'Ø—,‘,×'Ñ'¨Ñ7ˆÜ�v–ˆAØ—K‘K×(Ñ(¨¯©×)<Ñ)<Ó=ˆEØ $§¡× 6Ñ 6°uÓ =ÑˆVØ&*§l¡l×&CÑ&CØ wó'Ñ#ˆW˜a ð �L‰L×#Ñ#Ø ¸È4ð $ó ò r   c                 ót   • U R                   R                  [        XR                  R                  5      5        g r,   )rt   ræ   rV   r¹  Úcurrent)r/   Úes     r   Ú
_add_errorÚ_WireReader._add_error‚  s#   € Ø�‰×Ñœ<¨¯;©;×+>Ñ+>Ó?Õ@r   c                 ó 
  • U R                   c   eU R                   R                  U   nU R                  n[        U5       GHŸ  nU R                  R
                  nU R                  R                  5       nU R                   R                  b&  UR                  U R                   R                  5      nOUnU R                  R                  S5      u  pšp¼U	[        R                  R                  [        R                  R                  4;   a#  U R                   R                  XXXX©5      u  n
n	nnOU R                   R                  XX©5      u  p©pÞU R                  R
                  n U(       a=  US:”  a  [        R                   R"                  eSn[        R                  R$                  nOsU R                  R'                  U5         [        R(                  R+                  X©U R                  U R                   R                  5      nSSS5        WR-                  5       nU R                   R.                  (       a   U	[        R                  R0                  :X  a  SnU	[        R                  R                  :X  a2  [        R2                  R5                  X‹U5      U R                   l        GMd  U	[        R                  R                  :X  GaÚ  U R8                  b  U R8                  SL a  [;        S5      e[=        U R8                  [>        5      (       a\  U R8                  RA                  U5      n[=        U[B        5      (       a+  [        RD                  RG                  UUURH                  5      nOC[K        U R8                  5      (       a  U R9                  U R                   U5      nOU R8                  nUc  [;        SU S35      eU(       a©  UU R                   l        [        RD                  RM                  U R                  RN                  UUU[Q        [R        RR                  " 5       5      U R                   RT                  UU R                   RV                  U RX                  5	      U R                   l+        [        R2                  R5                  USU5      U R                   l"        GM]  U R                   R[                  UUU
U	UUSU5      nUb  US:”  a  SnUR]                  UU5        GMŸ  GM¢     g! , (       d  f       GNë= f! [^         aL  nU R`                  (       a5  U Rc                  U5        U R                  Re                  Xü-   5         SnAGM  e SnAff = f)	zÂRead the next I{count} records from the wire data and add them to
the specified section.

section_number: the section of the message to which to add records
count: the number of records to read
Nz!HHIHr   Tz"got signed message without keyringzkey 'z	' unknowniÿÿÿ)3r*   ri   r¼  rÂ  r¹  rÊ  rÃ  rq   r˜   rÄ  re   rÞ   rI  r#  r  r{  rX   r—  r„  Úrestrict_toÚrdataÚfrom_wire_parserrÕ   rp   rž  r°   r$  rj   rm   r%   r³   Údictrâ   r7  rn   r3  r&  r4  Úvalidaterv   r^   ru   ro   rr   r  rè   r  r]   r¾  rÌ  Úseek)r/   rÍ   rõ   r·   rØ   r¶   Úrr_startÚabsolute_namer®   rÔ   rÓ   rS  ÚrdlenrÖ   ÚemptyÚrdata_startr¥  rÕ   rç   r°   rË  s                        r   Ú_get_sectionÚ_WireReader._get_section…  sñ  € ð �|‰|Ñ'Ð'Ð'Ø—,‘,×'Ñ'¨Ñ7ˆØ×,Ñ,ˆÜ�u—ˆAØ—{‘{×*Ñ*ˆHØ ŸK™K×0Ñ0Ó2ˆMØ�|‰|×"Ñ"Ñ.Ø$×/Ñ/°·±×0CÑ0CÓD‘à$�Ø,0¯K©K×,BÑ,BÀ7Ó,KÑ)ˆV˜cØœ#Ÿ-™-×+Ñ+¬S¯]©]×-?Ñ-?Ð@Ó@ð —L‘L×9Ñ9Ø"¨1°GóñØØØÙð
 6:·\±\×5RÑ5RØ"¨'ó6Ñ2� (ð Ÿ+™+×-Ñ-ˆKð?ÞØ˜q“yÜ!Ÿm™m×5Ñ5Ð5Ø�BÜ Ÿ]™]×/Ñ/‘FàŸ™×0Ñ0°Õ7Ü ŸY™Y×7Ñ7Ø#¨T¯[©[¸$¿,¹,×:MÑ:Mó˜÷ 8ð  ŸY™Y›[�FØ—<‘<×#×#¨´#·-±-×2CÑ2CÓ(CØ#'�LØœSŸ]™]×.Ñ.Ó.Ü'*§y¡y×';Ñ';¸DÀrÓ'J�D—L‘L×$ØœsŸ}™}×1Ñ1Ô1Ø—|‘|Ñ+¨t¯|©|¸tÒ/CÜ,Ð-QÓRÐRÜ# D§L¡L´$×7Ñ7Ø"Ÿl™l×.Ñ.¨}Ó=˜Ü% c¬5×1Ñ1Ü"%§(¡(§,¡,¨}¸cÀ2Ç<Á<Ó"P˜CøÜ! $§,¡,×/Ñ/Ø"Ÿl™l¨4¯<©<¸ÓG™à"Ÿl™l˜Ø‘{Ü,¨u°T°F¸)Ð-DÓEÐEÞØ/2˜Ÿ™Ô,Ü03·±×0AÑ0AØ ŸK™K×,Ñ,ØØ)ØÜ¤§	¢	£Ó,Ø ŸL™L×4Ñ4Ø$Ø ŸL™L×1Ñ1Ø ŸJ™Jó
1˜Ÿ™Ô-ô ),¯	©	×(<Ñ(<¸]ÈAÈrÓ(R�D—L‘L×%à ŸL™L×3Ñ3ØØØØØØ ØØ$ó	�Eð ‘~Ø Ó+Ø"#˜CØŸ	™	 " c×*ò &òY ÷: 8Ö7ûôf ó Ø×)×)Ø—O‘O AÔ&Ø—K‘K×$Ñ$ [Ñ%8×9Ó9àûðúsF   Å"AS7ÇA S%ÈB S7Ê$G6S7Ò?S7Ó%
S4	Ó/S7Ó7
UÔ?UÕUÕUc                 óf  • U R                   R                  5       S:  a  [        eU R                   R                  S5      u  pp4pV[	        [
        R                  R                  U5      5      nU" US9U l        [
        R                  R                  U5      U R                  l	        U R                   R                  U R                  l        U R                  U R                  5        U R                  R                  U R                  5      U l         U R                  [         R"                  U5        U R$                  (       a  U R                  $ U R'                  [         R(                  U5        U R'                  [         R*                  U5        U R'                  [         R,                  U5        U R.                  (       d$  U R                   R                  5       S:w  a  [0        eU R2                  (       ao  U R                  R4                  (       aT  U R                  R6                  (       d9  U R                  R4                  R9                  U R                   R                  5        U R                  $ ! [:         a8  nU R<                  (       a!  U R?                  U5         SnAU R                  $ e SnAff = f)zFRead a wire format DNS message and build a dns.message.Message
object.é   z!HHHHHH©rc   r   N) r¹  Ú	remainingr   rÄ  r´  re   r¡   rÁ   r*   rh   ÚFlagrv   rº  rw  r¼  rÇ  rF   rP   r»  rÚ  rQ   rR   rS   r½  r   r  rr   rF  r²  r]   r¾  rÌ  )	r/   rc   rh   rÅ  ÚancountÚaucountÚadcountÚfactoryrË  s	            r   ÚreadÚ_WireReader.readæ  sß  € ð �;‰;× Ñ Ó" RÓ'ÜÐØ9=¿¹×9OÑ9OØó:
Ñ6ˆ�F Wô /¬s¯z©z×/DÑ/DÀUÓ/KÓLˆÙ "‘~ˆŒÜ ŸY™YŸ^™^¨EÓ2ˆ�‰ÔØ ŸK™K×,Ñ,ˆ�‰ÔØ×Ñ §¡Ô-Ø $§¡× BÑ BØ×!Ñ!ó!
ˆÔð	Ø×Ñœ~×6Ñ6¸Ô?Ø×!×!Ø—|‘|Ð#Ø×Ñœn×3Ñ3°WÔ=Ø×Ñœn×6Ñ6¸Ô@Ø×Ñœn×7Ñ7¸ÔAØ×'×'¨D¯K©K×,AÑ,AÓ,CÀqÓ,HÜ"Ð"Ø�z�z˜dŸl™l×3×3¸D¿L¹L×<Q×<QØ—‘×%Ñ%×,Ñ,¨T¯[©[×-=Ñ-=Ô>ð �|‰|Ðøô ó 	Ø×%×%Ø—‘ ×"Ð"ð �|‰|Ðð ûð		ús%   Ä<I. ÅDI. É.
J0É8"J+Ê*J+Ê+J0)
r¾  rt   r½  rº  rm   r*   r  r¼  r¹  r»  )FFFNFF)r   r   r   r   r   r.   rÇ  rÌ  rÚ  rå  r   r   r   r   r¶  r¶  K  s7   † ñð( ØØØØØôò,ò Aò_õB!r   r¶  Frv   rm   ro   rp   rq   rr   r  r»  r¼  r½  Úraise_on_truncationr¾  rx   c           
      ó   ^^^^• Tc  SmUUUU4S jn[        U UUUU	UUU5      n UR                  5       nUR                  [        R                  R                  -  (       a  U
(       a	  [        US9eU(       a  UR                  Ul	        U$ ! [        R                  R                   ac    UR
                  (       aP  UR
                  R                  [        R                  R                  -  (       a  U
(       a  [        UR
                  S9ee f = f)aø  Convert a DNS wire format message into a message object.

*keyring*, a ``dns.tsig.Key``, ``dict``, ``bool``, or ``None``, the key or keyring
to use if the message is signed.  If ``None`` or ``True``, then trying to decode
a message with a TSIG will fail as it cannot be validated.  If ``False``, then
TSIG validation is disabled.

*request_mac*, a ``bytes`` or ``None``.  If the message is a response to a
TSIG-signed request, *request_mac* should be set to the MAC of that request.

*xfr*, a ``bool``, should be set to ``True`` if this message is part of a zone
transfer.

*origin*, a ``dns.name.Name`` or ``None``.  If the message is part of a zone
transfer, *origin* should be the origin name of the zone.  If not ``None``, names
will be relativized to the origin.

*tsig_ctx*, a ``dns.tsig.HMACTSig`` or ``dns.tsig.GSSTSig`` object, the ongoing TSIG
context, used when validating zone transfers.

*multi*, a ``bool``, should be set to ``True`` if this message is part of a multiple
message sequence.

*question_only*, a ``bool``.  If ``True``, read only up to the end of the question
section.

*one_rr_per_rrset*, a ``bool``.  If ``True``, put each RR into its own RRset.

*ignore_trailing*, a ``bool``.  If ``True``, ignore trailing junk at end of the
message.

*raise_on_truncation*, a ``bool``.  If ``True``, raise an exception if the TC bit is
set.

*continue_on_error*, a ``bool``.  If ``True``, try to continue parsing even if
errors occur.  Erroneous rdata will be ignored.  Errors will be accumulated as a
list of MessageError objects in the message's ``errors`` attribute.  This option is
recommended only for DNS analysis tools, or for use in a server as part of an error
handling path.  The default is ``False``.

Raises ``dns.message.ShortHeader`` if the message is less than 12 octets long.

Raises ``dns.message.TrailingJunk`` if there were octets in the message past the end
of the proper DNS message, and *ignore_trailing* is ``False``.

Raises ``dns.message.BadEDNS`` if an OPT record was in the wrong section, or
occurred more than once.

Raises ``dns.message.BadTSIG`` if a TSIG record was not the last record of the
additional data section.

Raises ``dns.message.Truncated`` if the TC flag is set and *raise_on_truncation* is
``True``.

Returns a ``dns.message.Message``.
r   c                 ó>   >• TU l         TU l        TU l        TU l        g r,   )ro   rp   rq   rr   )r*   rq   ro   rr   rp   s    €€€€r   rº  Ú%from_wire.<locals>.initialize_messageU  s!   ø€ Ø)ˆÔØˆŒØˆŒØ#ˆÕr   )r*   )
r¶  rå  re   rX   r—  r*   rh   r  r(   rt   )rv   rm   ro   rp   rq   rr   r  r»  r¼  r½  rç  r¾  rº  ÚreaderÚms     ````         r   Ú	from_wirerí  
  s×   û€ ðP ÑØˆ÷$ð $ô ØØØØØØØØó	€Fð
Ø�K‰K‹Mˆð 	‡w�w”—‘—‘×Ö"5Ü Ñ"Ð"ÞØ—=‘=ˆŒà€Høô! �=‰=×"Ñ"ó à�N�NØ—‘×%Ñ%¬¯	©	¯©×4Þ#ä F§N¡NÑ3Ð3àðús   ¦B ÂBDc                   óH   • \ rS rSrSr    SS jrS rS rS rS r	S	 r
S
rg)Ú_TextReaderiz  aP  Text format reader.

tok: the tokenizer.
message: The message object being built.
DNS dynamic updates.
last_name: The most recently read name when building a message object.
one_rr_per_rrset: Put each RR into its own RRset?
origin: The origin for relative names
relativize: relativize names?
relativize_to: the origin to relativize to.
Nc                 ó.  • S U l         [        R                  R                  XS9U l        S U l        X0l        X@l        XPl        X`l	        S U l
        SU l        SU l        [        U l        S U l        [        R                   R"                  U l        SU l        g )NrÛ   r�   r   )r*   re   Ú	tokenizerÚ	TokenizerÚtokÚ	last_namer¼  rq   r˜   Úrelativize_torc   r£   r¤   r‰  r¦   r¢   r¡   r°  rh   )r/   ÚtextrÙ   r¼  rq   r˜   rõ  s          r   r.   Ú_TextReader.__init__‡  s|   € ð ˆŒÜ—=‘=×*Ñ*¨4Ð*ÐGˆŒØˆŒØ 0ÔØŒØ$ŒØ*ÔØˆŒØˆŒ	ØˆŒÜ+ˆŒØˆŒ
Ü—j‘j×&Ñ&ˆŒØˆ�
r   c                 óà  • U R                   R                  5       nUR                  nUS:X  a!  U R                   R                  5       U l        GO‡US:X  aŠ   U R                   R                  5       nUR                  5       (       d  U R                   R                  U5        GO4U R                  [        R                  R                  UR                  5      -  U l        M‰  US:X  aB  U R                   R                  5       U l
        U R                  U R                  S-  -  U l        GO¯US:X  a¡  U R                  S:  a  SU l
         U R                   R                  5       nUR                  5       (       d  U R                   R                  U5        GOEU R                  [        R                  R                  UR                  5      -  U l        M‰  US:X  a7  U R                   R                  5       U l        U R                  S:  a  SU l
        OËUS:X  az  U R                   R                  5       n[        R                  R                  U5      U l        U R                  [        R                  R!                  U R                  5      -  U l        OKUS	:X  a?  U R                   R                  5       n[        R"                  R                  U5      U l        O[$        eU R                   R'                  5         g
)z5Process one line from the text format header section.rc   rh   r£   r_   Úeflagsr   r¦   r¡   r¢   N)ró  râ   rc  Úget_intrc   Úis_identifierÚungetrh   re   rÝ   r£   r¤   Úedns_from_textr¦   Ú
get_stringr¡   rb  r¢   r   Úget_eol)r/   rÆ  ÚtokenÚwhatrö  s        r   Ú_header_lineÚ_TextReader._header_lineŸ  s  € ð —‘—‘“ˆØ�{‰{ˆØ�4‹<Ø—h‘h×&Ñ&Ó(ˆDŽGØ�W‹_ØØŸ™Ÿ™›�Ø×*Ñ*×,Ñ,Ø—H‘H—N‘N 5Ô)ÙØ!ŸZ™Z¬#¯)©)×*=Ñ*=¸e¿k¹kÓ*JÑJ�”
ñ ð �V‹^ØŸ™×(Ñ(Ó*ˆDŒIØ!Ÿ^™^¨t¯y©y¸B©Ñ?ˆDŽNØ�XÓØ�y‰y˜1‹}Ø�”	ØØŸ™Ÿ™›�Ø×*Ñ*×,Ñ,Ø—H‘H—N‘N 5Ô)ÙØ!%§¡´#·)±)×2JÑ2JÈ5Ï;É;Ó2WÑ!W�”ñ ð �YÓØŸ8™8×+Ñ+Ó-ˆDŒLØ�y‰y˜1‹}Ø�”	øØ�XÓØ—8‘8×&Ñ&Ó(ˆDÜŸ*™*×.Ñ.¨tÓ4ˆDŒKØŸ™¤c§j¡j×&9Ñ&9¸$¿+¹+Ó&FÑFˆD�JØ�W‹_Ø—8‘8×&Ñ&Ó(ˆDÜŸ™×,Ñ,¨TÓ2ˆD�Jä$Ð$Ø�‰×ÑÕr   c           	      óŠ  • U R                   R                  U   nU R                  R                  SS9nUR	                  5       (       dJ  U R                  R                  X0R                   R                  U R                  U R                  5      U l	        U R                  nUc  [        eU R                  R                  5       nUR                  5       (       d  [        R                  R                  e [        R                  R!                  UR"                  5      nU R                  R                  5       nUR                  5       (       d  [        R                  R                  e [        R(                  R!                  UR"                  5      nU R                   R+                  XXV5      u  pV  nU R                   R-                  X$XVSSS9  U R                  R/                  5         g! [        R                  R                   a    [        R                  R                  e[$         a    [        R                  R&                  n NÝf = f)z7Process one line from the text format question section.T©Úwant_leadingNrÁ  )r*   ri   ró  râ   Úis_whitespaceÚas_namerq   r˜   rõ  rô  rC   rû  re   rX   ÚSyntaxErrorrà   rÝ   rc  r]   ÚINrÞ   r{  rè   rÿ  )r/   rÍ   r·   r   r®   rÓ   rÔ   rÆ  s           r   Ú_question_lineÚ_TextReader._question_lineÈ  s°  € ð —,‘,×'Ñ'¨Ñ7ˆØ—‘—‘¨$�Ð/ˆØ×"Ñ"×$Ñ$Ø!ŸX™X×-Ñ-Ø—|‘|×*Ñ*¨D¯O©O¸T×=OÑ=OóˆDŒNð �~‰~ˆØ‰<Ü Ð Ø—‘—‘“ˆØ×"Ñ"×$Ñ$Ü—-‘-×+Ñ+Ð+ð	(Ü—n‘n×.Ñ.¨u¯{©{Ó;ˆGØ—H‘H—L‘L“NˆEØ×&Ñ&×(Ñ(Ü—m‘m×/Ñ/Ð/ð )ô —‘×(Ñ(¨¯©Ó5ˆØ"&§,¡,×"?Ñ"?Ø 'ó#
Ñˆ˜!˜Qð 	�‰×ÑØ˜7°4Àdð 	 ñ 	
ð 	�‰×ÑÕøô �}‰}×(Ñ(ó 	,Ü—-‘-×+Ñ+Ð+Üó 	(Ü—n‘n×'Ñ'ŠGð	(ús   Ã1A2G$ Ç$AIÉIc           
      óh  • U R                   R                  U   nU R                  R                  SS9nUR	                  5       (       dJ  U R                  R                  X0R                   R                  U R                  U R                  5      U l	        U R                  nUc  [        eU R                  R                  5       nUR                  5       (       d  [        R                  R                  e [        UR                   S5      nU R                  R                  5       nUR                  5       (       d  [        R                  R                  e  [        R$                  R'                  UR                   5      nU R                  R                  5       nUR                  5       (       d  [        R                  R                  e [        R*                  R'                  UR                   5      nU R                   R-                  XXg5      u  pgp‰U R                  R                  5       nU	(       a/  UR/                  5       (       d  [        R                  R                  eU	(       d/  UR/                  5       (       a  [        R                  R0                  eUR/                  5       (       d‚  U R                  R3                  U5        [        R4                  R'                  UUU R                  U R                   R                  U R                  U R                  5      n
U
R7                  5       nOSn
[        R*                  R8                  nU R                   R;                  UUUUUUSU R<                  5      nU
b  UR?                  X¥5        gg! [        R                  R                   a    [        R                  R                  e["         a    Sn GN}f = f! [        R                  R                   a    [        R                  R                  e["         a    [        R$                  R(                  n GNkf = f)zVProcess one line from the text format answer, authority, or
additional data sections.
Tr  Nr   ) r*   ri   ró  râ   r  r  rq   r˜   rõ  rô  rC   rû  re   rX   r	  r^   rc  r]   rà   rÝ   r
  rÞ   r{  Úis_eol_or_eofÚUnexpectedEndrü  rÐ  rÕ   r„  rè   r¼  r  )r/   rÍ   r·   r   r®   rS  rÓ   rÔ   rÖ   rØ  r¥  rÕ   r°   s                r   Ú_rr_lineÚ_TextReader._rr_lineë  s  € ð
 —,‘,×'Ñ'¨Ñ7ˆà—‘—‘¨$�Ð/ˆØ×"Ñ"×$Ñ$Ø!ŸX™X×-Ñ-Ø—|‘|×*Ñ*¨D¯O©O¸T×=OÑ=OóˆDŒNð �~‰~ˆØ‰<Ü Ð Ø—‘—‘“ˆØ×"Ñ"×$Ñ$Ü—-‘-×+Ñ+Ð+ð	Ü�e—k‘k 1Ó%ˆCØ—H‘H—L‘L“NˆEØ×&Ñ&×(Ñ(Ü—m‘m×/Ñ/Ð/ð )ð	(Ü—n‘n×.Ñ.¨u¯{©{Ó;ˆGØ—H‘H—L‘L“NˆEØ×&Ñ&×(Ñ(Ü—m‘m×/Ñ/Ð/ð )ô —‘×(Ñ(¨¯©Ó5ˆØ-1¯\©\×-JÑ-JØ 'ó.
Ñ*ˆ˜(ð —‘—‘“ˆÞ˜×,Ñ,×.Ñ.Ü—-‘-×+Ñ+Ð+Þ˜×,Ñ,×.Ñ.Ü—-‘-×-Ñ-Ð-Ø×"Ñ"×$Ñ$Ø�H‰H�N‰N˜5Ô!Ü—‘×$Ñ$ØØØ—‘Ø—‘×#Ñ#Ø—‘Ø×"Ñ"óˆBð —Y‘Y“[‰FàˆBÜ—]‘]×'Ñ'ˆFØ—‘×'Ñ'ØØØØØØØØ×!Ñ!ó	
ˆð ‰>Ø�I‰I�bÕð øôa �}‰}×(Ñ(ó 	,Ü—-‘-×+Ñ+Ð+Üó 	Ø‹Cð	ûô �}‰}×(Ñ(ó 	,Ü—-‘-×+Ñ+Ð+Üó 	(Ü—n‘n×'Ñ'‹Gð	(ús(   Ã1AN ÅA2O ÎAOÏOÏAP1Ð0P1c                 ó�  • [        U R                  5      nU" U R                  S9nU R                  Ul        U R                  S:¼  a1  UR                  U R                  U R                  U R                  5        U R                  (       a  UR                  U R                  5        U R                  (       a  U R                  Ul
        U$ )NrÞ  r   )r´  r¡   rc   rh   r£   rN  r¤   r¦   r¢   re  rq   )r/   rä  r*   s      r   Ú_make_messageÚ_TextReader._make_message6  s‚   € Ü.¨t¯{©{Ó;ˆÙ˜TŸW™WÑ%ˆØŸ
™
ˆŒØ�9‰9˜‹>Ø×Ñ˜TŸY™Y¨¯©¸¿¹ÔEØ�:�:Ø×Ñ˜dŸj™jÔ)Ø�;�;Ø!Ÿ[™[ˆGŒNØˆr   c                 óp  • U R                   nSn U R                  R                  SS5      nUR                  5       (       a  GO3UR	                  5       (       aø  UR
                  R                  5       nUS:X  a  U R                   nU R                  (       a  U R                  nOU R                  5       n UR                  R                  U5      nU R                  (       d&  XPl        UR                  U R                  5      U l        U[        R                  :X  a  U R                  nOU R                   n U R                  R%                  5         GMA  U R                  R'                  U5        U" U5        GMf  U R                  (       d  U R                  5       U l        U R                  $ ! ["         a     N�f = f)zFRead a text format DNS message and build a dns.message.Message
object.NTÚHEADER)r  ró  râ   r  Ú
is_commentrc  Úupperr*   r  r¨   rÝ   rw  r¼  rF   rP   r  r  r]   rÿ  rü  )r/   Úline_methodrÍ   r   Úur*   s         r   rå  Ú_TextReader.readB  sd  € ð ×'Ñ'ˆØˆØØ—H‘H—L‘L  tÓ,ˆEØ×"Ñ"×$Ñ$ÙØ×Ñ×!Ñ!Ø—K‘K×%Ñ%Ó'�Ø˜“=Ø"&×"3Ñ"3�Kà—<—<Ø"Ÿl™l‘Gð #×0Ñ0Ó2�GðØ%,×%:Ñ%:×%DÑ%DÀQÓ%G�Nð  Ÿ<Ÿ<Ø'.œØ07×0MÑ0MØ ×1Ñ1ó1˜Ô-ð &¬×)@Ñ)@Ó@Ø&*×&9Ñ&9™à&*§m¡m™ð —‘× Ñ Ô"ÚØ�H‰H�N‰N˜5Ô!Ù˜Ô'òE ðF �|�|Ø×-Ñ-Ó/ˆDŒLØ�|‰|Ðøô !ó áðús   Â3A2F( Ä&F( Æ(
F5Æ4F5)r£   r¤   rh   rc   rô  r*   r¼  r¡   rq   r¦   r¢   r˜   rõ  ró  )FNTN)r   r   r   r   r   r.   r  r  r  r  rå  r   r   r   r   rï  rï  z  s7   † ñ
ð  ØØØôò0'òR!òFIòV
õ+r   rï  rö  rÙ   r˜   rõ  c                 ó<   • [        XX#XE5      nUR                  5       $ )aÐ  Convert the text format message into a message object.

The reader stops after reading the first blank line in the input to
facilitate reading multiple messages from a single file with
``dns.message.from_file()``.

*text*, a ``str``, the text format message.

*idna_codec*, a ``dns.name.IDNACodec``, specifies the IDNA
encoder/decoder.  If ``None``, the default IDNA 2003 encoder/decoder
is used.

*one_rr_per_rrset*, a ``bool``.  If ``True``, then each RR is put
into its own rrset.  The default is ``False``.

*origin*, a ``dns.name.Name`` (or ``None``), the
origin to use for relative names.

*relativize*, a ``bool``.  If true, name will be relativized.

*relativize_to*, a ``dns.name.Name`` (or ``None``), the origin to use
when relativizing names.  If not set, the *origin* value will be used.

Raises ``dns.message.UnknownHeaderField`` if a header is unknown.

Raises ``dns.exception.SyntaxError`` if the text is badly formed.

Returns a ``dns.message.Message object``
)rï  rå  )rö  rÙ   r¼  rq   r˜   rõ  rë  s          r   rÝ   rÝ   p  s%   € ôT ØÐ*°Jó€Fð �;‰;‹=Ðr   r  c                 óÆ   • [        U [        5      (       a  [        U 5      nO[        R                  " U 5      nU n [        XU5      sSSS5        $ ! , (       d  f       O= f e)a|  Read the next text format message from the specified file.

Message blocks are separated by a single blank line.

*f*, a ``file`` or ``str``.  If *f* is text, it is treated as the
pathname of a file to open.

*idna_codec*, a ``dns.name.IDNACodec``, specifies the IDNA
encoder/decoder.  If ``None``, the default IDNA 2003 encoder/decoder
is used.

*one_rr_per_rrset*, a ``bool``.  If ``True``, then each RR is put
into its own rrset.  The default is ``False``.

Raises ``dns.message.UnknownHeaderField`` if a header is unknown.

Raises ``dns.exception.SyntaxError`` if the text is badly formed.

Returns a ``dns.message.Message object``
N)r³   rÜ   ÚopenÚ
contextlibÚnullcontextrÝ   )r  rÙ   r¼  Úcms       r   Ú	from_filer"     sI   € ô4 �!”S×ÑÜ04°Q³‰ä×#Ò# AÓ&ˆÙ	ˆqÜ˜Ð(8Ó9÷ 
��úàˆ5s   ºAÁ
Ar¢  rÔ   rÓ   rN  r]  r¤   r¦   rk   r§   rc   rh   rl   c           	      óL  • [        U [        5      (       a  [        R                  R	                  X	S9n [        R
                  R                  R                  U5      n[        R                  R                  R                  U5      n[        U
S9n[        R                  R                  U5      Ul        UR                  UR                  XUSSS9  0 nUb  X^S'   Ub  XnS'   Ub  X~S'   Ub  XŽS'   U(       a  Uc  S	nX>S
'   XÎS'   UR                  " S0 UD6  UR!                  U5        U$ )a]  Make a query message.

The query name, type, and class may all be specified either
as objects of the appropriate type, or as strings.

The query will have a randomly chosen query id, and its DNS flags
will be set to dns.flags.RD.

qname, a ``dns.name.Name`` or ``str``, the query name.

*rdtype*, an ``int`` or ``str``, the desired rdata type.

*rdclass*, an ``int`` or ``str``,  the desired rdata class; the default
is class IN.

*use_edns*, an ``int``, ``bool`` or ``None``.  The EDNS level to use; the
default is ``None``.  If ``None``, EDNS will be enabled only if other
parameters (*ednsflags*, *payload*, *request_payload*, or *options*) are
set.
See the description of dns.message.Message.use_edns() for the possible
values for use_edns and their meanings.

*want_dnssec*, a ``bool``.  If ``True``, DNSSEC data is desired.

*ednsflags*, an ``int``, the EDNS flag values.

*payload*, an ``int``, is the EDNS sender's payload field, which is the
maximum size of UDP datagram the sender can handle.  I.e. how big
a response to this message can be.

*request_payload*, an ``int``, is the EDNS payload size to use when
sending this message.  If not specified, defaults to the value of
*payload*.

*options*, a list of ``dns.edns.Option`` objects or ``None``, the EDNS
options.

*idna_codec*, a ``dns.name.IDNACodec``, specifies the IDNA
encoder/decoder.  If ``None``, the default IDNA 2003 encoder/decoder
is used.

*id*, an ``int`` or ``None``, the desired query id.  The default is
``None``, which generates a random query id.

*flags*, an ``int``, the desired query flags.  The default is
``dns.flags.RD``.

*pad*, a non-negative ``int``.  If 0, the default, do not pad; otherwise add
padding bytes to make the message size a multiple of *pad*.  Note that if
padding is non-zero, an EDNS PADDING option will always be added to the
message.

Returns a ``dns.message.QueryMessage``
rÛ   rÞ  TrÁ  r¤   r¦   rk   r§   r   r£   rl   r   )r³   rÜ   re   r®   rÝ   rÞ   rß   rÑ   rà   rá   r•  rh   rà  rè   r{   rN  r]  )r¢  rÔ   rÓ   rN  r]  r¤   r¦   rk   r§   rÙ   rc   rh   rl   rì  r1   s                  r   Ú
make_queryr$  Ã  s  € ôL �%œ×ÑÜ—‘×"Ñ" 5Ð"Ð@ˆÜ�]‰]×$Ñ$×)Ñ)¨&Ó1€FÜ�n‰n×'Ñ'×,Ñ,¨WÓ5€GÜ˜Ñ€AÜ�i‰i�n‰n˜UÓ#€A„GØ‡L�L�—‘˜U¨V¸DÈt€LÑTð  €FØÑØ'ˆ{ÑØÑØ#ˆyÑØÑ"Ø$3Ð Ñ!ØÑØ#ˆyÑÞ�(Ñ"ØˆØˆ6�NØˆ5�MØ‡J‚JÑ�ÒØ‡M�M�+ÔØ€Hr   c                   ó$   • \ rS rSrSrSrSrSrSrg)ÚCopyModei%  z?
How should sections be copied when making an update response?
r   rH   rI   r   N)	r   r   r   r   r   ÚNOTHINGrP   Ú
EVERYTHINGr   r   r   r   r&  r&  %  s   † ñð €GØ€HØƒJr   r&  ÚqueryÚrecursion_availableÚour_payloadr(  r/  Ú	copy_modec           	      óò  • U R                   [        R                   R                  -  (       a  [        R                  R	                  S5      eU R                  5       n[        U5      nU" U R                  S9n	[        R                   R                  U R                   [        R                   R                  -  -  U	l         U(       a-  U	=R                   [        R                   R                  -  sl         U	R                  U5        Uc  [        R                  nU[        R                  :w  a  [        U R                  5      U	l        U[        R                   :X  aN  [        U R"                  5      U	l        [        U R$                  5      U	l        [        U R&                  5      U	l        U R(                  S:¼  aj  UcK  SnU R*                   H9  n
U
R,                  [        R(                  R.                  R0                  :X  d  M7  SnM;     U	R3                  SSX R4                  US9  U R6                  (       aF  U	R9                  U R:                  U R<                  USUSU R>                  5        U R@                  U	l!        U	$ )a±  Make a message which is a response for the specified query.
The message returned is really a response skeleton; it has all of the infrastructure
required of a response, but none of the content.

Response section(s) which are copied are shallow copies of the matching section(s)
in the query, so the query's RRsets should not be changed.

*query*, a ``dns.message.Message``, the query to respond to.

*recursion_available*, a ``bool``, should RA be set in the response?

*our_payload*, an ``int``, the payload size to advertise in EDNS responses.

*fudge*, an ``int``, the TSIG time fudge.

*tsig_error*, an ``int``, the TSIG error.

*pad*, a non-negative ``int`` or ``None``.  If 0, the default, do not pad; otherwise
if not ``None`` add padding bytes to make the message size a multiple of *pad*. Note
that if padding is non-zero, an EDNS PADDING option will always be added to the
message.  If ``None``, add padding following RFC 8467, namely if the request is
padded, pad the response to 468 otherwise do not pad.

*copy_mode*, a ``dns.message.CopyMode`` or ``None``, determines how sections are
copied.  The default, ``None`` copies sections according to the default for the
message's opcode, which is currently ``dns.message.CopyMode.QUESTION`` for all
opcodes.   ``dns.message.CopyMode.QUESTION`` copies only the question section.
``dns.message.CopyMode.EVERYTHING`` copies all sections other than OPT or TSIG
records, which are created appropriately if needed. ``dns.message.CopyMode.NOTHING``
copies no sections; note that this mode is for server testing purposes and is
otherwise not recommended for use.  In particular, ``dns.message.is_response()``
will be ``False`` if you create a response this way and the rcode is not
``FORMERR``, ``SERVFAIL``, ``NOTIMP``, or ``REFUSED``.

Returns a ``dns.message.Message`` object whose specific class is appropriate for the
query.  For example, if query is a ``dns.update.UpdateMessage``, the response will
be one too.
z&specified query message is not a queryrÞ  Nr   iÔ  )rl   r   )"rh   re   rÀ   rX   r—  r¡   r´  rc   ÚRDÚRArj  r&  rP   r'  Úlistr{   r(  r„   rˆ   rŒ   r£   r§   rl  rr  ÚPADDINGrN  r¦   rF  r9  rm   r%  r>  r)  ro   )r)  r*  r+  r(  r/  rl   r,  r¡   rä  Úresponserý   s              r   Úmake_responser3  /  s¼  € ð` ‡{�{”S—Y‘Y—\‘\×!Ü�m‰m×%Ñ%Ð&NÓOÐOØ�\‰\‹^€FÜ*¨6Ó2€GÙ˜%Ÿ(™(Ñ#€HÜ—Y‘Y—\‘\ U§[¡[´3·9±9·<±<Ñ%?Ñ@€H„NÞØ�Šœ#Ÿ)™)Ÿ,™,Ñ&�Ø×Ñ˜ÔØÑÜ×%Ñ%ˆ	Ø”H×$Ñ$Ó$Ü  §¡Ó0ˆÔØ”H×'Ñ'Ó'Ü˜uŸ|™|Ó,ˆŒÜ! %§/¡/Ó2ˆÔÜ" 5×#3Ñ#3Ó4ˆÔØ‡z�z�QƒØ‰;àˆCØŸ-œ-�Ø—<‘<¤3§8¡8×#6Ñ#6×#>Ñ#>Õ>Ø’Cñ (ð 	×Ñ˜!˜Q ¯]©]ÀÐÑDØ‡~‡~Ø×ÑØ�M‰MØ�M‰MØØØØØ×Ñô	
ð  %Ÿy™yˆÔØ€Or   )Nr   FNNFFFFFF)NFNTNrz  )Fi    r.  r   NN)^r   r  Úenumrž   ru   Útypingr   r   r   r   r   r   r	   Údns.ednsre   Údns.entropyÚdns.enumÚdns.exceptionÚ	dns.flagsÚdns.nameÚ
dns.opcodeÚ	dns.rcodeÚ	dns.rdataÚdns.rdataclassÚdns.rdatatypeÚdns.rdtypes.ANY.OPTÚdns.rdtypes.ANY.TSIGÚdns.rendererÚ	dns.rrsetÚdns.tsigÚdns.ttlÚdns.wirerX   r—  r   r   ÚDNSExceptionr   r   r"   r%   r(   r:   r=   r@   r	  rC   ÚIntEnumrF   rV   r‰  r™  r^   r®   rƒ  rà   rá   rÞ   rß   ÚIndexKeyTyper°   rå   Ú	IndexTyperÜ   r…  ra   rŽ  r•  r®  r´  r¶  r7  rE  rn   ÚHMACTSigÚGSSTSigrí  rï  r†  rÝ   r"  r
  rh   r.  r£   rŠ  r$  ÚEnumr&  r3  rP   rQ   rR   rS   r   r   r   Ú<module>rO     s  ðñ$ ã Û Û 	Û ß @× @Ñ @ã Û Û Û Û Û Û Û Û Û Û Û Û Û Û Û Û Û ô=�#—-‘-×)Ñ)ô =ôP�3—=‘=×*Ñ*ô Pô˜Ÿ™×3Ñ3ô ô
$ˆc�m‰m×%Ñ%ô $ô
$ˆc�m‰m×%Ñ%ô $ô
3�S—]‘]×/Ñ/ô 3ô&�—‘×*Ñ*ô &ô$0�s—}‘}×1Ñ1ô 0ô'�3—=‘=×-Ñ-ô 'ô9˜Ÿ™×2Ñ2ô 9ô&�S—]‘]×.Ñ.ô &ô
�S—X‘X×%Ñ%ô 
÷ñ ð Ð Ø€	àØØ‡H�H‡M�MØ‡N�N×ÑØ‡M�M×ÑØˆS�]‰]×$Ñ$Ñ%ØˆS�^‰^×&Ñ&Ñ'ð)ñ€ð �˜sŸy™yŸ™Ð.Ñ/€	Ø�C˜˜d 3§9¡9§?¡?Ñ3Ð3Ñ4€÷k.ñ k.÷\ñ ô@Z6�7ô Z6òzò÷|ñ |ðB "Ø#&ØØ&*ØEIØØØ"Ø!Ø %Ø#ñmØ
ðmà�c‰]ðmð ˜%‘ðmð 
ð	mð
 �S—X‘X—]‘]Ñ#ðmð �u˜SŸX™X×.Ñ.°·±×0@Ñ0@Ð@ÑAÑBðmð ðmð ðmð ðmð ðmð ðmð ðmð õm÷`sñ sðp 04Ø"Ø&*ØØ-1ñ-Ø
ð-à˜Ÿ™×+Ñ+Ñ,ð-ð ð-ð �S—X‘X—]‘]Ñ#ð	-ð
 ð-ð ˜CŸH™HŸM™MÑ*ð-ð õ-ðd 04Ø"ñ Ø
ð à˜Ÿ™×+Ñ+Ñ,ð ð ð ð õ	 ðL 69·^±^×5FÑ5FØ+/ØØ#Ø!Ø%)Ø/3Ø/3ØØ—‘—‘Øñ_Ø�—‘—‘ Ð#Ñ$ð_à�#—-‘-×)Ñ)¨3Ð.Ñ/ð_ð �3—>‘>×,Ñ,¨cÐ1Ñ2ð_ð �u˜S $˜YÑ'Ñ(ð	_ð
 ð_ð ˜‰}ð_ð �c‰]ð_ð ˜c‘]ð_ð �d˜3Ÿ8™8Ÿ?™?Ñ+Ñ,ð_ð ˜Ÿ™×+Ñ+Ñ,ð_ð 	�‰ð_ð ð_ð 
ð_ð õ_ôDˆt�y‰yô ð !&ØØØØØ$(ñTØðTàðTð ðTð ð	Tð
 ðTð 
�#‰ðTð ˜Ñ!ðTð õTðr ×"Ñ"€Ø	×	Ñ	€Ø×$Ñ$€	Ø×&Ñ&�
r   