[Pdns-users] pdns newbie

Rodrigo Severo rsev at pm.me
Tue Aug 29 21:57:04 UTC 2023


I have been using pdns recursor for some time now but this is the first time I am setting up a pdns server.

It in a Ubuntu 22.04 server. I am running PowerDNS Authoritative Server 4.5.3

I am using the tinydns backend (as I am migrating from tinydns and I am still not ready to abandon tinydns data files because of other servers).

Some doubts :

- Why is my pdns a "standalone pdns"? From my log file: "This is a standalone pdns" Should I be worried about it?
- I get no info whatsoever about pdns actually being able to read and understand my data.cdb file even with loglevel 7. Is this expected? Shouldn't pdns log something about the data it read?
- When I pass queries to it about the domains it should be authoritative, I get no answers answers. How can I fix this?
- How can I make pdns_control use the socket my "pdns@" service file is creating for this instance of pdns (/run/pdns-df/pdns-df.controlsocket)? With pdns_control option --socket-dir= I managed to make pdns_control try to read from the /run/pdns-df dir but I can´t see how to make it use the pdns-df.controlsocket (the existing one) and not pdns.controlsocket which pdns_control insists on using.

My config file:


# To make location and timestamp from tinydns work with pdns

# Debug settings
I already set the owner of the /etc/powerdns/pdns-df directory and of the /etc/powerdns/pdns-df/data.cdb file for pdns user.

Example of a failed dig query:

# dig a h1-df.fabricadeideas.com @ +norecurse

; <<>> DiG 9.18.12-0ubuntu0.22.04.2-Ubuntu <<>> a h1-df.fabricadeideas.com @ +norecurse
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 1062
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

; EDNS: version: 0, flags:; udp: 1232
;h1-df.fabricadeideas.com. IN A

;; Query time: 0 msec
;; WHEN: Tue Aug 29 18:50:45 -03 2023
;; MSG SIZE rcvd: 53

Please let me know if there is any extra info necessary.

Sorry for presenting so many questions on the same message. I am not aware of this particular mailing list etiquette on multiple issues per message. Please advise.I can send a different message for each issue if it is prefereable.

Best regards,

Rodrigo Severo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20230829/57a332e1/attachment.htm>

More information about the Pdns-users mailing list