{"id":275982,"date":"2016-03-13T00:45:02","date_gmt":"2016-03-12T21:45:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=275982"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=275982","title":{"rendered":"\u0427\u0430\u0441\u0442\u044c 1. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0430\u0432\u0442\u043e\u0440\u0438\u0442\u0430\u0440\u043d\u043e\u0433\u043e DNS \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f PowerDNS"},"content":{"rendered":"<p>       \u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c!<\/p>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u043e\u043f\u0438\u0448\u0443 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0430\u0432\u0442\u043e\u0440\u0438\u0442\u0430\u0440\u043d\u043e\u0433\u043e DNS \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f PowerDNS. PowerDNS \u2014 \u0432\u044b\u0441\u043e\u043a\u043e\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439, \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 DNS \u0441\u0435\u0440\u0432\u0435\u0440 \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c. \u0414\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f, mail.ru \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 PowerDNS \u043a\u0430\u043a \u0434\u0435\u0440\u0436\u0430\u0442\u0435\u043b\u044c \u0441\u0432\u043e\u0438\u0445 \u0437\u043e\u043d.<\/p>\n<p>  PowerDNS \u2014 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u0432\u044b\u0441\u043e\u043a\u043e\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 DNS-\u0441\u0435\u0440\u0432\u0435\u0440, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 C++ \u0438 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0440\u0443\u0435\u043c\u044b\u0439 \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 GPL. \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0432\u0435\u0434\u0451\u0442\u0441\u044f \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 Unix-\u0441\u0438\u0441\u0442\u0435\u043c; Windows-\u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0431\u043e\u043b\u0435\u0435 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f.<br \/>  \u0421\u0435\u0440\u0432\u0435\u0440 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d \u0432 \u0433\u043e\u043b\u043b\u0430\u043d\u0434\u0441\u043a\u043e\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 PowerDNS.com \u0411\u0435\u0440\u0442\u043e\u043c \u0425\u0443\u0431\u0435\u0440\u0442\u043e\u043c \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e\u043c \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f.<br \/>  PowerDNS \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0433\u0438\u0431\u043a\u0443\u044e \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f\/\u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0434\u0430\u043d\u043d\u044b\u043c, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c DNS \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0441 \u043b\u044e\u0431\u043e\u0433\u043e \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445. \u042d\u0442\u043e \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0444\u0430\u0439\u043b\u044b, \u0444\u0430\u0439\u043b\u044b \u0437\u043e\u043d (\u0430\u043d\u0433\u043b.) BIND, \u0440\u0435\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u043b\u0438 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 LDAP.<br \/>  PowerDNS \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d \u043d\u0430 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0438\u0437 \u0411\u0414.<br \/>  \u041f\u043e\u0441\u043b\u0435 \u0432\u044b\u0445\u043e\u0434\u0430 \u0432\u0435\u0440\u0441\u0438\u0438 2.9.20 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0435 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u0435 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0432\u0438\u0434\u0435 \u0434\u0432\u0443\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u2014 (Authoritative) Server (\u0430\u0432\u0442\u043e\u0440\u0438\u0442\u0430\u0440\u043d\u044b\u0439 DNS) \u0438 Recursor (\u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u044b\u0439 DNS).<\/p>\n<p>  <a name=\"habracut\"><\/a><br \/>  \u0418\u0442\u0430\u043a, \u043d\u0430\u0447\u043d\u0435\u043c \u0432\u0441\u0435 \u0441 \u0447\u0438\u0441\u0442\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b CentOS, \u0441\u043a\u0430\u0447\u0430\u043d\u043d\u043e\u0439 \u0441 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430 <a href=\"http:\/\/www.centos.org\">www.centos.org<\/a>.<br \/>  \u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u043c\u043e\u0435\u0433\u043e \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044f:<br \/>  HDD: 15Gb<br \/>  RAM: 16Gb<br \/>  CPU: 8*2,4GHz<br \/>  OS: CentOS 7 (x64)<br \/>  \u0414\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432: CentOS-7-x86_64-Minimal-1503-01.iso<\/p>\n<p>  1) \u041e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438:  <\/p>\n<pre><code class=\"bash\">yum update -y yum clean all rpm -Uvh http:\/\/dl.fedoraproject.org\/pub\/epel\/7\/x86_64\/e\/epel-release-7-5.noarch.rpm rpm -Uvh http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-7.rpm <\/code><\/pre>\n<p>  \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c:  <\/p>\n<pre><code class=\"bash\">yum repolist <\/code><\/pre>\n<p>  2) \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0443\u0442\u0438\u043b\u0438\u0442\u044b  <\/p>\n<pre><code class=\"bash\">yum install net-tools wget bind-utils tcpdump unzip -y <\/code><\/pre>\n<p>  3) \u041e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 firewalld \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c iptables  <\/p>\n<pre><code class=\"bash\">systemctl stop firewalld systemctl disable firewalld yum -y install iptables-services systemctl enable iptables.service systemctl start iptables.service iptables -L -v -n <\/code><\/pre>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043b\u044f \u0444\u0430\u0439\u0435\u0440\u0432\u043e\u043b\u0430  <\/p>\n<pre><code class=\"bash\">vi \/etc\/sysconfig\/iptables <\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0430\u0432\u0438\u043b\u0430 \u0444\u0430\u0439\u0435\u0440\u0432\u043e\u043b\u0430<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"># sample configuration for iptables service # you can edit this manually or use system-config-firewall # please do not ask us to add additional ports\/services to this default configuration *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT -A INPUT -p icmp -j ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -i eno160  -j ACCEPT -A INPUT -i eno192 -p tcp  -m state --state NEW  --dport 53 -j ACCEPT -A INPUT -i eno192 -p udp -m state --state NEW  --dport 53 -j ACCEPT -A INPUT -p tcp -m state --state NEW -m tcp --dport 3306 -j ACCEPT -A INPUT -j REJECT --reject-with icmp-host-prohibited -A FORWARD -j REJECT --reject-with icmp-host-prohibited -P INPUT DROP COMMIT  <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0418 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c iptables  <\/p>\n<pre><code class=\"bash\">service iptables restart <\/code><\/pre>\n<p>  4) \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0430\u043f\u043a\u0443 \u0441\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u043c\u0438 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f  <\/p>\n<pre><code class=\"bash\">mkdir \/script <\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"bash\">vi \/script\/reload.sh &lt;code&gt; service pdns restart service httpd restart &lt;\/code&gt; chmod +x \/script\/*.sh <\/code><\/pre>\n<p>  5) \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c MariaDB<br \/>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439.  <\/p>\n<pre><code class=\"bash\">sudo vi \/etc\/yum.repos.d\/MariaDB.repo <\/code><\/pre>\n<p>  \u0412\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0444\u0430\u0439\u043b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0441\u0442\u0440\u043e\u043a\u0438:  <\/p>\n<pre><code class=\"bash\">[mariadb] name = MariaDB baseurl = http:\/\/yum.mariadb.org\/10.0\/centos7-amd64 gpgkey=https:\/\/yum.mariadb.org\/RPM-GPG-KEY-MariaDB gpgcheck=1 <\/code><\/pre>\n<p>  \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c  <\/p>\n<pre><code class=\"bash\">yum install MariaDB-client MariaDB-common MariaDB-compat MariaDB-devel MariaDB-server MariaDB-shared -y <\/code><\/pre>\n<p>  \u0421\u0442\u0430\u0440\u0442\u0443\u0435\u043c mysql  <\/p>\n<pre><code class=\"bash\">sudo \/etc\/init.d\/mysql start <\/code><\/pre>\n<p>  \u0417\u0430\u0442\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0449\u0438\u0442\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445.  <\/p>\n<pre><code class=\"bash\">sudo mysql_secure_installation <\/code><\/pre>\n<p>  \u0417\u0430\u0442\u0435\u043c \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u00abY\u00bb (\u0414\u0430) \u0434\u043b\u044f \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043e\u043a, \u043f\u043e\u043a\u0430 \u0432\u044b \u043d\u0435 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u0435.  <\/p>\n<pre><code class=\"bash\">Enter current password for root (enter for none): press Enter Set root password? Y New password: Type new root password Re-enter new password: Confirm the password Remove anonymous users? Y Disallow root login remotely? Y Remove test database and access to it? Y Reload privilege tables now? Y <\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c cnf.ini \u0444\u0430\u0439\u043b \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432 \/etc\/ \u0434\u043b\u044f MariaDB. \u041d\u043e \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432:  <\/p>\n<pre><code class=\"bash\">cd \/usr\/share\/mysql <\/code><\/pre>\n<p>  \u0418 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u0438\u0437 \u043f\u0440\u0435\u0434\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0445 cnf.ini \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0439 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b (Huge, Medium \u0438 Small) \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u043f\u0430\u043f\u043a\u0435.<br \/>  \u0421\u0434\u0435\u043b\u0430\u0435\u043c \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0435 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 cnf.ini \u0444\u0430\u0439\u043b\u0430:  <\/p>\n<pre><code class=\"bash\">sudo mv \/etc\/cnf.ini \/etc\/cnf.ini.bak <\/code><\/pre>\n<p>  \u0417\u0430\u0442\u0435\u043c \u0441\u043a\u043e\u043f\u0438\u0440\u0443\u0439\u0442\u0435 \u043e\u0434\u0438\u043d \u0438\u0437 \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0439 \u0432 MariaDB:  <\/p>\n<pre><code class=\"bash\">sudo cp \/usr\/share\/mysql\/my-huge.cnf \/etc\/cnf.ini <\/code><\/pre>\n<p>  \u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c MariaDB \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u043f\u0443\u0441\u043a  <\/p>\n<pre><code class=\"bash\">sudo \/etc\/init.d\/mysql restart systemctl status mysql systemctl enable mysql ss -tnlp | grep 3306 netstat -tap | grep mysql <\/code><\/pre>\n<p>  \u041c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u043c\u043e\u0433 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u0441\u044f \u0438\u0437 \u043b\u044e\u0431\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e:  <\/p>\n<pre><code class=\"bash\">mysql -u root -p GRANT ALL PRIVILEGES ON *.* TO 'imperituroard'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION; exit <\/code><\/pre>\n<p>  \u041c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b Navicat Premium.<\/p>\n<p>  6) \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f PowerDNS<br \/>  \u041e\u043f\u0438\u0441\u0430\u043d\u043e \u043d\u0430 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u0430\u0439\u0442\u0435 <a href=\"https:\/\/doc.powerdns.com\/md\/authoritative\/howtos\/#basic-setup-configuring-database-connectivity\">doc.powerdns.com\/md\/authoritative\/howtos\/#basic-setup-configuring-database-connectivity<\/a><br \/>  \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0444\u0430\u0439\u043b pdns.sql \u0432 \/root \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443:  <\/p>\n<pre><code class=\"bash\">mysql -u root -p &lt; \/root\/pdns.sql <\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0444\u0430\u0439\u043b\u0430 pdns.sql<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"sql\">CREATE DATABASE powerdns character set utf8; GRANT ALL ON powerdns.* TO 'imperituroard'@'localhost' IDENTIFIED BY 'password'; FLUSH PRIVILEGES; USE powerdns; CREATE TABLE domains (   id                    INT AUTO_INCREMENT,   name                  VARCHAR(255) NOT NULL,   master                VARCHAR(128) DEFAULT NULL,   last_check            INT DEFAULT NULL,   type                  VARCHAR(6) NOT NULL,   notified_serial       INT DEFAULT NULL,   account               VARCHAR(40) DEFAULT NULL,   PRIMARY KEY (id) ) Engine=InnoDB; CREATE UNIQUE INDEX name_index ON domains(name); CREATE TABLE records (   id                    INT AUTO_INCREMENT,   domain_id             INT DEFAULT NULL,   name                  VARCHAR(255) DEFAULT NULL,   type                  VARCHAR(10) DEFAULT NULL,   content               VARCHAR(64000) DEFAULT NULL,   ttl                   INT DEFAULT NULL,   prio                  INT DEFAULT NULL,   change_date           INT DEFAULT NULL,   disabled              TINYINT(1) DEFAULT 0,   ordername             VARCHAR(255) BINARY DEFAULT NULL,   auth                  TINYINT(1) DEFAULT 1,   PRIMARY KEY (id) ) Engine=InnoDB; CREATE INDEX nametype_index ON records(name,type); CREATE INDEX domain_id ON records(domain_id); CREATE INDEX recordorder ON records (domain_id, ordername); CREATE TABLE supermasters (   ip                    VARCHAR(64) NOT NULL,   nameserver            VARCHAR(255) NOT NULL,   account               VARCHAR(40) NOT NULL,   PRIMARY KEY (ip, nameserver) ) Engine=InnoDB; CREATE TABLE comments (   id                    INT AUTO_INCREMENT,   domain_id             INT NOT NULL,   name                  VARCHAR(255) NOT NULL,   type                  VARCHAR(10) NOT NULL,   modified_at           INT NOT NULL,   account               VARCHAR(40) NOT NULL,   comment               VARCHAR(64000) NOT NULL,   PRIMARY KEY (id) ) Engine=InnoDB; CREATE INDEX comments_domain_id_idx ON comments (domain_id); CREATE INDEX comments_name_type_idx ON comments (name, type); CREATE INDEX comments_order_idx ON comments (domain_id, modified_at); CREATE TABLE domainmetadata (   id                    INT AUTO_INCREMENT,   domain_id             INT NOT NULL,   kind                  VARCHAR(32),   content               TEXT,   PRIMARY KEY (id) ) Engine=InnoDB; CREATE INDEX domainmetadata_idx ON domainmetadata (domain_id, kind); CREATE TABLE cryptokeys (   id                    INT AUTO_INCREMENT,   domain_id             INT NOT NULL,   flags                 INT NOT NULL,   active                BOOL,   content               TEXT,   PRIMARY KEY(id) ) Engine=InnoDB; CREATE INDEX domainidindex ON cryptokeys(domain_id); CREATE TABLE tsigkeys (   id                    INT AUTO_INCREMENT,   name                  VARCHAR(255),   algorithm             VARCHAR(50),   secret                VARCHAR(255),   PRIMARY KEY (id) ) Engine=InnoDB; CREATE UNIQUE INDEX namealgoindex ON tsigkeys(name, algorithm); <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  7) \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c PowerDNS autoritative. <br \/>  \u0427\u0435\u0440\u0435\u0437 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439  <\/p>\n<pre><code class=\"bash\">yum install pdns pdns-backend-mysql pdns-tools pdns-backend-postgresql -y systemctl enable pdns.service systemctl start pdns.service netstat -tap | grep pdns <\/code><\/pre>\n<p>  \u041b\u0438\u0431\u043e \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432<br \/>  \u042f \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432, \u0447\u0442\u043e \u0438 \u0432\u0430\u043c \u0441\u043e\u0432\u0435\u0442\u0443\u044e. \u0418\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 PowerDNS \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u043d\u0430 github: <a href=\"https:\/\/github.com\/PowerDNS\/pdns\">github.com\/PowerDNS\/pdns<\/a><br \/>  \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432 \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435.  <\/p>\n<pre><code class=\"bash\">yum install autoconf automake bison flex g++ git libboost-all-dev libtool make pkg-config ragel libmysqlclient-dev unzip yum groupinstall &quot;Development Tools&quot; cd \/etc\/yum.repos.d\/ wget http:\/\/download.opensuse.org\/repositories\/home:waziers\/CentOS_CentOS-6\/home:waziers.repo wget http:\/\/springdale.math.ias.edu\/data\/puias\/unsupported\/6\/x86_64\/ragel-6.6-2.puias6.x86_64.rpm rpm -i ragel-6.6-2.puias6.x86_64.rpm yum install -y LuaJIT LuaJIT-devel openssl-devel boost-devel sqlite-devel mysql mysql-devel wget https:\/\/github.com\/PowerDNS\/pdns\/archive\/master.zip unzip master.zip cd pdns-master .\/bootstrap <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432 PowerDNS \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c. \u0422\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u043e\u043f\u0446\u0438\u0438.  <\/p>\n<pre><code class=\"bash\">cd \/root\/pdns-master .\/configure --help .\/configure --with-luajit --with-lua --with-gnu-ld --with-sqlite3 --with-mysql-lib--with-mysql make make install <\/code><\/pre>\n<p>  8) \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u0430\u0432\u0442\u043e\u0440\u0438\u0442\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430  <\/p>\n<pre><code class=\"bash\">cp \/etc\/pdns\/pdns.conf \/etc\/pdns\/pdns.conf.bak vi \/etc\/pdns\/pdns.conf <\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0424\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0430\u0432\u0442\u043e\u0440\u0438\u0442\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 PowerDNS<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"> setuid=pdns setgid=pdns launch=gmysql gmysql-host=127.0.0.1 gmysql-user=imperituroard gmysql-password=password gmysql-dbname=powerdns gmysql-dnssec=yes # Autogenerated configuration file template ################################# # allow-axfr-ips        Allow zonetransfers only to these subnets #  allow-axfr-ips=0.0.0.0\/0  ################################# # allow-dnsupdate-from  A global setting to allow DNS updates from these IP ranges. # # allow-dnsupdate-from=127.0.0.0\/8,::1  ################################# # allow-notify-from     Allow AXFR NOTIFY from these IP ranges. If empty, drop all incoming notifies. # # allow-notify-from=0.0.0.0\/0,::\/0  ################################# # allow-recursion       List of subnets that are allowed to recurse # allow-recursion=0.0.0.0\/0 #lazy-recursion=yes  #recursor=127.0.0.1:5354 recursor=134.17.0.3 #recursor=212.98.160.50 8.8.8.8 8.8.4.4 82.209.240.241 #recursor=8.8.4.4 #recursor=198.41.0.4 #recursor=192.228.79.201 #recursor=192.33.4.12 #recursor=199.7.91.13 #recursor=192.203.230.10 #recursor=192.5.5.241 #recursor=192.112.36.4 #recursor=128.63.2.53 #recursor=192.36.148.17 #recursor=192.58.128.30 #recursor=193.0.14.129 #recursor=199.7.83.42 #recursor=202.12.27.33 ################################# # also-notify   When notifying a domain, also notify these nameservers # # also-notify=  ################################# # any-to-tcp    Answer ANY queries with tc=1, shunting to TCP # # any-to-tcp=no  ################################# # cache-ttl     Seconds to store packets in the PacketCache cache-ttl=20000  ################################# # carbon-interval       Number of seconds between carbon (graphite) updates # # carbon-interval=30  ################################# # carbon-ourname        If set, overrides our reported hostname for carbon stats # # carbon-ourname=  ################################# # carbon-server If set, send metrics in carbon (graphite) format to this server # # carbon-server=  ################################# # chroot        If set, chroot to this directory for more security # # chroot=  ################################# # config-dir    Location of configuration directory (pdns.conf) # # config-dir=\/usr\/local\/etc  ################################# # config-name   Name of this virtual configuration - will rename the binary image # # config-name=  ################################# # control-console       Debugging switch - don't use # control-console=no  ################################# # daemon        Operate as a daemon # #daemon=yes  ################################# # default-ksk-algorithms        Default KSK algorithms # # default-ksk-algorithms=rsasha256  ################################# # default-ksk-size      Default KSK size (0 means default) # # default-ksk-size=0  ################################# # default-soa-mail      mail address to insert in the SOA record if none set in the backend # # default-soa-mail=  ################################# # default-soa-name      name to insert in the SOA record if none set in the backend # default-soa-name=powerdnstest.tech.mts.by  ################################# # default-ttl   Seconds a result is valid if not set otherwise # default-ttl=3600  ################################# # default-zsk-algorithms        Default ZSK algorithms # # default-zsk-algorithms=rsasha256  ################################# # default-zsk-size      Default ZSK size (0 means default) # # default-zsk-size=0  ################################# # direct-dnskey Fetch DNSKEY RRs from backend during DNSKEY synthesis # # direct-dnskey=no  ################################# # disable-axfr  Disable zonetransfers but do allow TCP queries # # disable-axfr=no  ################################# # disable-axfr-rectify  Disable the rectify step during an outgoing AXFR. Only required for regression testing. # # disable-axfr-rectify=no  ################################# # disable-tcp   Do not listen to TCP queries # # disable-tcp=no  ################################# # distributor-threads   Default number of Distributor (backend) threads to start # # distributor-threads=3  ################################# # do-ipv6-additional-processing Do AAAA additional processing # # do-ipv6-additional-processing=yes  ################################# # edns-subnet-processing        If we should act on EDNS Subnet options # # edns-subnet-processing=no  ################################# # entropy-source        If set, read entropy from this file # # entropy-source=\/dev\/urandom  ################################# # experimental-api-key  REST API Static authentication key (required for API use) # # experimental-api-key=  ################################# # experimental-api-readonly     If the JSON API should disallow data modification # # experimental-api-readonly=no  ################################# # experimental-dname-processing If we should support DNAME records # # experimental-dname-processing=no  ################################# # experimental-dnsupdate        Enable\/Disable DNS update (RFC2136) support. Default is no. # # experimental-dnsupdate=no  ################################# # experimental-json-interface   If the webserver should serve JSON data # # experimental-json-interface=no  ################################# # experimental-logfile  Filename of the log file for JSON parser # # experimental-logfile=\/var\/log\/pdns.log  ################################# # forward-dnsupdate     A global setting to allow DNS update packages that are for a Slave domain, to be forwarded to the master. # # forward-dnsupdate=yes  ################################# # guardian      Run within a guardian process # #guardian=no  ################################# # include-dir   Include *.conf files from this directory # # include-dir=  ################################# # launch        Which backends to launch and order to query them in # # launch=  ################################# # load-modules  Load this module - supply absolute or relative path # # load-modules=  ################################# # local-address Local IP addresses to which we bind # # local-address=0.0.0.0  ################################# # local-address-nonexist-fail   Fail to start if one or more of the local-address's do not exist on this server # # local-address-nonexist-fail=yes  ################################# # local-ipv6    Local IP address to which we bind # # local-ipv6=  ################################# # local-ipv6-nonexist-fail      Fail to start if one or more of the local-ipv6 addresses do not exist on this server # # local-ipv6-nonexist-fail=yes  ################################# # local-port    The port on which we listen # # local-port=53  ################################# # log-dns-details       If PDNS should log DNS non-erroneous details # # log-dns-details=no #log-dns-details=\/var\/log\/pdns\/pdns-details.log #log-failed-updates=\/var\/log\/pdns\/pdns-fail.log #logfile=\/var\/log\/pdns\/pdns.log ################################# # log-dns-queries       If PDNS should log all incoming DNS queries # log-dns-queries=yes  ################################# # logging-facility      Log under a specific facility # logging-facility=0  ################################# # loglevel      Amount of logging. Higher is more. Do not set below 3 #  #logfile=\/var\/log\/pdns\/pdns.log #logfile=\/etc\/pdns\/ loglevel=9  ################################# # lua-prequery-script   Lua script with prequery handler # # lua-prequery-script=  ################################# # master        Act as a master # # master=no  ################################# # max-cache-entries     Maximum number of cache entries # # max-cache-entries=1000000  ################################# # max-ent-entries       Maximum number of empty non-terminals in a zone # # max-ent-entries=100000  ################################# # max-nsec3-iterations  Limit the number of NSEC3 hash iterations # # max-nsec3-iterations=500  ################################# # max-queue-length      Maximum queuelength before considering situation lost # max-queue-length=5000  ################################# # max-signature-cache-entries   Maximum number of signatures cache entries # # max-signature-cache-entries=  ################################# ################################# # max-tcp-connections   Maximum number of TCP connections # max-tcp-connections=20  ################################# # module-dir    Default directory for modules # # module-dir=\/usr\/local\/lib\/pdns  ################################# # negquery-cache-ttl    Seconds to store negative query results in the QueryCache # # negquery-cache-ttl=60  ################################# # no-shuffle    Set this to prevent random shuffling of answers - for regression testing # # no-shuffle=off  ################################# # only-notify   Only send AXFR NOTIFY to these IP addresses or netmasks # # only-notify=0.0.0.0\/0,::\/0  ################################# # out-of-zone-additional-processing     Do out of zone additional processing # # out-of-zone-additional-processing=yes  ################################# # overload-queue-length Maximum queuelength moving to packetcache only # # overload-queue-length=0  ################################# # pipebackend-abi-version       Version of the pipe backend ABI # # pipebackend-abi-version=1 ################################# # prevent-self-notification     Don't send notifications to what we think is ourself # # prevent-self-notification=yes  ################################# # query-cache-ttl       Seconds to store query results in the QueryCache # # query-cache-ttl=20  ################################# # query-local-address   Source IP address for sending queries # # query-local-address=0.0.0.0  ################################# # query-local-address6  Source IPv6 address for sending queries # # query-local-address6=::  ################################# # query-logging Hint backends that queries should be logged # # query-logging=no  ################################# # queue-limit   Maximum number of milliseconds to queue a query # # queue-limit=1500  ################################# # receiver-threads      Default number of receiver threads to start # # receiver-threads=1  ################################# # recursive-cache-ttl   Seconds to store packets for recursive queries in the PacketCache # # recursive-cache-ttl=10  ################################# # recursor      If recursion is desired, IP address of a recursing nameserver # # recursor=no  ################################# # retrieval-threads     Number of AXFR-retrieval threads for slave operation # # retrieval-threads=2  ################################# # reuseport     Enable higher performance on compliant kernels by using SO_REUSEPORT allowing each receiver thread to open its own socket # # reuseport=no  ################################# # security-poll-suffix  Domain name from which to query security update notifications # # security-poll-suffix=secpoll.powerdns.com.  ################################# # send-root-referral    Send out old-fashioned root-referral instead of ServFail in case of no authority # # send-root-referral=no  ################################# # server-id     Returned when queried for 'server.id' TXT or NSID, defaults to hostname - disabled or custom # # server-id=  ################################# # setgid        If set, change group id to this gid for more security # # setgid=  ################################# # setuid        If set, change user id to this uid for more security # # setuid=  ################################# # signing-threads       Default number of signer threads to start # # # signing-threads=3  ################################# # slave Act as a slave # # slave=no  ################################# # slave-cycle-interval  Schedule slave freshness checks once every .. seconds # # slave-cycle-interval=60  ################################# # slave-renotify        If we should send out notifications for slaved updates # # slave-renotify=no  ################################# # soa-expire-default    Default SOA expire # # soa-expire-default=604800  ################################# # soa-minimum-ttl       Default SOA minimum ttl # # soa-minimum-ttl=3600  ################################# # soa-refresh-default   Default SOA refresh # # soa-refresh-default=10800  ################################# # soa-retry-default     Default SOA retry # # soa-retry-default=3600 ################################# # socket-dir    Where the controlsocket will live # # socket-dir=\/var\/run  ################################# # tcp-control-address   If set, PowerDNS can be controlled over TCP on this address # # tcp-control-address=  ################################# # tcp-control-port      If set, PowerDNS can be controlled over TCP on this address # # tcp-control-port=53000  ################################# # tcp-control-range     If set, remote control of PowerDNS is possible over these networks only # # tcp-control-range=127.0.0.0\/8, 10.0.0.0\/8, 192.168.0.0\/16, 172.16.0.0\/12, ::1\/128, fe80::\/10  ################################# # tcp-control-secret    If set, PowerDNS can be controlled over TCP after passing this secret # # tcp-control-secret=  ################################# # traceback-handler     Enable the traceback handler (Linux only) # # traceback-handler=yes  ################################# # trusted-notification-proxy    IP address of incoming notification proxy # # trusted-notification-proxy=  ################################# # udp-truncation-threshold      Maximum UDP response size before we truncate # # udp-truncation-threshold=1680 ################################# # version-string        PowerDNS version in packets - full, anonymous, powerdns or custom # # version-string=full  ################################# # webserver     Start a webserver for monitoring # # webserver=no  ################################# # webserver-address     IP Address of webserver to listen on # # webserver-address=127.0.0.1  ################################# # webserver-allow-from  Webserver access is only allowed from these subnets # # webserver-allow-from=0.0.0.0\/0,::\/0  ################################# # webserver-password    Password required for accessing the webserver # # webserver-password=  ################################# # webserver-port        Port of webserver to listen on # # webserver-port=8081  ################################# # webserver-print-arguments     If the webserver should print arguments # # webserver-print-arguments=no  <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u0441\u044f  <\/p>\n<pre><code class=\"bash\">service pdns restart <\/code><\/pre>\n<p>  9) \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u044b\u0439 DNS  <\/p>\n<pre><code class=\"bash\">yum install pdns-recursor -y vi \/etc\/pdns-recursor\/recursor.conf <\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"bash\">chkconfig pdns-recursor on service pdns-recursor start <\/code><\/pre>\n<p>  10) \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0432\u0435\u0431 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430<br \/>  \u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f.  <\/p>\n<pre><code class=\"bash\">yum -y install httpd php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear  php-xml php-xmlrpc php-mbstring php-mcrypt php-mhash gettext -y chkconfig --levels 235 httpd on systemctl enable httpd.service systemctl start httpd.service service httpd start yum -y install php-pear-DB php-pear-MDB2-Driver-mysql -y <\/code><\/pre>\n<p>  \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c apache  <\/p>\n<pre><code class=\"bash\">vi \/etc\/httpd\/conf\/httpd.conf <\/code><\/pre>\n<p>  \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0432\u0435\u0431 GUI<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041c\u043e\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f apache<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"> # # This is the main Apache HTTP server configuration file.  It contains the # configuration directives that give the server its instructions. # See &lt;URL:http:\/\/httpd.apache.org\/docs\/2.4\/&gt; for detailed information. # In particular, see  # &lt;URL:http:\/\/httpd.apache.org\/docs\/2.4\/mod\/directives.html&gt; # for a discussion of each configuration directive. # # Do NOT simply read the instructions in here without understanding # what they do.  They're here only as hints or reminders.  If you are unsure # consult the online docs. You have been warned.   # # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with &quot;\/&quot; (or &quot;drive:\/&quot; for Win32), the # server will use that explicit path.  If the filenames do *not* begin # with &quot;\/&quot;, the value of ServerRoot is prepended -- so 'log\/access_log' # with ServerRoot set to '\/www' will be interpreted by the # server as '\/www\/log\/access_log', where as '\/log\/access_log' will be # interpreted as '\/log\/access_log'.  # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # Do not add a slash at the end of the directory path.  If you point # ServerRoot at a non-local disk, be sure to specify a local disk on the # Mutex directive, if file-based mutexes are used.  If you wish to share the # same ServerRoot for multiple httpd daemons, you will need to change at # least PidFile. # ServerRoot &quot;\/etc\/httpd&quot;  # # Listen: Allows you to bind Apache to specific IP addresses and\/or # ports, instead of the default. See also the &lt;VirtualHost&gt; # directive. # # Change this to Listen on specific IP addresses as shown below to  # prevent Apache from glomming onto all bound IP addresses. # #Listen 12.34.56.78:80 Listen 80  # # Dynamic Shared Object (DSO) Support # # To be able to use the functionality of a module which was built as a DSO you # have to place corresponding `LoadModule' lines at this location so the # directives contained in it are actually available _before_ they are used. # Statically compiled modules (those listed by `httpd -l') do not need # to be loaded here. # # Example: # LoadModule foo_module modules\/mod_foo.so # Include conf.modules.d\/*.conf  # # If you wish httpd to run as a different user or group, you must run # httpd as root initially and it will switch.   # # User\/Group: The name (or #number) of the user\/group to run httpd as. # It is usually good practice to create a dedicated user and group for # running httpd, as with most system services. # User apache Group apache  # 'Main' server configuration # # The directives in this section set up the values used by the 'main' # server, which responds to any requests that aren't handled by a # &lt;VirtualHost&gt; definition.  These values also provide defaults for # any &lt;VirtualHost&gt; containers you may define later in the file. # # All of these directives may appear inside &lt;VirtualHost&gt; containers, # in which case these default settings will be overridden for the # virtual host being defined. #  # # ServerAdmin: Your address, where problems with the server should be # e-mailed.  This address appears on some server-generated pages, such # as error documents.  e.g. admin@your-domain.com # ServerAdmin root@localhost  # # ServerName gives the name and port that the server uses to identify itself. # This can often be determined automatically, but we recommend you specify # it explicitly to prevent problems during startup. # # If your host doesn't have a registered DNS name, enter its IP address here. # #ServerName www.example.com:80  # # Deny access to the entirety of your server's filesystem. You must # explicitly permit access to web content directories in other  # &lt;Directory&gt; blocks below. # &lt;Directory \/&gt;     AllowOverride none     Require all denied &lt;\/Directory&gt;  # # Note that from this point forward you must specifically allow # particular features to be enabled - so if something's not working as # you might expect, make sure that you have specifically enabled it # below. #  # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot &quot;\/var\/www\/html&quot;  # # Relax access to content within \/var\/www. # &lt;Directory &quot;\/var\/www&quot;&gt;     AllowOverride None     # Allow open access:     Require all granted &lt;\/Directory&gt;  # Further relax access to the default document root: &lt;Directory &quot;\/var\/www\/html&quot;&gt;     #     # Possible values for the Options directive are &quot;None&quot;, &quot;All&quot;,     # or any combination of:     #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews     #     # Note that &quot;MultiViews&quot; must be named *explicitly* --- &quot;Options All&quot;     # doesn't give it to you.     #     # The Options directive is both complicated and important.  Please see     # http:\/\/httpd.apache.org\/docs\/2.4\/mod\/core.html#options     # for more information.     #     Options Indexes FollowSymLinks      #     # AllowOverride controls what directives may be placed in .htaccess files.     # It can be &quot;All&quot;, &quot;None&quot;, or any combination of the keywords:     #   Options FileInfo AuthConfig Limit     #     AllowOverride None      #     # Controls who can get stuff from this server.     #     Require all granted &lt;\/Directory&gt;   &lt;Directory &quot;\/var\/www\/html\/powerdns\/&quot;&gt; Order deny,allow deny from all allow from 217.21.61.8 allow from 10.128.71.3 allow from 10.135.55.4 allow from 46.216.24.152 &lt;\/Directory&gt;   # # DirectoryIndex: sets the file that Apache will serve if a directory # is requested. # &lt;IfModule dir_module&gt;     DirectoryIndex index.html &lt;\/IfModule&gt;  # # The following lines prevent .htaccess and .htpasswd files from being  # viewed by Web clients.  # &lt;Files &quot;.ht*&quot;&gt;     Require all denied &lt;\/Files&gt;  # # ErrorLog: The location of the error log file. # If you do not specify an ErrorLog directive within a &lt;VirtualHost&gt; # container, error messages relating to that virtual host will be # logged here.  If you *do* define an error logfile for a &lt;VirtualHost&gt; # container, that host's errors will be logged there and not here. # ErrorLog &quot;logs\/error_log&quot;  # # LogLevel: Control the number of messages logged to the error_log. # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. # LogLevel warn  &lt;IfModule log_config_module&gt;     #     # The following directives define some format nicknames for use with     # a CustomLog directive (see below).     #     LogFormat &quot;%h %l %u %t \\&quot;%r\\&quot; %&gt;s %b \\&quot;%{Referer}i\\&quot; \\&quot;%{User-Agent}i\\&quot;&quot; combined     LogFormat &quot;%h %l %u %t \\&quot;%r\\&quot; %&gt;s %b&quot; common      &lt;IfModule logio_module&gt;       # You need to enable mod_logio.c to use %I and %O       LogFormat &quot;%h %l %u %t \\&quot;%r\\&quot; %&gt;s %b \\&quot;%{Referer}i\\&quot; \\&quot;%{User-Agent}i\\&quot; %I %O&quot; combinedio     &lt;\/IfModule&gt;      #     # The location and format of the access logfile (Common Logfile Format).     # If you do not define any access logfiles within a &lt;VirtualHost&gt;     # container, they will be logged here.  Contrariwise, if you *do*     # define per-&lt;VirtualHost&gt; access logfiles, transactions will be     # logged therein and *not* in this file.     #     #CustomLog &quot;logs\/access_log&quot; common      #     # If you prefer a logfile with access, agent, and referer information     # (Combined Logfile Format) you can use the following directive.     #     CustomLog &quot;logs\/access_log&quot; combined &lt;\/IfModule&gt;  &lt;IfModule alias_module&gt;     #     # Redirect: Allows you to tell clients about documents that used to      # exist in your server's namespace, but do not anymore. The client      # will make a new request for the document at its new location.     # Example:     # Redirect permanent \/foo http:\/\/www.example.com\/bar      #     # Alias: Maps web paths into filesystem paths and is used to     # access content that does not live under the DocumentRoot.     # Example:     # Alias \/webpath \/full\/filesystem\/path     #     # If you include a trailing \/ on \/webpath then the server will     # require it to be present in the URL.  You will also likely     # need to provide a &lt;Directory&gt; section to allow access to     # the filesystem path.      #     # ScriptAlias: This controls which directories contain server scripts.      # ScriptAliases are essentially the same as Aliases, except that     # documents in the target directory are treated as applications and     # run by the server when requested rather than as documents sent to the     # client.  The same rules about trailing &quot;\/&quot; apply to ScriptAlias     # directives as to Alias.     #     ScriptAlias \/cgi-bin\/ &quot;\/var\/www\/cgi-bin\/&quot;  &lt;\/IfModule&gt;  # # &quot;\/var\/www\/cgi-bin&quot; should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # &lt;Directory &quot;\/var\/www\/cgi-bin&quot;&gt;     AllowOverride None     Options None     Require all granted &lt;\/Directory&gt;  &lt;IfModule mime_module&gt;     #     # TypesConfig points to the file containing the list of mappings from     # filename extension to MIME-type.     #     TypesConfig \/etc\/mime.types      #     # AddType allows you to add to or override the MIME configuration     # file specified in TypesConfig for specific file types.     #     #AddType application\/x-gzip .tgz     #     # AddEncoding allows you to have certain browsers uncompress     # information on the fly. Note: Not all browsers support this.     #     #AddEncoding x-compress .Z     #AddEncoding x-gzip .gz .tgz     #     # If the AddEncoding directives above are commented-out, then you     # probably should define those extensions to indicate media types:     #     AddType application\/x-compress .Z     AddType application\/x-gzip .gz .tgz      #     # AddHandler allows you to map certain file extensions to &quot;handlers&quot;:     # actions unrelated to filetype. These can be either built into the server     # or added with the Action directive (see below)     #     # To use CGI scripts outside of ScriptAliased directories:     # (You will also need to add &quot;ExecCGI&quot; to the &quot;Options&quot; directive.)     #     #AddHandler cgi-script .cgi      # For type maps (negotiated resources):     #AddHandler type-map var      #     # Filters allow you to process content before it is sent to the client.     #     # To parse .shtml files for server-side includes (SSI):     # (You will also need to add &quot;Includes&quot; to the &quot;Options&quot; directive.)     #     AddType text\/html .shtml     AddOutputFilter INCLUDES .shtml &lt;\/IfModule&gt;  # # Specify a default charset for all content served; this enables # interpretation of all content as UTF-8 by default.  To use the  # default browser choice (ISO-8859-1), or to allow the META tags # in HTML content to override this choice, comment out this # directive: # AddDefaultCharset UTF-8  &lt;IfModule mime_magic_module&gt;     #     # The mod_mime_magic module allows the server to use various hints from the     # contents of the file itself to determine its type.  The MIMEMagicFile     # directive tells the module where the hint definitions are located.     #     MIMEMagicFile conf\/magic &lt;\/IfModule&gt;  # # Customizable error responses come in three flavors: # 1) plain text 2) local redirects 3) external redirects # # Some examples: #ErrorDocument 500 &quot;The server made a boo boo.&quot; #ErrorDocument 404 \/missing.html #ErrorDocument 404 &quot;\/cgi-bin\/missing_handler.pl&quot; #ErrorDocument 402 http:\/\/www.example.com\/subscription_info.html #  # # EnableMMAP and EnableSendfile: On systems that support it,  # memory-mapping or the sendfile syscall may be used to deliver # files.  This usually improves server performance, but must # be turned off when serving from networked-mounted  # filesystems or if support for these functions is otherwise # broken on your system. # Defaults if commented: EnableMMAP On, EnableSendfile Off # #EnableMMAP off EnableSendfile on  # Supplemental configuration # # Load config files in the &quot;\/etc\/httpd\/conf.d&quot; directory, if any. IncludeOptional conf.d\/*.conf  <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c apache.  <\/p>\n<pre><code class=\"bash\">service httpd restart <\/code><\/pre>\n<p>  11) \u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0432\u0435\u0440\u0441\u0438\u044e PowerAdmin \u0441 \u0441\u0430\u0439\u0442\u0430 <a href=\"https:\/\/www.poweradmin.org\/\">www.poweradmin.org<\/a><br \/>  \u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0432\u0435\u0440\u0441\u0438\u044e 2.1.7  <\/p>\n<pre><code class=\"bash\">cd \/root wget  -O poweradmin.zip https:\/\/github.com\/poweradmin\/poweradmin\/archive\/master.zip  -c unzip poweradmin.zip -d \/var\/www\/html\/ mv \/var\/www\/html\/poweradmin* \/var\/www\/html\/poweradmin chown -R apache:apache \/var\/www\/html\/poweradmin\/ cp \/var\/www\/html\/poweradmin\/inc\/config-me.inc.php \/var\/www\/html\/poweradmin\/inc\/config.inc.php vi \/var\/www\/html\/poweradmin\/inc\/config.inc.php <\/code><\/pre>\n<p>  \u0412 \u044d\u0442\u043e\u043c \u0444\u0430\u0439\u043b\u0435 \u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u0441\u0442\u0440\u043e\u043a\u0438:<br \/>  <code>$db_host = 'localhost';<br \/>  $db_port = '3306';<br \/>  $db_user = 'imperituroard';<br \/>  $db_pass = 'password';<br \/>  $db_name = 'powerdns';<br \/>  $db_type = 'mysql';<br \/>  <\/code><br \/>  \u041c\u0435\u043d\u044f\u0435\u043c Default session encryption key  <\/p>\n<pre><code class=\"bash\">$session_key = 'fg234v95ms@4n)kf!kje%7vh*eved'; <\/code><\/pre>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041c\u043e\u0439 \u0444\u0430\u0439\u043b config.inc.php<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"> &lt;?php  \/**  * Sample configuration file with default values  *  * @package     Poweradmin  * @copyright   2007-2010 Rejo Zenger &lt;rejo@zenger.nl&gt;  * @copyright   2010-2014 Poweradmin Development Team  * @license     http:\/\/opensource.org\/licenses\/GPL-3.0 GPL  *\/ \/\/ NOTE: Do not edit this file, otherwise it's very likely your changes  \/\/ will be overwritten with an upgrade.   \/\/ Instead, create the file &quot;inc\/config.inc.php&quot; and set the variables you \/\/ want to set there. Your changes will override the defaults provided by us. \/\/ Better description of available configuration settings you can find here: \/\/ &lt;https:\/\/github.com\/poweradmin\/poweradmin\/wiki\/Configuration-File&gt; \/\/ Database settings $db_host = 'localhost'; $db_port = '3306'; $db_user = 'imperituroard'; $db_pass = 'password'; $db_name = 'powerdns'; $db_type = 'mysql'; \/\/$db_file\t\t= '';\t\t# used only for SQLite, provide full path to database file \/\/$db_debug\t\t= false;\t# show all SQL queries $db_layer\t\t= 'PDO';\t# or MDB2 \/\/$db_ssl_ca            = ''; \/\/ Security settings \/\/ This should be changed upon install $session_key = 'fg234v95ms@4n)kf!kje%7vh*eved'; $password_encryption = 'md5'; \/\/ or md5salt  \/\/ Interface settings $iface_lang = 'en_EN'; $iface_style = 'example'; $iface_rowamount = 50; $iface_expire = 1800; $iface_zonelist_serial = false; $iface_title = 'Poweradmin'; $iface_add_reverse_record = true;  \/\/ Predefined DNS settings $dns_hostmaster = ''; $dns_ns1 = ''; $dns_ns2 = ''; $dns_ttl = 86400; $dns_fancy = false; $dns_strict_tld_check = false; $dns_top_level_tld_check = false;     \/\/ Don't allow to create top level TLDs $dns_third_level_check = false; \/\/ Timezone settings \/\/ See &lt;http:\/\/www.php.net\/manual\/en\/timezones.php&gt; for help. \/\/$timezone\t\t= 'UTC'; \/\/ Logging settings \/\/ Syslog usage - writes authentication attempts to syslog \/\/ This facility could be used in combination with fail2ban to \/\/ ban IPs with break-in attempts $syslog_use = false; $syslog_ident = 'poweradmin'; \/\/ On Windows usually only LOG_USER is available $syslog_facility = LOG_USER;  \/\/ PowerDNSSEC settings $pdnssec_use = false; $pdnssec_command = '\/usr\/bin\/pdnssec';  \/\/ LDAP settings $ldap_use = false; $ldap_debug = false; $ldap_uri = 'ldap:\/\/domaincontroller.example.com'; $ldap_basedn = 'OU=Users,DC=example,DC=com'; $ldap_binddn = 'GROUP\\lookupuser'; $ldap_bindpw = 'some_password'; $ldap_user_attribute = 'sAMAccountName'; $ldap_proto = 3; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u0441\u044f  <\/p>\n<pre><code class=\"bash\">service httpd restart service pdns restart <\/code><\/pre>\n<p>  12) \u0424\u0438\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430<br \/>  \u0417\u0430\u0445\u043e\u0434\u0438\u043c \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 <a href=\"http:\/\/172.24.184.177\/poweradmin\/install\/index.php\">172.24.184.177\/poweradmin\/install\/index.php<\/a><br \/>  \u0413\u0434\u0435 172.24.184.177 \u2014 IP \u0432\u0430\u0448\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430.<br \/>  \u0418 \u0432\u0432\u043e\u0434\u0438\u043c \u0432\u0441\u0435 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435.<br \/>  \u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438, \u0443\u0434\u0430\u043b\u044f\u0435\u043c \u043f\u0430\u043f\u043a\u0443 \/var\/www\/html\/poweradmin\/install \u0438 \u0437\u0430\u0445\u043e\u0434\u0438\u043c \u0432 \u0432\u0435\u0431 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u043e<br \/>  \u0430\u0434\u0440\u0435\u0441\u0443 <a href=\"http:\/\/172.24.184.177\/poweradmin\/index.php\">172.24.184.177\/poweradmin\/index.php<\/a><\/p>\n<p>  \u0410 \u0432\u043e\u0442 \u0442\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u0435\u0431 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 (\u0435\u0441\u0442\u044c \u0440\u0443\u0441\u0441\u043a\u0438\u0439 \u044f\u0437\u044b\u043a):<br \/>  <img decoding=\"async\" src=\"http:\/\/i5.imageban.ru\/out\/2016\/03\/13\/968587aab3882cdc6322e843221d0fea.jpg\" alt=\"image\"\/><\/p>\n<p>  P.S. \u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u2014 \u043f\u0435\u0440\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043c\u043e\u0435\u0433\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430. \u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0447\u0430\u0441\u0442\u0438 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043f\u0440\u043e \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u0434\u043b\u044f \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438 \u043f\u0440.               <\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habrahabr.ru\/post\/278153\/\"> https:\/\/habrahabr.ru\/post\/278153\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       \u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c!<\/p>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u043e\u043f\u0438\u0448\u0443 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0430\u0432\u0442\u043e\u0440\u0438\u0442\u0430\u0440\u043d\u043e\u0433\u043e DNS \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f PowerDNS. PowerDNS \u2014 \u0432\u044b\u0441\u043e\u043a\u043e\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439, \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 DNS \u0441\u0435\u0440\u0432\u0435\u0440 \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c. \u0414\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f, mail.ru \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 PowerDNS \u043a\u0430\u043a \u0434\u0435\u0440\u0436\u0430\u0442\u0435\u043b\u044c \u0441\u0432\u043e\u0438\u0445 \u0437\u043e\u043d.<\/p>\n<p>  PowerDNS \u2014 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u0432\u044b\u0441\u043e\u043a\u043e\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 DNS-\u0441\u0435\u0440\u0432\u0435\u0440, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 C++ \u0438 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0440\u0443\u0435\u043c\u044b\u0439 \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 GPL. \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0432\u0435\u0434\u0451\u0442\u0441\u044f \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 Unix-\u0441\u0438\u0441\u0442\u0435\u043c; Windows-\u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0431\u043e\u043b\u0435\u0435 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f.<br \/>  \u0421\u0435\u0440\u0432\u0435\u0440 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d \u0432 \u0433\u043e\u043b\u043b\u0430\u043d\u0434\u0441\u043a\u043e\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 PowerDNS.com \u0411\u0435\u0440\u0442\u043e\u043c \u0425\u0443\u0431\u0435\u0440\u0442\u043e\u043c \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e\u043c \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f.<br \/>  PowerDNS \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0433\u0438\u0431\u043a\u0443\u044e \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f\/\u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0434\u0430\u043d\u043d\u044b\u043c, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c DNS \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0441 \u043b\u044e\u0431\u043e\u0433\u043e \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445. \u042d\u0442\u043e \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0444\u0430\u0439\u043b\u044b, \u0444\u0430\u0439\u043b\u044b \u0437\u043e\u043d (\u0430\u043d\u0433\u043b.) BIND, \u0440\u0435\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u043b\u0438 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 LDAP.<br \/>  PowerDNS \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d \u043d\u0430 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0438\u0437 \u0411\u0414.<br \/>  \u041f\u043e\u0441\u043b\u0435 \u0432\u044b\u0445\u043e\u0434\u0430 \u0432\u0435\u0440\u0441\u0438\u0438 2.9.20 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0435 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u0435 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0432\u0438\u0434\u0435 \u0434\u0432\u0443\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u2014 (Authoritative) Server (\u0430\u0432\u0442\u043e\u0440\u0438\u0442\u0430\u0440\u043d\u044b\u0439 DNS) \u0438 Recursor (\u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u044b\u0439 DNS).<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-275982","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/275982","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=275982"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/275982\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=275982"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=275982"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=275982"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}