{"id":4343,"date":"2024-08-06T09:51:15","date_gmt":"2024-08-06T14:51:15","guid":{"rendered":"https:\/\/www.incredigeek.com\/home\/?p=4343"},"modified":"2024-08-06T09:51:26","modified_gmt":"2024-08-06T14:51:26","slug":"how-to-set-up-a-powerdns-recursor","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/how-to-set-up-a-powerdns-recursor\/","title":{"rendered":"How to Set up a PowerDNS Recursor"},"content":{"rendered":"\n<p>The following are the steps needed to install a PowerDNS recursor on RHEL, Fedora, Rocky Linux, or AlmaLinux<\/p>\n\n\n\n<p>Install from package manager with <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">yum install pdns-recursor<\/pre>\n\n\n\n<p>Allow DNS through Firewall<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo firewall-cmd --add-service=dns --permanent<\/pre>\n\n\n\n<p>Configure the `\/etc\/pdns-recursor\/recursor.conf` file.  The local-address is the DNS recursor, the allow-from, are the addresses you would like to allow access to <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">local-address=192.0.1.2<br>allow-from=192.0.0.0\/16, 10.0.0.0\/8<\/pre>\n\n\n\n<p>Start and enable the `pdns-recursor` service<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl enable --now pdns-recursor<\/pre>\n\n\n\n<p><a href=\"https:\/\/doc.powerdns.com\/recursor\/getting-started.html\">https:\/\/doc.powerdns.com\/recursor\/getting-started.html<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The following are the steps needed to install a PowerDNS recursor on RHEL, Fedora, Rocky Linux, or AlmaLinux Install from package manager with yum install pdns-recursor Allow DNS through Firewall sudo firewall-cmd &#8211;add-service=dns &#8211;permanent Configure the `\/etc\/pdns-recursor\/recursor.conf` file. The local-address &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/how-to-set-up-a-powerdns-recursor\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46,3],"tags":[277,7,1279,1278,831],"class_list":["post-4343","post","type-post","status-publish","format-standard","hentry","category-dns","category-linux","tag-dns","tag-linux-2","tag-pdns","tag-powerdns","tag-resolver"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/4343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=4343"}],"version-history":[{"count":3,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/4343\/revisions"}],"predecessor-version":[{"id":5861,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/4343\/revisions\/5861"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=4343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=4343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=4343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}