Question : rndc dumpdb on BIND, result permission denied.

I am trying to view catch file using rndc dumpdb command, but I get following error:

Jul  5 12:52:27 localhost named[12189]: could not open dump file 'named_dump.db': permission denied

Answer : rndc dumpdb on BIND, result permission denied.

In your named.conf add:

dump-file /path/to/dumpfilename;

Where /path/to/dumpfulename is writeable, i.e., /tmp/named_dump.db

Otherwise, it's probably trying to write to a location where it does not have permission.
Random Solutions  
 
programming4us programming4us