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

Export Bind-DLZ data to traditional named.conf?

I'm looking to convert a Bind-DLZ based setup to a PowerDNS based setup. To do this, I would like to use the zone2sql tool that comes with PowerDNS. Sadly, this tool skips right over the DLZ defined zone in my named.conf. I have been searching for a…
James Sumners
  • 493
  • 3
  • 7
  • 17
0
votes
1 answer

Redirect PowerDNS on Failure

I've been searching around, but cannot seem to find an answer so I apologize if this has been asked here before. I had two PowerDNS servers - ns1 and ns2 (which are in different datacenters). Both connet to MySQL on localhost, but MySQL on both…
cegfault
  • 145
  • 1
  • 4
0
votes
1 answer

Add extra zones outside the MySQL database

In need of a MySQL backend for my DNS server, I have decided to switch from Bind to PowerDNS, the MySQL backend of which is slightly more convenient. Basically : users add domains to my database using a web frontend, those domains are registered and…
John WH Smith
  • 341
  • 4
  • 18
0
votes
2 answers

PowerDNS pgSQL Configure Different Schema

I've been using PowerDNS for a few years now and finally decided to switch over to pgSQL instead of mySQL. I've been researching this question but I haven't found anything solid so I'm assuming it's probably not possible. I'm curious if it's…
Diemuzi
  • 105
  • 7
0
votes
1 answer

force powerdns to return a specific IP when unable to resolve

I am running the latest version of powerdns authoritative server version 3.3 on a Linux server. PowerDNS is using a MySQL database for it's list of resolvable sites. I need powerdns to return a specific response IP for all requests that it cannot…
xivix
  • 543
  • 2
  • 8
  • 15
0
votes
1 answer

Fun this TTLs and many records in PDNS

I got very strange issue for me. I have powerdns server with potentially thousands of cname records. This records inserted to my DNS via mysql queries from network http service. This is a way how I give free jhon_doe.MYHOST.COM domains for my…
0
votes
2 answers

Running a recursive dns on my web server

I'm trying to solve a dns problem I've been having with my web app. It makes multiple requests to various but fixed external domains. I can't put the domains in a host for for obvious reasons, cloudfront / load balancing and other changes of…
B p
  • 83
  • 1
  • 2
  • 5
0
votes
3 answers

PowerDNS, returns SOA record only

I have setup powerdns server, I'm satisfied with basic functionalities. users in my domain are unable to access example.com unless they use www.example.com when I use host command host example.com 127.0.0.1 I get ; <<>> DiG…
user1007727
  • 421
  • 5
  • 20
0
votes
1 answer

Can PowerDNS resolve non standard TLDs?

My company uses PowerDNS with a PowerAdmin front end to manage both internal and external DNS. I would like to be able to set up a short TLD so that for instance test1.lcl resolves to the internal ip address 10.0.5.124. I have tried creating a new…
Scott
  • 394
  • 2
  • 7
  • 18
0
votes
1 answer

How does a slave Powerdns server know that a domain is fresh?

Where/how does a slave Powerdns server know that a domain is fresh when using the Bind backend? With the mysql backend there is a 'last_check' field: http://wiki.powerdns.com/trac/wiki/fields But I can't find anything similar for the Bind…
wanson
  • 447
  • 1
  • 4
  • 11
0
votes
1 answer

Powerdns not using packetcache

I'm setting up a new PowerDNS server version 2.9.22 running on Debian Lenny in a Xen instance, and for some reason it is reporting that the packetcache size is 0 when I run a /etc/init.d/pdns…
Malvane
  • 1
  • 2
0
votes
1 answer

Redirecting requests from domain to local server

I'm developing a web application for a pre-production hardware device which has the domain from which it loads the app hard-coded. Is there a (simple) way for me to reroute these requests to a local development server? I've been trying to get…
John Schulze
  • 73
  • 1
  • 6
0
votes
1 answer

DNS error: when adding a subdomain using powerdns

I recently added a subdomain m.domain.co.za and it just does not show, I defined the domain on the apache hosting server and added the relevant dns records but somehow it is still not working. The root domain works but not the subdomain. I'm using…
Elitmiar
  • 775
  • 3
  • 15
  • 31
0
votes
0 answers

PowerDNS zone forwarding

I have inherited a 4.0.6 powerdns deployment that is used to serve a private zone in a lab environment. I am in the process of migrating this environment to AWS and need powerdns to forward aws.internal.lan to a set of Route53 inbound resolvers. It…
yossarian2004
  • 43
  • 3
  • 8
0
votes
1 answer

75.75.75.75 (Comcast DNS) not resolving ironpawsllc.com

IronPawsLLC.com is not pingable, gives an NXDOMAIN, and results in 0 answers when dig @75.75.75.75 ironpawsllc.com is used. So far, all the other DNS servers that I've tested against resolve. IronPawsLLC.com is a HostGator VPS4000 running CPanel,…
1 2 3
8 9