[Pdns-users] Powerdns server is not passing Authority parameter
Dedan Irungu
dedanirungu at gmail.com
Tue Jan 19 06:41:16 UTC 2021
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 a dig I am getting the results below which is not
authoritative hence is ignored by other nameservers.
1.while calling recursor:
dig a essyfortunes.com @85.10.203.183
; <<>> DiG 9.16.1-Ubuntu <<>> a essyfortunes.com @85.10.203.183
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64902
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;essyfortunes.com. IN A
;; ANSWER SECTION:essyfortunes.com. 0 IN A 95.216.38.152
;; Query time: 155 msec
;; SERVER: 85.10.203.183#53(85.10.203.183)
;; WHEN: Tue Jan 19 09:04:44 EAT 2021
;; MSG SIZE rcvd: 61
1.while calling powerdns:
dig a essyfortunes.com @85.10.203.183 -p 5300
; <<>> DiG 9.16.1-Ubuntu <<>> a essyfortunes.com @85.10.203.183 -p 5300
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19637
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;essyfortunes.com. IN A
;; ANSWER SECTION:essyfortunes.com. 0 IN A 95.216.38.152
;; Query time: 155 msec
;; SERVER: 85.10.203.183#5300(85.10.203.183)
;; WHEN: Tue Jan 19 09:05:06 EAT 2021
;; MSG SIZE rcvd: 61
Both powerdns and recursor are using default settings. My dnsdist setting
is as follows;
setLocal('85.10.203.183')
setACL({'0.0.0.0/0', '::/0'}) -- Allow all IPs access
newServer({address='85.10.203.183:5301', pool='auth'})
newServer({address='85.10.203.183:5301', pool='recursor'})
recursive_ips = newNMG()
recursive_ips:addMask('0.0.0.0/0') -- These network masks are the ones from
allow-recursion in the Authoritative Server
addAction(NetmaskGroupRule(recursive_ips), PoolAction('recursor'))
addAction(AllRule(), PoolAction('auth'))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20210119/64e75c98/attachment.htm>
More information about the Pdns-users
mailing list