a
àMÒeô ã @ sŒ d Z ddlZddlZddlZddlZej d¡Zej d¡Z ee fe
ejjejjejjdœdd„Zee fejjejjejje
dœd d
„Z
dS )zDNS Reverse Map Names.é Nz
in-addr.arpa.z ip6.arpa.)ÚtextÚ v4_originÚ v6_originÚreturnc C s zXt j | ¡}t j |¡r6dd„ |dd… D ƒ}|}n dd„ tt |¡ ¡ ƒD ƒ}|}W n, ty„ dd„ t j | ¡D ƒ}|}Y n0 t j
jd t
|ƒ¡|dS ) 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``.
c S s g | ]}d | ‘qS ©z%d© ©Ú.0Zbyter r ú3/usr/lib/python3.9/site-packages/dns/reversename.pyÚ