Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, I have a question: I've made DNS caching server on bind, and now i'm curiuos, where are the cached domain entries located - when i dump it over rndc ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2003
    Posts
    9

    BInd DNS


    Hello,
    I have a question:
    I've made DNS caching server on bind, and now i'm curiuos, where are the cached domain entries located - when i dump it over rndc dumpdb - it shows many netries - but where it is located normally? - i cant believe that in memory...

  2. #2
    Linux User
    Join Date
    Jun 2003
    Location
    Calgary, AB CANADA
    Posts
    496

    Re: BInd DNS

    [quote="seitan"]where are the cached domain entries located[quote]

    Did you check in /var/named?
    \"Everything should be made as simple as possible, but not simpler.\"
    Albert Einstein

  3. #3
    Just Joined!
    Join Date
    Jul 2003
    Posts
    9
    Nope, that wasn't exactly what I meaned, but I've foud it myself that all resolved domain names and IP which represent them are stored in memory.
    Database can be dumped via "rndc dumpdb" - you will get named_dump.db file in your cached dir (specified in named.conf file)
    Now the other question :
    can I load dumped base (named_dump.db) into bind's memory again? - because all remembered assotiations are lost after service is restarted

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    open your named.conf and the first line in options should show you where it stores its cache. Hope it helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •