Files
pyGoEdge-UserPanel/.venv/Lib/site-packages/dns/__pycache__/reversename.cpython-312.pyc

52 lines
4.6 KiB
Plaintext
Raw Normal View History

2025-11-18 03:36:49 +08:00
<EFBFBD>
g<> i<00> <00><><00>dZddlZddlZddlZddlZddlZejjd<03>Z ejjd<04>Z
e e
fde dejjdejjdejjfd <09>Z e e
fd
ejjdejjdejjde fd <0B>Zy) zDNS Reverse Map Names.<2E>Nz in-addr.arpa.z ip6.arpa.<2E>text<78> v4_origin<69> v6_origin<69>returnc<00>P<00> tjj|<00>}tjj|<03>r|ddD<00>cgc] }t |<04><00><02>}}|}n;t t j |<03>j<00><00>D<00>cgc]}|<07><02>}}|}tjjdjt|<05><00>|<06><04>Scc}wcc}w#t$r@tjj|<00>D<00>cgc] }t |<04><00><02>ncc}w}}|}Y<00><>wxYw)a<>Convert an IPv4 or IPv6 address in textual form into a Name object whose
value is the reverse-map domain name of the address.
*text*, a ``str``, is an IPv4 or IPv6 address in textual form
(e.g. '127.0.0.1', '::1')
*v4_origin*, a ``dns.name.Name`` to append to the labels corresponding to
the address if the address is an IPv4 address, instead of the default
(in-addr.arpa.)
*v6_origin*, a ``dns.name.Name`` to append to the labels corresponding to
the address if the address is an IPv6 address, instead of the default
(ip6.arpa.)
Raises ``dns.exception.SyntaxError`` if the address is badly formed.
Returns a ``dns.name.Name``.
<20> N<>.)<01>origin)<0E>dns<6E>ipv6<76> inet_aton<6F> is_mapped<65>str<74>binascii<69>hexlify<66>decode<64> Exception<6F>ipv4<76>name<6D> from_text<78>join<69>reversed)rrr<00>v6<76>byte<74>partsr
<00>xs <20>>E:\Project\pygoedge\.venv\Lib\site-packages\dns/reversename.py<70> from_addressrs<><00><00>0
<1B> <10>X<EFBFBD>X<EFBFBD> <1F> <1F><04> %<25><02> <0E>8<EFBFBD>8<EFBFBD> <1D> <1D>b<EFBFBD> !<21>+-<2D>b<EFBFBD>c<EFBFBD>7<EFBFBD>3<>7<EFBFBD>4<EFBFBD>S<EFBFBD><14>Y<EFBFBD>7<EFBFBD>E<EFBFBD>3<><1E>F<EFBFBD> #<23>H<EFBFBD>$4<>$4<>R<EFBFBD>$8<>$?<3F>$?<3F>$A<> B<>C<> B<>1<EFBFBD>Q<EFBFBD> B<>E<EFBFBD>C<><1E>F<EFBFBD> <0F>8<EFBFBD>8<EFBFBD> <1D> <1D>c<EFBFBD>h<EFBFBD>h<EFBFBD>x<EFBFBD><05><EFBFBD>7<><06> <1D> G<>G<><47>4<><34>D<01><> <14><1B>'*<2A>x<EFBFBD>x<EFBFBD>'9<>'9<>$<24>'?<3F>@<40>'?<3F>t<EFBFBD><13>T<EFBFBD><19>'?<3F><>@<40><05>@<40><1A><06><1B>s<<00>AC<00>C<04>3C<00> C<04>C<00>
C<00>*D%<03>D<06>
D%<03>$D%rc <00><><00>|j|<01>rq|j|<01>}djt|j<00><00>}t
j jt
j j|<03><00>S|j|<02>r<>|j|<02>}tt|j<00><00>}g}tdt|<04>d<03>D](}|jdj|||dz<00><00><00>*dj|<05>}t
jjt
jj|<03><00>St
jjd<06><00>)aConvert a reverse map domain name into textual address form.
*name*, a ``dns.name.Name``, an IPv4 or IPv6 address in reverse-map name
form.
*v4_origin*, a ``dns.name.Name`` representing the top-level domain for
IPv4 addresses, instead of the default (in-addr.arpa.)
*v6_origin*, a ``dns.name.Name`` representing the top-level domain for
IPv4 addresses, instead of the default (ip6.arpa.)
Raises ``dns.exception.SyntaxError`` if the name does not have a
reverse-map form.
Returns a ``str``.
<20>.r<00><00><00>:z"unknown reverse-map address family)<10> is_subdomain<69>
relativizerr<00>labelsr r<00> inet_ntoar <00>list<73>range<67>len<65>appendr <00> exception<6F> SyntaxError)rrrrr&r<00>is r<00>
to_addressr/Es<00><00>, <0C><18><18><19>#<23><13><EFBFBD><EFBFBD>y<EFBFBD>)<29><04><13>y<EFBFBD>y<EFBFBD><18>$<24>+<2B>+<2B>.<2E>/<2F><04><12>x<EFBFBD>x<EFBFBD>!<21>!<21>#<23>(<28>(<28>"4<>"4<>T<EFBFBD>":<3A>;<3B>;<3B> <0A> <1A> <1A>9<EFBFBD> %<25><13><EFBFBD><EFBFBD>y<EFBFBD>)<29><04><15>h<EFBFBD>t<EFBFBD>{<7B>{<7B>+<2B>,<2C><06><12><05><16>q<EFBFBD>#<23>f<EFBFBD>+<2B>q<EFBFBD>)<29>A<EFBFBD> <11>L<EFBFBD>L<EFBFBD><13><18><18>&<26><11>Q<EFBFBD><11>U<EFBFBD>"3<>4<> 5<>*<2A><13>y<EFBFBD>y<EFBFBD><15><1F><04><12>x<EFBFBD>x<EFBFBD>!<21>!<21>#<23>(<28>(<28>"4<>"4<>T<EFBFBD>":<3A>;<3B>;<3B><11>m<EFBFBD>m<EFBFBD>'<27>'<27>(L<>M<>Mr")<0F>__doc__r<00> dns.exceptionr <00>dns.ipv4<76>dns.ipv6<76>dns.namerr<00>ipv4_reverse_domain<69>ipv6_reverse_domainr<00>Namerr/<00>r"r<00><module>r9s<><00><01>$<1D><0F><14><0F><0F><0F><19>h<EFBFBD>h<EFBFBD>(<28>(<28><1F>9<><13><19>h<EFBFBD>h<EFBFBD>(<28>(<28><1B>5<><13>
3<>2<>#H<01>
<0A>#H<01><12>x<EFBFBD>x<EFBFBD>}<7D>}<7D>#H<01><13>x<EFBFBD>x<EFBFBD>}<7D>}<7D>#H<01> <09>X<EFBFBD>X<EFBFBD>]<5D>]<5D> #H<01>P 3<>2<>%N<01>
<0A>(<28>(<28>-<2D>-<2D>%N<01><12>x<EFBFBD>x<EFBFBD>}<7D>}<7D>%N<01><13>x<EFBFBD>x<EFBFBD>}<7D>}<7D>%N<01> <09> %Nr"