[rbldnsd] QQ: BIND9 Forwarding

Jacob Perkins jacob.perkin at gmail.com
Fri Jul 12 21:13:03 MSK 2013


Hello,

I have a server that I'm setting up rbldnsd on.  Here's my current setup.
I have rbldnsd listening on 127.0.0.1/650, and I have BIND9 forwarding
those requests over.  It doesn't seem to be forwarding however.

I can dig at the specific port, and it will work, but without it it fails.
I can't do this externally as well.  Is there a step I'm missing?



root at rbl [/var/lib/rbldns]# dig @localhost
swissportail.ch.rbl.myhostedrbl.com
; (2 servers found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 56345
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; AUTHORITY SECTION:
myhostedrbl.com.        9882    IN      SOA     myhostedrbl.com. urimail2.
2013071202 86400 7200 3600000 86400

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jul 12 10:11:37 2013
;; MSG SIZE  rcvd: 97


root at rbl [/var/lib/rbldns]# dig @localhost -p650
swissportail.ch.rbl.myhostedrbl.com

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5_8.6 <<>> @localhost -p650
swissportail.ch.rbl.myhostedrbl.com
; (2 servers found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5187
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;swissportail.ch.rbl.myhostedrbl.com. IN        A

;; ANSWER SECTION:
swissportail.ch.rbl.myhostedrbl.com. 30 IN A    127.0.0.2

;; Query time: 0 msec
;; SERVER: 127.0.0.1#650(127.0.0.1)
;; WHEN: Fri Jul 12 10:11:45 2013
;; MSG SIZE  rcvd: 69




root at rbl [/var/lib/rbldns]# cat /etc/sysconfig/rbldnsd
RBLDNSD="dsbl -l log/query.log -r /var/lib/rbldns -b 127.0.0.1/650 \
         rbl.myhostedrbl.com:combined:datafeed/uribl/black.txt \
        "

NAMED.CONF:

view "internal" {

zone "myhostedrbl.com" {
        type master;
        file "/var/named/myhostedrbl.com.db";
};

zone "rbl.myhostedrbl.com" IN {
        type forward;
        forward first;
        forwarders {
                127.0.0.1 port 650;
        };
};

};


view    "external" {
zone "rbl.myhostedrbl.com" IN {
        type forward;
        forward first;
        forwarders {
                127.0.0.1 port 650;
        };
};


zone "myhostedrbl.com" {
        type master;
        file "/var/named/myhostedrbl.com.db";
};
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.corpit.ru/pipermail/rbldnsd/attachments/20130712/7fa58e01/attachment.html>


More information about the rbldnsd mailing list