[rbldnsd] Forward unresolved queries / refused queries to other dns server

use experience useexperience at gmail.com
Sat May 14 16:12:39 MSK 2016


Team,

I have set up rbldns. During DIG command, It is working fine for the zone
file we specify, for there it throws refused error. I would like to forward
the all unresolved queries or connection refused queries to other dns
server.

Example:
1) I configured rbldnsd using below command
-> /usr/sbin/rbldnsd -b 172.31.1.191/53 dnsbl-1.uceprotect.net:
ip4set:/home/ubuntu/rbldns/data/dnsbl-1.uceprotect.net

2) ~# *dig 3.128.0.1.dnsbl-1.uceprotect.net
<http://3.128.0.1.dnsbl-1.uceprotect.net> @172.31.1.251
<http://172.31.1.251>*


; <<>> DiG 9.9.5-3ubuntu0.6-Ubuntu <<>> 3.128.0.1.dnsbl-1.uceprotect.net @
172.31.1.251

;; global options: +cmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: *NOERROR*, id: 11308

;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; WARNING: recursion requested but not available


;; QUESTION SECTION:

;3.128.0.1.dnsbl-1.uceprotect.net. IN A


;; ANSWER SECTION:

3.128.0.1.dnsbl-1.uceprotect.net. 2100 IN A 127.0.0.2


;; Query time: 0 msec

;; SERVER: 172.31.1.251#53(172.31.1.251)

;; WHEN: Sat May 14 18:40:50 IST 2016

;; MSG SIZE  rcvd: 66


3) ~# *dig google.com <http://google.com> mx @172.31.1.251
<http://172.31.1.251>*


; <<>> DiG 9.9.5-3ubuntu0.6-Ubuntu <<>> google.com mx @172.31.1.251

;; global options: +cmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: *REFUSED*, id: 44344

;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; WARNING: recursion requested but not available


;; QUESTION SECTION:

;google.com. IN MX


;; Query time: 0 msec

;; SERVER: 172.31.1.251#53(172.31.1.251)

;; WHEN: Sat May 14 18:41:22 IST 2016

;; MSG SIZE  rcvd: 28


How can I resolve this?


Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.corpit.ru/pipermail/rbldnsd/attachments/20160514/3f89c6c3/attachment.html>


More information about the rbldnsd mailing list