Re: Debugging Information Lacking?
On 11/27/19, isc-bind-us...@ics-il.net wrote: > > I have some other issues that I'm trying to work through, but I wanted to > ask about a specific issue. > > I'm trying to see what BIND currently thinks all of the zones are, so I > issue the "rndc dumpdb -zones" command. <.. snip ..> > However, it appears no file is generated. "find / -name cache_dump.db" > doesn't return anything. the default file name is named_dump.db If your named.conf has this bit options { directory "/var/cache/bind"; # working directory then "rndc dumpdb -zones" creates the file /var/cache/bind/named_dump.db If your named.conf has this bit options { dump-file "/tmp/cache_dump.db"; then "rndc dumpdb -zones" creates the file /tmp/cache_dump.db > The log says that dumpdb is complete, but it doesn't say what it wrote. I > would expect the log file to say something like: > > Nov 27 07:36:28 DNA-DNS1 named[20035]: dumpdb output to: /var/lib/bind/ > cache_dump.db > > It doesn't. Could we get that added to the logging information? Yes, it would be nice if that was added Lee ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Debugging Information Lacking?
Look in the BIND ARM for dump-file: dump-file The pathname of the file the server dumps the database to when instructed to do so with rndc dumpdb. If not specified, the default is named_dump.db. Regards... -- Fred Morris On Wed, 27 Nov 2019, isc-bind-us...@ics-il.net wrote: [...] I'm trying to see what BIND currently thinks all of the zones are, so I issue the "rndc dumpdb -zones" command. ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Debugging Information Lacking?
Frak, so I was looking for the wrong file name the whole time. I must have latched on to the wrong one and then ran with it. If the logging captured the path and name of the file it was writing, I probably would have noticed my error the first time around. - Mike Hammett Intelligent Computing Solutions Midwest Internet Exchange The Brothers WISP - Original Message - From: "Lee" To: isc-bind-us...@ics-il.net Cc: bind-users@lists.isc.org Sent: Wednesday, November 27, 2019 8:59:51 AM Subject: Re: Debugging Information Lacking? On 11/27/19, isc-bind-us...@ics-il.net wrote: > > I have some other issues that I'm trying to work through, but I wanted to > ask about a specific issue. > > I'm trying to see what BIND currently thinks all of the zones are, so I > issue the "rndc dumpdb -zones" command. <.. snip ..> > However, it appears no file is generated. "find / -name cache_dump.db" > doesn't return anything. the default file name is named_dump.db If your named.conf has this bit options { directory "/var/cache/bind"; # working directory then "rndc dumpdb -zones" creates the file /var/cache/bind/named_dump.db If your named.conf has this bit options { dump-file "/tmp/cache_dump.db"; then "rndc dumpdb -zones" creates the file /tmp/cache_dump.db > The log says that dumpdb is complete, but it doesn't say what it wrote. I > would expect the log file to say something like: > > Nov 27 07:36:28 DNA-DNS1 named[20035]: dumpdb output to: /var/lib/bind/ > cache_dump.db > > It doesn't. Could we get that added to the logging information? Yes, it would be nice if that was added Lee ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users