| Server IP : 68.178.164.50 / Your IP : 216.73.216.142 Web Server : Apache System : Linux 50.164.178.68.host.secureserver.net 5.14.0-611.26.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jan 29 05:24:47 EST 2026 x86_64 User : rathinambschool ( 1053) PHP Version : 8.2.30 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/dns/__pycache__/ |
Upload File : |
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
|��|d�S ) 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�
<listcomp>9 � z from_address.<locals>.<listcomp>� Nc S s g | ]}|�qS r r )r �xr r r
r <