| Server IP : 173.209.174.21 / Your IP : 216.73.216.89 Web Server : Apache/2.4.58 (Ubuntu) System : Linux wcfs-server 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : nodor ( 1000) 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 : |
�
G%@i� � �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&