| Server IP : 65.1.209.187 / Your IP : 216.73.216.144 Web Server : nginx/1.24.0 System : Linux ip-172-31-5-206 6.14.0-1015-aws #15~24.04.1-Ubuntu SMP Tue Sep 23 22:44:48 UTC 2025 x86_64 User : ( 1001) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
�
([Qh� � �t � d dl mZmZ d dlmZmZmZmZ G d� de� Z G d� dee� Z G d� deee� Z
y )
� )�join�normpath)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc �2 � e Zd ZdZdZdZdZeZd� Zd� Z d� Z
y) �NamedzBIND named server�named)�system�services�network�/etc/named.confc �> � | j ddg� | j D ]{ }| j |� s�| j || j |� g� | j t | j |� d� t | j |� d� g� �} y )Nz/etc/default/bindz/var/log/named*.logz
chroot/devzchroot/proc)�
add_copy_spec�config_files�path_exists�get_dns_dir�add_forbidden_pathr )�self�cfgs �:/usr/lib/python3/dist-packages/sos/report/plugins/named.py�setupzNamed.setup s� � �����!�
� � �$�$� �C�����$��"�"���$�$�S�)�$� � �'�'���)�)�#�.��=���)�)�#�.�
�>�)� �
� c �H � | j d|� }|rt |d � S y)z3 grab directory path from named{conf,boot}
zdirectory\s+\"(.*)\"r � )�do_regex_find_allr )r �config_file�directory_lists r r zNamed.get_dns_dir&