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).

131 questions
1
vote
1 answer

Does PowerDNS update DNSSEC records even if SOA serial does not change?

I'm trying to understand if PowerDNS slaves can update records even if the serial number in the SOA for the zone does not change. The scenario I have in mind is the following: There is one master server which does live signing for DNSSEC. Background…
DerAndy
  • 13
  • 3
1
vote
1 answer

Does one need to reload PowerDNS after editing the conf file?

I edited the PowerDNS conf file, and added another IP address in the allow-axfr-ips= section, but that IP address is still not allowed to do anything. I checked the firewall, that is also not interfering. So, my question is do I need to reload, and…
blade19899
  • 153
  • 13
1
vote
0 answers

PowerDNS different DNSSEC signatures on slaves

I'm running PowerDNS 4.0.0a2 on Ubuntu 16.04 on a master and four slaves. All machines are using mysql backend on mariadb. All slaves are set up with mysql replication against the master which synchronizes data fine. Creating DNSSEC on a zone is…
SteffenNielsen
  • 467
  • 4
  • 15
1
vote
1 answer

Monitoring PowerDNS

I'm using PowerDNS with MySQL backend. I try to monitor how many request my server is handling. The built-in webserver is ok. But the statistics are not saved. If I restart the service, all data are losed. Does anyone have a solution for that?
1
vote
1 answer

PowerDNS second view

I use bind9, where i configured two views: for my localnet i have one set of internal ip addresses, for all other i have second set of external ip addresses. Example from my named.conf: acl "internal" { 172.16.0.0/16; }; view "internal" { …
Sokogen
  • 11
  • 5
1
vote
1 answer

PowerDNS, how to set soa_edit_api from the API?

I want to set the value of soa_edit_api and soa_edit on a zone that already exists to INCEPTION-INCREMENT. Can this be done via the API? I need to trigger serial change and secondaries notifications once a RR is added, deleted or modified. Now,…
adamo
  • 6,867
  • 3
  • 29
  • 58
1
vote
1 answer

PowerDNS error with slave

I have a PowerDNS 3.3 server installed on Ubuntu 14.04 (for testing). It should be master only. No slave exists. I keep on getting this error: Received NOTIFY for mydomain.com from 82.91.23.176 but slave support is disabled in the…
geohei
  • 145
  • 1
  • 5
1
vote
1 answer

powerDNS - how can I fix slave received malformed Qdomain?

This is my syslog file, /var/log/syslog Mar 8 18:10:56 ns2 pdns[4205]: Received a malformed qdomain from 74.125.183.72, '192.243.111.209;.anim.ga': sending servfail Mar 8 18:11:01 ns2 pdns[4205]: Received a malformed qdomain from 74.125.183.199,…
user342646
  • 11
  • 1
1
vote
1 answer

PowerDNS and ISP DNS server

I'm using PowerDNS instance to serve my own domains. All clients in my network are using this DNS server. How can I configure PowerDNS to query my ISP's DNS servers (for that domains that I don't know)? Is this the right…
Xdg
  • 327
  • 5
  • 13
1
vote
0 answers

PowerDNS BIND Backend with LUA Filter

PowerDNS allows you to filter records on AXFR with a LUA script. I am trying to have it change the NS records. It appears that PowerDNS is not even trying to run my script. The zone transfer succeeds, but the transferred zone is unchanged. I…
yakatz
  • 1,213
  • 3
  • 12
  • 33
1
vote
0 answers

pdns - lot of error msg in syslog - recursive query ... within timeout

We moved our complete office last week and changed a lot of the infrastructure. Since then we have regular timeslots with slow responding web pages. By analysing we found out that our nameserver (pdns_server 3.3) floods the syslog in these times…
Thorsten
  • 11
  • 1
1
vote
1 answer

trying to send a query to powerdns and expected result not being returned

Trying to use powerdns for enum(voip) dns queries. I believe I have it all setup correctly. it appears to be correct in the mysql tables select * from records\G id: 3 domain_id: 3 name: 0.1.9.2.8.4.3.3.0.7.1.e164.arpa type:…
bart2puck
  • 147
  • 1
  • 7
1
vote
1 answer

How to add master zone through PowerDNS API?

We have a PowerDNS master-slave setup. Now we want to use the PowerDNS API to automatically create master zones on the master server from our application. We created a master zone template, so when a domain is added the zonefile is automatically…
user1607016
  • 123
  • 4
1
vote
0 answers

powerdns does not resolve country TLD like .com.au

This is a vague scenario. I am running a name server using powerDNS and adding zones via poweradmin. Somehow it does not resolve .com.au domains and any other for example .co.uk. Tried trace-route but it says domain not found in DNS cache, same with…
Keval Domadia
  • 587
  • 5
  • 14
1
vote
3 answers

PowerDNS Master Slave Transfer method

I would like to know which is the better option to transfer the domains & their updates between a master & slave PowerDNS server. I have seen many old posts from 2006 saying using the MySQL replication way is better, but that was 8 years ago. So…
Sayajin
  • 159
  • 2
  • 10
1 2
3
8 9