%PDF- %PDF-
| Direktori : /usr/lib/python3/dist-packages/samba/__pycache__/ |
| Current File : //usr/lib/python3/dist-packages/samba/__pycache__/dnsserver.cpython-312.pyc |
�
�I�d8 � � � d dl Z d dlZd dlmZmZ d dlmZmZ G d� de� Z G d� dej � Z G d� d ej � Z G d
� dej � Z
G d� d
ej � Z G d� dej � Z G d� dej � Z G d� dej � Z G d� dej � Z G d� dej � Zi Zd� Z e� [dd�Zd� Zd� Zd� Zd� Zd� Zy) � N)� dnsserver�dnsp)�WERRORError�werrorc � � e Zd Zy)�
DNSParseErrorN)�__name__�
__module__�__qualname__� � �1/usr/lib/python3/dist-packages/samba/dnsserver.pyr r - s � �r
r c �N � � e Zd Zddej df� fd� Zedd�� Z� xZS )�ARecord� � r c � �� t t | � � t j | _ ||z | _ || _ || _ || _ y �N)
�superr �__init__r �
DNS_TYPE_A�wType�dwFlags�dwSerial�dwTtlSeconds�data)�self�ip_addr�serial�ttl�rank� node_flag� __class__s �r r zARecord.__init__2 s= �� �
�g�t�%�'��_�_��
��i�'�����
������ r
c � � | |fi |��S r r ��clsr �sep�kwargss r �from_stringzARecord.from_string; � � ��4�"�6�"�"r
r � r r
r r �
DNS_RANK_ZONEr �classmethodr) �
__classcell__�r# s @r r r 1 s, �� �'(�c��8J�8J��� �#� �#r
r c �N � � e Zd Zddej df� fd� Zedd�� Z� xZS )�
AAAARecordr r r c � �� t t | � � t j | _ ||z | _ || _ || _ || _ y r )
r r1 r r �
DNS_TYPE_AAAAr r r r r )r �ip6_addrr r r! r"