I am using unbound on my local network. Direct lookup works without hitch. Also
when I do something like
Code:
$ dig @localhost -x 127.0.0.1 +short
I get
I am completely confused if it would be possible that I get reverse lookup for machines on my local network by somehow configuring unbound.conf file?
For example
Code:
$ dig @localhost -x 10.0.0.1 +short
fileserver.oko.net.
Reading through documentation I see
Code:
server:
local-zone: "10.in-addr.arpa." nodefault
stub-zone:
name: "10.in-addr.arpa."
stub-addr: ip-of-your-private-dns-server
Which looks like I need to run NSD and replace its address instead of
ip-of-your-private-dns-server to get reverse lookup. Is that correct? I am also a bit confused about nsd.db? It looks like this thing is created at least on 3.2.26 by compiling data from zonefile. Are zonefiles identical to BIND zone files?