debian:pdns_recursor

Розбіжності

Тут показані розбіжності між вибраною ревізією та поточною версією сторінки.

Посилання на цей список змін

Порівняння попередніх версій Попередня ревізія
Наступна ревізія
Попередня ревізія
debian:pdns_recursor [11/10/2022 13:02] Methoddebian:pdns_recursor [07/03/2023 09:47] (поточний) Method
Рядок 35: Рядок 35:
 apt-get update apt-get update
 apt-get install -y pdns-recursor apt-get install -y pdns-recursor
-nano /etc/powerdns/recursor.conf+cp -r /etc/powerdns/ /etc/powerdns.orig/
 </code> </code>
  
 <code bash> <code bash>
 +tee /etc/powerdns/recursor.conf<<EOF
 setgid=pdns setgid=pdns
 setuid=pdns setuid=pdns
Рядок 45: Рядок 46:
 quiet=yes quiet=yes
 security-poll-suffix= security-poll-suffix=
 +EOF
 </code> </code>
  
Рядок 80: Рядок 82:
 mv /etc/resolv.conf /etc/resolv.old.conf mv /etc/resolv.conf /etc/resolv.old.conf
 echo "nameserver 127.0.0.1" > /etc/resolv.conf echo "nameserver 127.0.0.1" > /etc/resolv.conf
 +echo "hint-file=/etc/powerdns/root.zone" >> /etc/powerdns/recursor.conf
 systemctl restart pdns-recursor systemctl restart pdns-recursor
 </code> </code>
  
-  * Другий простіший, але менш продуктивний - переадресувати запитів на інші DNS рекурсори, наприклад Cloudflare та Google+  * Другий простіший, але менш продуктивний - переадресувати запити на інші DNS рекурсори, наприклад Cloudflare та Google
 <code bash> <code bash>
 echo "forward-zones-recurse=.=1.1.1.1;1.0.0.1;8.8.8.8;8.8.4.4;" > /etc/powerdns/recursor.d/forward-zones-recurse.conf echo "forward-zones-recurse=.=1.1.1.1;1.0.0.1;8.8.8.8;8.8.4.4;" > /etc/powerdns/recursor.d/forward-zones-recurse.conf
  • debian/pdns_recursor.1665493333.txt.gz
  • Востаннє змінено: 11/10/2022 13:02
  • повз Method