Questions tagged [powerdns]

PowerDNS is a DNS server developed by PowerDNS.COM BV, and known for its variety of backends.

PowerDNS is a DNS server, designed and running on most UNIX operating systems. It allows dynamic DNS changes through several backends, therefore making DNS zones edition easier than the basic BIND configuration scheme. PowerDNS 3.0 includes a DNSSEC support.

Basics

In its basic configuration, PowerDNS (shortened "pdns" in a technical environment) runs with 2 components:

  • A core server, pdns_server, handling DNS-related operations.
  • Loadable backends running as independent threads, handling data storage and organisation.

At the moment, the documentation refers to the following backends:

  • The random backend: silly little backend for demonstration and testing. Generates a random IP address for a given domain name.
  • Pipe backend: the core server handles communication and gets its data from a third-party program, used as the backend. This setup allows the system administrator to use the possibilities of UNIX pipes, and build more complex DNS queries handling processes.
  • MySQL/pgSQL backend: the core server gets its data from a MySQL or pgSQL database, which has to follow a given structure.
  • Oracle backend: same behaviour as above, with some Oracle specifics.
  • SQLite: same behaviour as above, with some SQLite specifics.
  • IBM DB2: same behaviour as above, with some IBM DB2 specifics.
  • OpenDBX backend: same behaviour as above. The module is independent.
  • Bind backend: allows PowerDNS to work as an intermediate process between the client and Bind zone files.
  • ODBC backend (windows only): allows PowerDNS to get information from any source of which it has the correct ODBC driver for.
  • LDAP backend (unmaintained and declared unstable): allows PowerDNS to store its data in a lightweight directory.
  • Geo backend: allows PowerDNS to handle DNS requests on an IP/country basis, using a GeoIP-like database.
  • Lua backend: allows PowerDNS to resolve queries using a Lua script.
  • TinyDNS (recent and experimental): allows PowerDNS to store data in a CDB file.
  • Remote backend: allows PowerDNS to use sockets, pipe and other network components to resolve its DNS queries.

Note: backends are usually referred to as modules, meaning anyone can develop his own DNS queries handler.

The PowerDNS recursor

The recursor is an additional component for a PowerDNS server. The core server can be configured to proxy requests to the recursor, acting as a DNS resolver. It allows the use of caches, recursing and resolving. Running the recursor on its own is therefore more efficient than running it behind the authoritative pdns_server. The pdns_recursor is known to run on several broadband providers infrastructures, as it can handle numerous requests through a multi-threaded behaviour (MTasker library homepage).

145 questions
0
votes
1 answer

Notifications of PowerDNS authoritative server behind dnsdist not working

I have three DNS servers: x.y.z.10 which is configured as supermaster, x.y.z.11 and x.y.z.12 which both are configured as superslaves. On all three machines: dnsdist is running on port 53 for (yet to be done) high availability pdns is running on…
user1933738
  • 247
  • 1
  • 6
0
votes
2 answers

PowerDNS Slave Refused to receive notification notify Refused-*

Hello I got the Error : notify Refused- on the Slave server that waiting for updating record from the Master. I have installed PowerDNS on a fresh server using the both official PowerDNS ansible and by bare hand (test on this two method really!…
navotera
  • 101
  • 5
0
votes
1 answer

PowerDNS & Log4j

I'm running a PowerDNS on Linux. It looks like PowerDNS is vulnerable to the new log4j-exploit. Is there any way I can disable the Log4j? From my research it looks like you can change the logging method to syslog, but I'm not quite sure on how to do…
Halsi
  • 87
  • 1
  • 5
0
votes
0 answers

PowerDNS Recursor cache

I have a question. Is it possible to disable the cache completely for powerdns recursor? I have a problem with the domains cache. Recently a client was changing NS records from CloudFlare to other and my DNS kept pointing to old records. TTL was…
onee
  • 19
  • 5
0
votes
1 answer

AppArmor Profile for PowerDNS

I am currently working on a new authoritative nameserver using powerdns on Ubuntu 8.04 LTS. I'd like to have AppArmor protecting this service like it did with bind, but when I look in /etc/apparmor.d/, there was no AppArmor profile for this service…
Cory J
  • 1,568
  • 5
  • 19
  • 28
0
votes
0 answers

server can't find :NXDOMAIN -- Ubuntu 18

Went thru all possible available solutions over the internet, before posting the question here. I'm trying to replicate my working DNS production server onto a staging environment using the same Ansible Playbooks (with new values of-course :)) Only…
dev
  • 101
0
votes
1 answer

Powerdns recursor returns unexpected SERVFAIL when forwarding to PowerDNS Authoritative

I have Powerdns recursor (4.4.2 from ubuntu repo) and PowerDNS Authoritative (4.4.1 from ubuntu repo) on the different servers. Recursor…
UsCr
  • 191
  • 5
0
votes
1 answer

Powerdns GeoIP Unable to load module '/usr/lib64/pdns/libgeoipbackend.so':

I am trying to activate geoip module on powerdns I am getting strange error message. GeoIP db installed Package GeoIP-1.6.12-7.el8.x86_64 is already installed. Centos…
danone
  • 166
  • 1
  • 10
0
votes
1 answer

Building own smart dns-proxy with powerdns and Squid to socks5

I want to build my own small smart dns-proxy server with following features: Client sets DNS Server like (2.2.2.2 <- MY DNS Server includes Proxy Squid) Client sends request for sepcial domains (youtube.com etc.) DNS responses: 2.2.2.2 (my proxy…
mncache
  • 3
  • 1
  • 4
0
votes
1 answer

What i need to read in order to configure PowerDNS?

Recently i was tasked to configure PowerDNS on windows using Microsoft SQL data source so it will resolve LAN names like "a1" into 192.168.0.10, "a2" into 192.168.0.11 etc. Lots of records. But i don't have experience with DNS server configuration,…
grigoryvp
  • 3,655
  • 11
  • 39
  • 59
0
votes
1 answer

DNS Records cannot read in PowerDNS

I have installed the PowerDNS as DNS Server (per this question: Read DNS Zones from database) Everything works fine and I can get the response from the DNS server, but no records return from the server. I have two A records but when I run dig or…
MajAfy
  • 107
  • 2
  • 6
0
votes
1 answer

How can I dump the pdns-recursor cache on Debian?

According to man rec_control(1) I should be able to dump the pdns-recursor cache to file with rec_control dump-cache /tmp/the-cache. If I do that (on Debian buster), it says "dumped xxx records", but when I go look there is no file /tmp/the-cache.…
Roel Schroeven
  • 211
  • 2
  • 6
0
votes
1 answer

PowerDNS master-slave configuration issue

On my master node of the 2-node PowerDNS cluster I have in my test environment to find all ins-and outs to deploy to production im getting the following error in the logs: Request to queue notification for domain 'domain.example' was processed, but…
Koen Vuurens
  • 31
  • 1
  • 6
0
votes
0 answers

BIND to PowerDNS migration: duplicate DNS suffix

Using this manual for migration. But after in PowerDNS I see this: PS C:\Users\ruslan> nslookup -type=ns domain.ru vs-powerdns01.domain.ru Address: 10.100.20.110 domain.ru.domain.ru nameserver = ns2.domain.ru ns2.domain.ru internet address…
Ruslan
  • 1
  • 2
  • 5
-1
votes
1 answer

Powerdns setup on ubuntu

I am trying to set up a dns server with powerdns. I am using poweradmin GUI. I have created my custom nameservers with namecheap ns1.domain.com and ns2.domain.com. At the final step poweradmin asks me for a Hostmaster nameserver. The explanation is:…
Arjon11
  • 3
  • 3
1 2 3
9
10