From f00eab3fa38de7ff15f59e730edf74c1d1bdffa5 Mon Sep 17 00:00:00 2001 From: Anatoli Nicolae Date: Wed, 11 Jan 2023 16:15:45 +0100 Subject: [PATCH] Fix zone removal section --- docs/admin/dns/PowerDNS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/admin/dns/PowerDNS.md b/docs/admin/dns/PowerDNS.md index 1c81f23..ae8776e 100644 --- a/docs/admin/dns/PowerDNS.md +++ b/docs/admin/dns/PowerDNS.md @@ -273,8 +273,8 @@ pdns_control list-zones --type master | sed '$d' | xargs -L1 pdns_control notify Zone removal should be run on slave servers. There is no need to run this on the master as zones are automatically removed upon deletion. ```bash - pdns_control list-zones --type slave | sed '$d' | xargs -I {} sh -c "host -T -t SOA {} master.domain.com | tail -n1 | grep -q 'has no SOA record' | pdnsutil delete-zone {}" - ``` +pdns_control list-zones --type slave | sed '$d' | xargs -I {} sh -c "host -T -t SOA {} master.domain.com | tail -n1 | grep -q 'has no SOA record' | pdnsutil delete-zone {}" +``` ::: tip TCP mode DNS uses UDP by default, which is a lossy protocol that does not guarantee