[Pdns-users] pdns newbie
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 @192.168.1.3 +norecurse
; <<>> DiG 9.18.12-0ubuntu0.22.04.2-Ubuntu <<>> a h1-df.fabricadeideas.com @192.168.1.3 +norecurse
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 1062
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;h1-df.fabricadeideas.com. IN A
;; Query time: 0 msec
;; SERVER: 192.168.1.3#53(192.168.1.3) (UDP)
;; 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pdns-users