In message <961092e10911030921x3ff3ce60xdb3d1f0534159...@mail.gmail.com>, Josh 
Luthman writes:
> How do I export the cache dump?
> 
> rndc dumpdb on the first execute took a few seconds, but after updatedb &&
> locate named_dump.db (as it suggested it would store it there) returns
> nothing.  The man page for rndc doesn't say anything about these commands
> either.

        
        You need to look at either of the following locations.  The latter
        is used when <dump-file> contains a absolute path.

        <chroot><directory><dump-file>

        <chroot><dump-file>
        
        <chroot> (as specified by -t on the command line)
        <directory> (as specified by the "directory" clause in named.conf
                     and defaults to ".")
        <dump-file> (as specified by the "dump-file" clause in named.conf and
                      defaults to "named_dump.db")

        e.g.
                <chroot> = "/choot"
                <directory> = "/var/named"
                <dump-file> = "named_dump.db"

                gives "/choot/var/named/named_dump.db"

                <chroot> = "/var/named"
                <directory> = "."
                <dump-file> = "named_dump.db"

                gives "/var/named/./named_dump.db"

                <chroot> = (not set as -t not used)
                <directory> = "/var/named"
                <dump-file> = "named_dump.db"

                gives "/var/named/named_dump.db"

                <chroot> = "/chroot"
                <directory> = "/var/named"
                <dump-file> = "/data/named_dump.db"
        
                gives "/chroot/data/named_dump.db"

        Mark

> Josh Luthman
> Office: 937-552-2340
> Direct: 937-552-2343
> 1100 Wayne St
> Suite 1337
> Troy, OH 45373
> 
> "When you have eliminated the impossible, that which remains, however
> improbable, must be the truth."
> --- Sir Arthur Conan Doyle
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: ma...@isc.org
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to