Questions tagged [powerdns]

Use this tag for questions related to PowerDNS, an open source DNS.

63 questions
0
votes
0 answers

PDNS_* options at docker-compose.yml has no effect. Why?

I have docker-compose.yml file to build PowerDNS auth server: version: '3.9' services: auth: build: context: pdns/ dockerfile: Dockerfile-auth environment: - PDNS_AUTH_API_KEY - PDNS_LOGLEVEL=7 -…
Eugen Konkov
  • 22,193
  • 17
  • 108
  • 158
0
votes
2 answers

Create domain 'example.com' failed Powerdns API

I always getting the same error (Create domain 'example.com' failed) (or any domain) when trying to create new DNS zone with Powerdns API call. My request: $ch = curl_init(); curl_setopt($ch,…
Emin4ik
  • 3
  • 5
0
votes
2 answers

Reduce nested json (PowerDNS stats)

I'm trying to improve on a jq reduce, but finding that some of the returned data is nested and the code I'm using breaks on that. This is where I've got the jq code from:…
dmgeurts
  • 117
  • 8
0
votes
1 answer

Dockerfile with centos:latest and pdns

I have a simple Dockerfile using centos:latest which fails to find pdns using yum. This is running on Windows host. $ docker --version Docker version 20.10.8, build 3967b7d Dockerfile_dns FROM centos:latest RUN yum update -y RUN yum install -y…
wood.wheels
  • 332
  • 1
  • 10
0
votes
1 answer

DNS challenge from traefik to PowerDNS

Trying to setup the DNS challenge to get a wildcard certificate. This is what our environment variables look like: environment: - TRAEFIK_ENTRYPOINTS_HTTP=true - TRAEFIK_ENTRYPOINTS_HTTP_ADDRESS=:80 - TRAEFIK_ENTRYPOINTS_HTTPS=true -…
Halil
  • 1
  • 3
0
votes
1 answer

pdns4 (powerdns) - when create slave zone , SOA record does not get created automatically with default value

When we create slave zone in Pdns4, Default SOA record does not get auto created. Does it expects SOA record from the slave zone master?. Since SOA record is not getting create, dig on zone is giving Refused error. pdnsutil create-slave-zone example…
Rajat Jain
  • 201
  • 3
  • 12
0
votes
1 answer

PowerDNS with MySQL native configuration question on master/slave architecture question

I have 3 PowerDNS servers setup. The master/primary server (called "authns") where all domain and host changes are made, and two slave servers (ns1 and ns2) that are intended for clients to query. I am trying to use Native replication with MySQL as…
godeatgod
  • 87
  • 1
  • 5
0
votes
1 answer

Powerdns server is not passing Authority parameter

I have installed powerdns on the server to serve DNS requests. The setup has powerdns at port 5300, recursor at port 5301 and dnsdist at port 53. If I perform dig I am getting the results below which is not authoritative hence is ignored by other…
Dedan Irungu
  • 61
  • 2
  • 6
0
votes
1 answer

How change or delete A record by PowerDNS API?

I have pdns server 4.2.3. I want to change name of A record by api. Example: test1 A ttl 60 192.168.1.2 -> test2 A ttl 60 192.168.1.2
0
votes
0 answers

Ansible loop inside a JSON string inside uri->body

I have the following code block: - name: Store challenge on DNS server uri: headers: X-API-Key: "{{ rns_dns_apikey }}" method: PATCH url: "{{ rns_dns_rest_api}}/{{ rr_item.key.split('.')[-2:] | join('.') }}" body_format:…
Christian Rößner
  • 447
  • 1
  • 5
  • 18
0
votes
2 answers

ISC-DHCP and PowerDNS for DDNS "Unable to add forward map to :unexpected error

I have trouble implementing isc-dhcp with powerdns for ddns, no matter how many time i've change to configuration, it will always came back with this error "Unable to add forward map from to : operation canceled" then this "Unable to add forward…
Ardi
  • 21
  • 3
0
votes
1 answer

pdns-recursor lua preresolve script not working properly

I'm trying to make pnds-recursor resolve a host name to a different A record when the query comes from the internal network (as this will be routed through VPN then). For that I've set up a LUA script which is implementing a preresolve…
Dennis
  • 11
  • 2
0
votes
1 answer

Octodns can't add new zones to powerdns running with mysql backend

I'm running powerdns with mysql backend. However, when I try to add new zones using octodns it fails with below error. Ideally octodns should create zone's entry in the database and also create a SOA record for it. Can anyone help pls? $…
0
votes
0 answers

Cant postgresql db rsync to constant db cdb

Are the ways or setup commands to set triggers on postgresql db (master db) to rsync DJB Constant database (cdb) as soon as update or changes are made instantly?
0
votes
0 answers

Why ip redirect to subdomain?

I have a VPS, which has its own IP. Having installed Apache, when I put the IP address into Chrome, it redirects to Apache index. I installed some subdomains with virtualhost and PowerDNS (using poweradmin), but now, when I put the ip on chrome, it…