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
0
votes
1 answer

What am I missing when setting up reverse DNS?

I'm setting up rDNS for use with a SolusVM server. I used PowerDNS on two servers for a slave and a master, and set up the MySQL replication successfully. When viewing the MySQL records table, I see the SOA, NS, and PTR records all there. I've…
0
votes
0 answers

Active Directory DNS to query a private DNS service first for all zones?

I have an Active Directory server (Win2012R2) which provides DNS to a set of Windows Servers and which currently only contains those servers' DNS names/IPs and forwards other requests to a public DNS resolver. I also have a PowerDNS Authoritative…
0
votes
0 answers

PowerDNS Centos7

I have scoured the internet, and am not finding the same issue any place. Issue Definition: Centos 7. Powerdns 3.4.10 with gmysql backend, Powerdns recursor 3.7.3. SELINUX is DISABLED. firewalld is DISABLED. pdns configured to recurse to recursor.…
0
votes
0 answers

PowerDNS : Respond differently based on Client IP address

Currently I'm using Bind9 for my DNS server. It was set-up in such a way that the server respond differently depending on which IP the request came from. I'm using Bind's View to achieve this. The conf file is something similar to this : acl…
xar
  • 131
  • 5
0
votes
2 answers

PowerDNS: forward requests for nonexistent records to another server for the same domain?

Say I have two DNS servers providing records for a private domain. DNS1: 192.168.1.10 - PowerDNS on Linux, primary authoritative DNS2: 192.168.1.11 - Windows DNS for a custom application, acting as authoritative Domain: mydomain.com DNS1 is a…
fdmillion
  • 389
  • 7
  • 14
0
votes
1 answer

How to set up DNS port forwarding using xinetd?

I have a KVM hypervisor and a few VMs in a bridged network. I use xinetd to forward ports from the public IP address to the proper VM. Now I installed PowerDNS on a machine and I'd like to create a port forwarding rule for it. It looks like…
Sergiu Tot
  • 36
  • 4
0
votes
1 answer

Can I use PowerDNS as a HTTP Load Balancer?

I would like to serve multiple web applications and make them available via domain names inside of a test network. Therefore I would like to to use PowerDNS because it seems to have a good API. The web applications will be accessed by a small…
Ironori
  • 111
  • 1
  • 6
0
votes
1 answer

PowerDNS not listening

I just migrated from Bind9 to PowerDNS on my Debian 7 x86_64, and now DNS requests are not going through. I am not familiar with PowerDNS config files, but I did go into pdns.local and specified local-port=53. A quick netstat -tul…
ashraj98
  • 163
  • 2
  • 8
0
votes
2 answers

How to migrate Windows DNS to pdns

I want to migrate a Windows based DNS server (server 2008 I think) to powerdns. What's the best way to do this. I'm familiar with pdns and linux but don't know much about the windows part. How do I export zones from there porperly etc. The info I…
Tsolen
  • 23
  • 1
  • 7
0
votes
1 answer

PowerDNS authoritative name server works but non-authoritative name server servfail

In my current role as Devops I have been assigned a few tasks that are new to me including setting up a PDNS server with MySQL backend. After initial setup of the server I tested responses from the new PDNS server with DIG and NSLOOKUP while…
0
votes
1 answer

PowerDNS - Verify that a host is up before resolving

I have twp name servers running PowerDNS as ns1 and ns2 using a master/slave-type setup, and this works well. I want to create multiple servers to provide services (i.e. web, email, etc), then have PowerDNS on either ns1 or ns2 (whichever is hit)…
Nick Coons
  • 345
  • 4
  • 16
0
votes
0 answers

PowerDNS Reverse lookup is not responding in VPN connected network

I created a test network. It is a star VPN network with: - 1 main router - 2 subrouters (DrayTek Vigor 2920) - behind each router a client - behind the main router a PowerDNS machine now the network seems to run perfectly, From one location I can…
BonifatiusK
  • 243
  • 1
  • 4
  • 12
0
votes
1 answer

Update power dns from EPEL repo

I'm using EPEL repo on Centos 6. If I start update for power dns with mysql backend - so please - must I update mysql schema manually, or YUM will do this self? Thank youů
Pavel
  • 397
  • 6
  • 16
0
votes
1 answer

How to add "@" A HOST record in PowerDNS?

In a typical web host's online ZONE editor, you'd refer to your primary IP Address as @ and refer the www CNAME to that primary @ A HOST. I am trying to set up my own MySQL backend PowerDNS server on Ubuntu 14.04 and whenever I use @ in an A HOST,…
user234992
0
votes
1 answer

PDNS log rotation

I wonder what's the recommended way to rotate PowerDNS log files. I added the following entry to logrotate: # cat /etc/logrotate.d/pdns /var/log/pdns/*.log { daily rotate 7 compress delaycompress } - but it looks like PowerDNS…
HTF
  • 3,050
  • 14
  • 49
  • 78
1 2 3
8 9