Use this tag for questions related to PowerDNS, an open source DNS.
Questions tagged [powerdns]
63 questions
0
votes
1 answer
Terraform: Error checking PowerDNS record
Terraform PowerDNS provider have troubles in checking the current state of the DNS records.
The error is provided below (along with trace debug (TF_LOG=DEBUG)).
powerdns_record.dns_a_worker_pub[2]: Refreshing state... (ID:…

mastier
- 872
- 1
- 10
- 22
0
votes
1 answer
DNS Spoofing with PowerDNS
I want to modify the DNS query answer that PowerDNS returns by replacing the IP of the domain with the IP of a static page. I know the place to do this modification is in the startDoResolve function in pdns_recursor.cc. However I am having trouble…

tectonicpie
- 5
- 5
0
votes
0 answers
How to config power DNS to resolve both aws internal and company internal at a time?
I've configured PowerDNS server to check with company's internal DNS and Pointed DHCP options of VPC to PowerDNS server address. But, I'm unable to resolve AWS internal DNS with that. Tried configuring AWS DNS server address in PowerDNS, but no use.…

Bored Monkey
- 91
- 1
- 1
- 7
0
votes
1 answer
How to setup failover server for PowerDNS Recursor with forward-zone option?
my pdns_recursor setup includes this
forward-zones=net=127.0.0.1:5353;8.8.8.8
where at 127.0.0.1:5353 listens my own DNS server that acts as a filter on all DNS requests under .net zone. When my DNS server thinks a request should be blocked, it…

zabeltech
- 963
- 11
- 27
0
votes
1 answer
PowerDNS Scripting - Getting the DNS Query's Unique ID
I'm writing lua scripts for PowerDNS.
I wish to get some kind of a unique ID for each DNS query when my script intercepts a DNS query.
I'm intercepting the DNS queries with the "preresolve" and "postresolve" functions and they don't have any unique…

Hanoch Giner
- 359
- 1
- 4
- 12
0
votes
1 answer
PowerDNS replication sometimes don't work?
I have question about PowerDNS Authoritative server.
I have four DNS server with installed PowerDNS Authoritative server from scratch on four location. They work with MySQL in backend.
Problem is:
When I add new zone or update existing zone all…

Petar
- 37
- 9
0
votes
0 answers
Lua CNAME resolution in PowerDNS recursor
PowerDNS recursor provides functionality to implement backends through Lua. When the Lua script returns a set of records with a CNAME entry in it, the CNAME gets resolved by the external DNS servers that have been set without the Lua script being…

Robbietjuh
- 848
- 1
- 8
- 22
0
votes
1 answer
Cannot get NS records
I currently have a PostgreSQL backed PowerDNS setup. The records table for a domain is currently set up somewhat like this:
id | domain_id | name | type | content | ttl | prio…

adalal
- 105
- 2
- 9
0
votes
1 answer
authoritative name server architecture in relation to zones & child nodes(best practices)
I am looking to redesign a mid size(corp) dns architecture and I have searched here and icann.org + google(of course) but I'm unable to find a best practice in regard to name server entries and zones/child nodes.
So here we go, say we have 10+ dns…

Travis
- 25
- 1
- 7
0
votes
2 answers
PowerDNS pipe backend, fallback to recursor
I want to setup a PowerDNS instance with two levels of resolving :
a pipe backend
a fallback to a public recursor like 8.8.8.8
I have correctly set up the pipe backend and I can query it with success.
Now what I want to achieve is when the pipe…

Lionel Tressens
- 461
- 5
- 13
0
votes
1 answer
URL redirection using powerdns and lua scripting
I am building an internal whitelist browsing filter server for a business.
It is 95% operational.
PowerDNS intercepts the DNS request and the LUA script correctly determines if the URL is whitelisted.
The problem lies in the blacklist block page ...…

Xi Vix
- 1,381
- 6
- 24
- 43
0
votes
1 answer
iPhone: Local DNS for local domains - cellular data for external addresses
I recently set up my raspberry pi to as a DNS and DHCP server. Everything is fine - but now I have one remaining problem with iDevices.
The WiFi served by my raspberry pi is local only. There is a web app running on the pi which should be reachable…

Michel
- 303
- 2
- 15
-1
votes
1 answer
Building SQL Query To Remove PowerDNS Records
I am trying to build a SQL query that removes domains from a PowerDNS database. The tables are called, domains and domains_status. I want to delete both records only if domains_status where the columns name domain_regStatus = 0. The ID value is the…

Brandon T
- 1
- 1
-1
votes
1 answer
PowerDNS not sync zones from master to slave
I have installed PowerDNS on 2 VPS servers:
ns1 - 10.0.0.1
ns2 - 10.0.0.2
The Problem is the records/zones are not getting synced from Master to Slave. Here are the configurations:
Master…

Ankesh Anand
- 61
- 8
-1
votes
1 answer
Why this unregistred subdomain redirect to my wordpress?
Im using powerdns in my VPS, yesterday in poweradmin I entered a subdomain to redirect to wordpress. Today, I decided to delete this subdomain, I delete it from poweradmin and its VirtualHost, but this subdomain continue redirecting to my wordpress.…