Maintained by: NLnet Labs

[Unbound-users] reverse lookup private zone

Stephane Bortzmeyer
Fri May 15 14:07:46 CEST 2009


On Thu, May 14, 2009 at 01:56:59PM +0200,
 Francesc Guasch <frankie at etsetb.upc.edu> wrote 
 a message of 42 lines which said:

> 	local-zone: "10.in-addr.arpa." static
>     local-zone: "10.in-addr.arpa. 10800 IN NS localhost."
> 	local-data: "10.in-addr.arpa. 10800 IN SOA private.dns.server"

Correct, as soon as you use a proper syntax. Unbound told you there
was a syntax error, just read the messages.

This one works for me (Unbound 1.2):

local-zone: "132.18.172.in-addr.arpa." static
        local-data: "132.18.172.in-addr.arpa. 10800 IN NS batilda.nic.fr."
        local-data: "132.18.172.in-addr.arpa. 10800 IN SOA bortzmeyer.nic.fr. batilda.nic.fr. 2009051500 3600 800 86400 300"
        local-data: "2.132.18.172.in-addr.arpa. 10800 IN PTR www.unbound.net."

% dig -x 172.18.132.2
...
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
...
;; ANSWER SECTION:
2.132.18.172.in-addr.arpa. 10800 IN     PTR     www.unbound.net.

;; Query time: 0 msec
;; SERVER: ::1#53(::1)