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
-1
votes
3 answers

PowerDNS: Is it possible to send different results based on server IP used by the client?

I would like to setup a recursive DNS server with multiple IPs all on the same PowerDNS server. Let's say: 8.8.8.1 8.8.8.2 8.8.8.3 8.8.8.4 I was wondering how I could send different responses based on the IP used by the client. For example, if the…
plz
  • 11
  • 1
-1
votes
1 answer

why does pipebackand always return ANY qtype?

when sent a query dns to pdns with type equal A , the latter sent to pipe backend using pipe protocl and qtype always egual ANY why?i use powerdns 2.9.22 and my os is ubuntu thank you in advance
-1
votes
1 answer

Installation a secondary (Slave) DNS Server - Powerdns

I want to install a secondary (slave) DNS server on a second VPS, but I don't know how. Currently I have NS! and NS2 on the same machine. I use a Powerdns and Debian 6 x64. How would I set up Powerdns on the second VPS?
B4k3r
  • 1
  • 2
-1
votes
3 answers

powerdns with mysql backend : Unable to connect to database: Access denied for user

I have a problem with my gmysql and Powerdns on Debian Squeeze , I keep getting this error : Sep 21 16:30:35 lucas pdns[24429]: gmysql Connection failed: Unable to connect to database: Access denied for user 'power_admin'@'localhost' (using…
Lucas Kauffman
  • 16,880
  • 9
  • 58
  • 93
-1
votes
1 answer

PowerDNS Auth and Recursor - Bug with one domain?

I have a problem with one of my domains on my private DNS. I have two servers. Server 1 with dnsdist. It directs to port 54 to server 2 Server 2 with powerdns (port 53) and powerdns-recursor (port 54) My configuration is working…
onee
  • 19
  • 5
-2
votes
2 answers

How does the DNS lookup query work?

Let's say, my domain's nameservers are registered like this: ns1.domain.com. ns2.domain.com. ns3.domain.com. The physical location for each of the server are as follows: ns1.domain.com. - in Tokyo ns2.domain.com. - in San Francisco ns3.domain.com.…
-2
votes
1 answer

Multiple powerdns with 1 mysql

If I connect 6 or more master powerdns server with a single high availability load balancing MySQL database, any performance issue? or is that a wrong way to configure powerdns? or Do I have to add 6 add separate database for each and have to make…
Moin Uddin
  • 65
  • 1
  • 5
-2
votes
3 answers

Delegating Subdomain finds Authority but no answers

I'm having a bit of trouble with a delegated subdomain using powerdns. My setup is quite straight forward. Example.com 2 powerdns servers. 1 Master, 1 Slave. Zone Config example.com SOA ns1.example.com example.com NS …
olly
  • 1
  • 1
-2
votes
1 answer

Geolocation-based Domain Name Resolution

Can I have Geolocation-based Domain Name Resolution in PowerDNS cluster? I have to make a PowerDNS cluster for my project and there is a requirement of Geolocation-based Domain Name Resolution. Is it possible? If yes, how?
-4
votes
1 answer

PowerDNS 3+ - Recursive queries for subdomains

We are trying to find functionality in the PDNS 3.x that existed in PDNS < 2.9.2.5. Whereby if we have a domain in the database backend with records, if a query is unable to resolve a subdomain it would then query the recursor setup in the…
1 2 3
9
10