Ë
    =OOfÝ	  ã                   ó4   — d Z ddlZ G d„ de«      Zdd„Zd„ Zy)z7 Utilities and constants related to reverse dns lookup é    Nc                   ó.   — e Zd ZdZdZdZdZdZeeeeehZy)ÚReverseDnsSetting)r   )é   )é   )é   )é   N)	Ú__name__Ú
__module__Ú__qualname__ÚOFFÚREQUIRE_RESOLVE_ALL_ADDRESSESÚ!REQUIRE_RESOLVE_IP_ADDRESSES_ONLYÚOPTIONAL_RESOLVE_ALL_ADDRESSESÚ"OPTIONAL_RESOLVE_IP_ADDRESSES_ONLYÚSUPPORTED_VALUES© ó    úP/var/www/premiumrankchecker/venv/lib/python3.12/site-packages/ldap3/core/rdns.pyr   r      s7   „ Ø
€CØ$&Ð!Ø(*Ð%Ø%'Ð"Ø)+Ð&ØÐ:Ð<]Ø6Ð8Zð\Ñr   r   c                 óf   — 	 t        j                  | «      d   S # t        $ r}|r‚ Y d}~yd}~ww xY w)a   Resolve the hostname for an ip address. If success is required, raise an exception if a hostname cannot
    be resolved for the address.
    Returns the hostname resolved for the address.
    If success is not required, returns None for addresses that do not resolve to hostnames.
    r   N)ÚsocketÚgethostbyaddrÚ	Exception)ÚaddrÚsuccess_requiredÚexs      r   Úget_hostname_by_addrr   '   s;   € ðÜ×#Ñ# DÓ)¨!Ñ,Ð,øÜò áØó àûð	ús   ‚ š	0£+«0c           	      ó:  — t         j                  t         j                  fD ]  }	 t        j                  || «        y y# t        $ rH d| v r@t        | j                  dd«      D cg c]  }|j                  «       ‘Œ nc c}w c}«      rY  yY  yt        $ r Y Œxw xY w)zbReturns True if an address is an ipv4 address or an ipv6 address based on format. False otherwise.Tú.Ú F)	r   ÚAF_INETÚAF_INET6Ú	inet_ptonÚAttributeErrorÚanyÚreplaceÚisalphaÚOSError)r   Ú	addr_typeÚcs      r   Ú
is_ip_addrr*   6   sŠ   € ä—n‘n¤f§o¡oÐ6ò 
ˆ	ð		Ü×Ñ˜Y¨Ô-Ùð
ð øô ò 	Ød‰{œs¸¿¹ÀcÈ2Ó9NÖ#O°A A§I¡I¥KÑ#OùÔ#OÔPÚâÜò 	Ùð	ús!   ¥?¿&BÁ%A=Á<BÂBÂB)T)Ú__doc__r   Úobjectr   r   r*   r   r   r   ú<module>r-      s%   ðÙ =ó2 ô\˜ô \óór   