%PDF- %PDF-
| Direktori : /lib/python3/dist-packages/samba/__pycache__/ |
| Current File : //lib/python3/dist-packages/samba/__pycache__/dnsresolver.cpython-312.pyc |
�
�I�d+ � �Z � d dl Zd dlZd dlZ G d� dej j
� Zy)� Nc �8 � � e Zd ZdZ� fd�Zd� Z� fd�Zd� Z� xZS )�DNSResolvera4 DNS stub resolver compatible with both dnspython < 2.0.0
and dnspython >= 2.0.0.
Set `use_search_by_default` attribute to `True`, which
determines the default for whether the search list configured
in the system's resolver configuration is used for relative
names, and whether the resolver's domain may be added to relative
names.
Increase the default lifetime which determines the number of seconds
to spend trying to get an answer to the question. dnspython 2.0.0
changes this to 5sec, while the previous one was 30sec.
c �� �� t �| � |i |�� | j � t t � d| j � | _ t t � d| j � | _ y )N�resolve�resolve_address)�super�__init__�reset_defaults�getattr�queryr �_resolve_addressr )�self�args�kwargs� __class__s ��3/usr/lib/python3/dist-packages/samba/dnsresolver.pyr zDNSResolver.__init__&