[Pdns-users] Contact the reverse of the PowerDNS recursor
kometch
kometch at gmail.com
Wed Apr 29 10:04:49 UTC 2015
Hello, all
NSD PowerDNS recursor 3.7.2, only for a specific domain is set to another want us to do so,
but reverse only returned calls.
The corresponding forward-zone parameter and it's thought that?
$ grep -v -e "#" -e "^$" /etc/powerdns/recursor.conf
allow-from=127.0.0.0/8, 10.0.0.0/8, 100.64.0.0/10, 169.254.0.0/16, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fc00::/7, fe80::/10, 2000::/3
any-to-tcp=yes
disable-packetcache=yes
experimental-api-key=changeme
experimental-webserver=yes
forward-zones=kometch.local=127.0.0.1:10053
hint-file=/etc/powerdns/named.root
max-mthreads=4096
query-local-address6=::
setgid=pdns
setuid=pdns
If the PowerDNS recursor:
$ dig -x 240b:10:a8c0:a10:10::254
; <<>> DiG 9.9.5-9-Debian <<>> -x 240b:10:a8c0:a10:10::254
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 30873
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;4.5.2.0.0.0.0.0.0.0.0.0.0.1.0.0.0.1.a.0.0.c.8.a.0.1.0.0.b.0.4.2.ip6.arpa. IN PTR
;; AUTHORITY SECTION:
1.0.0.b.0.4.2.ip6.arpa. 2998 IN SOA ns1.jpne.co.jp. nsadmin.jpne.co.jp. 2011053101 10800 3600 3600000 3600
;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Apr 29 18:55:44 JST 2015
;; MSG SIZE rcvd: 148
$ dig -x 192.168.1.254
; <<>> DiG 9.9.5-9-Debian <<>> -x 192.168.1.254
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 28950
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;254.1.168.192.in-addr.arpa. IN PTR
;; AUTHORITY SECTION:
168.192.in-addr.arpa. 2997 IN SOA localhost. root. 1 604800 86400 2419200 604800
;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Apr 29 18:55:58 JST 2015
;; MSG SIZE rcvd: 95
If unbound:
# dig -x 240b:10:a8c0:a10:10::254
; <<>> DiG 9.9.4-RedHat-9.9.4-18.el7_1.1 <<>> -x 240b:10:a8c0:a10:10::254
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8950
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1280
;; QUESTION SECTION:
;4.5.2.0.0.0.0.0.0.0.0.0.0.1.0.0.0.1.a.0.0.c.8.a.0.1.0.0.b.0.4.2.ip6.arpa. IN PTR
;; ANSWER SECTION:
4.5.2.0.0.0.0.0.0.0.0.0.0.1.0.0.0.1.a.0.0.c.8.a.0.1.0.0.b.0.4.2.ip6.arpa. 300 IN PTR ubuntu-virt.kometch.local.
;; Query time: 0 msec
;; SERVER: 192.168.122.249#53(192.168.122.249)
;; WHEN: Wed Apr 29 18:54:52 JST 2015
;; MSG SIZE rcvd: 140
# dig -x 192.168.1.254
; <<>> DiG 9.9.4-RedHat-9.9.4-18.el7_1.1 <<>> -x 192.168.1.254
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55455
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1280
;; QUESTION SECTION:
;254.1.168.192.in-addr.arpa. IN PTR
;; ANSWER SECTION:
254.1.168.192.in-addr.arpa. 300 IN PTR ubuntu-virt.kometch.local.
;; Query time: 1 msec
;; SERVER: 192.168.1.249#53(192.168.1.249)
;; WHEN: Wed Apr 29 18:56:10 JST 2015
;; MSG SIZE rcvd: 96
I want pointed if I have been mistaken as any.
My best regards.
More information about the Pdns-users
mailing list