I would appreciate help on this. I tried myself, see below.
cp 40.129.98.db 40.234.173.db
nano 40.234.173.db
(modified IP in the file to reflect 173 IP, updated SERIAL)
named-checkzone /var/named/40.234.173.db
root@server [/var/named]# rndc reload 40.234.173.in-addr.arpa
rndc: 'reload' failed: not found
You can't tell BIND about new zone files with
rndc
, you have to add the zone configuration into thenamed.conf
file, and then userndc reconfig
.FWIW, I believe future versions of BIND may have support for the nascent "nscp" (name server control protocol) which is being discussed at the IETF. That protocol is intended to allow name servers to add whole new zones "on the fly".
Look at the named.conf, take name from line with string zone and reload it. For example:
zone "v6.domain.com.pl"{
rndc reload zone v6.domain.com.pl
It's not enough to create the zone file. You also need to tell bind about it, which is normally done in named.conf.
Note that this error will also show up when the bind server is not actually started (when run on localhost)