<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: howto check if DNS sever caches queries correctly ? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570900#M68462</link>
    <description>I have 2 questions:&lt;BR /&gt;&lt;BR /&gt;1.) Howto modify the amount of memory bind uses for caching ?&lt;BR /&gt;&lt;BR /&gt;2.) How can I check how much memory uses BIND now ?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sun, 10 Jul 2005 06:42:37 GMT</pubDate>
    <dc:creator>'chris'</dc:creator>
    <dc:date>2005-07-10T06:42:37Z</dc:date>
    <item>
      <title>howto check if DNS sever caches queries correctly ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570886#M68448</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;howto check if DNS sever caches queries correctly ?&lt;BR /&gt;I've installed an internal DNS server BIND 9 on Debian.&lt;BR /&gt;&lt;BR /&gt;under options I have forwarders of my ISP:&lt;BR /&gt;&lt;BR /&gt;options {&lt;BR /&gt;   directory "/var/cache/bind"; &lt;BR /&gt;&lt;BR /&gt;forwarders { 211.12.X.X; 211.12.X.X; 194.15.X.X; };&lt;BR /&gt;&lt;BR /&gt;forward first; &lt;BR /&gt;&lt;BR /&gt;.....................................................................................................&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;howto be sure, that caches all queries &lt;BR /&gt;and doesn't go each time to the internet to ask  DNS servers of my ISP ?   &lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;chris</description>
      <pubDate>Sun, 26 Jun 2005 09:43:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570886#M68448</guid>
      <dc:creator>'chris'</dc:creator>
      <dc:date>2005-06-26T09:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: howto check if DNS sever caches queries correctly ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570887#M68449</link>
      <description>Hello Chris,&lt;BR /&gt;&lt;BR /&gt;Quite straightforward : &lt;BR /&gt;   * nslookup or dig &lt;IP_ADDRESS&gt;&lt;BR /&gt;   * unplug the network cable&lt;BR /&gt;   * nslookup or dig &lt;SAME ip_address=""&gt;&lt;BR /&gt;&lt;BR /&gt;You may also try a "soft" method by using tcpdump or ethereal as a spy for outgoing network traffic (monitor port 53, TCP and UDP).&lt;BR /&gt;&lt;BR /&gt;Good lcuk.&lt;BR /&gt;Kodjo&lt;BR /&gt;&lt;/SAME&gt;&lt;/IP_ADDRESS&gt;</description>
      <pubDate>Sun, 26 Jun 2005 17:24:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570887#M68449</guid>
      <dc:creator>Kodjo Agbenu</dc:creator>
      <dc:date>2005-06-26T17:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: howto check if DNS sever caches queries correctly ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570888#M68450</link>
      <description>thanks,&lt;BR /&gt;&lt;BR /&gt;I've tried and this is working,&lt;BR /&gt;but I cannot find any Bind cache files.&lt;BR /&gt;&lt;BR /&gt;/var/cache/bind is always empty.&lt;BR /&gt;&lt;BR /&gt;where is Bind putting its cache files ?&lt;BR /&gt;&lt;BR /&gt;greetings&lt;BR /&gt;chris</description>
      <pubDate>Sun, 26 Jun 2005 17:34:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570888#M68450</guid>
      <dc:creator>'chris'</dc:creator>
      <dc:date>2005-06-26T17:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: howto check if DNS sever caches queries correctly ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570889#M68451</link>
      <description>It's in memory.</description>
      <pubDate>Sun, 26 Jun 2005 18:09:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570889#M68451</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-06-26T18:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: howto check if DNS sever caches queries correctly ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570890#M68452</link>
      <description>Interesting thread. At my work I have discovered that the DSN servers may in some cases return different answers depending on if your client computer is logged on to the domain or not. We are using MS based DNS servers and I have not bothered to look into why this is happening. I am sure The Sysadmin in all his wisdom propably have a perfectly good explanation for this. However, it is useful to be aware that this behavior can happen. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Jun 2005 03:46:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570890#M68452</guid>
      <dc:creator>Karsten Breivik_1</dc:creator>
      <dc:date>2005-06-27T03:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: howto check if DNS sever caches queries correctly ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570891#M68453</link>
      <description>Windows PC's also have local caching of DNS names.  Unfortunately, it frequently also caches failed lookups, and doesn't honor TTL's nicely.&lt;BR /&gt;&lt;BR /&gt;If you get weird results like that, you can flush the DNS cache using the command 'ipconfig /flushdns' (on the windows box).&lt;BR /&gt;&lt;BR /&gt;anyway ;)</description>
      <pubDate>Mon, 27 Jun 2005 07:51:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570891#M68453</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-06-27T07:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: howto check if DNS sever caches queries correctly ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570892#M68454</link>
      <description>@Stuart Browne  &lt;BR /&gt;&lt;BR /&gt;"It's in memory"&lt;BR /&gt;&lt;BR /&gt;You mean RAM Memory ?</description>
      <pubDate>Mon, 27 Jun 2005 14:57:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570892#M68454</guid>
      <dc:creator>'chris'</dc:creator>
      <dc:date>2005-06-27T14:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: howto check if DNS sever caches queries correctly ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570893#M68455</link>
      <description>In the proces memory space, yea.  As in a 'ps' will show how much memory it is using.</description>
      <pubDate>Mon, 27 Jun 2005 19:05:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570893#M68455</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-06-27T19:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: howto check if DNS sever caches queries correctly ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570894#M68456</link>
      <description>Dear Cris,&lt;BR /&gt;The dns cache is in ur ram memory . When u restart ur dns server all the cache is lost . Bind is not storing any dns cache in files . U cant modify the amount of memory bind uses to allocate for the cache , bind allocates the memory depending on ur total memory . U can check whether the query is resolved from the cache or from the isp server by using the steps from Kodgo or u can see the query time it takes to check whether it is resolving from cache or ur isp server. Pls see the attachment and see the query time difference.</description>
      <pubDate>Tue, 28 Jun 2005 02:29:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570894#M68456</guid>
      <dc:creator>Bejoy C Alias</dc:creator>
      <dc:date>2005-06-28T02:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: howto check if DNS sever caches queries correctly ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570895#M68457</link>
      <description>i understand why the cache is held in ram, but how to deal with the following situation:&lt;BR /&gt;&lt;BR /&gt;in a large scale structure the dns cache helps to avoid&lt;BR /&gt;a lot of unnescessary querys for the same domain. but if someone moves a server from one ip to another and i have to update the cache entrys just for that specific host what would be the best method ???&lt;BR /&gt;&lt;BR /&gt;remember, i dont want to loose the whole cache with a restart</description>
      <pubDate>Sun, 03 Jul 2005 11:04:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570895#M68457</guid>
      <dc:creator>Schmid Marco</dc:creator>
      <dc:date>2005-07-03T11:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: howto check if DNS sever caches queries correctly ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570896#M68458</link>
      <description>If you want a persistent (=on-disk) cache for some domains you're using a lot, have you considered making your DNS server a "slave" for that zone?&lt;BR /&gt;&lt;BR /&gt;You can be a "stealth-slave": that is, your DNS server does not need to be announced to the world in NS records, so you don't get random queries to that zone from the outside world.&lt;BR /&gt;&lt;BR /&gt;To be a "stealth-slave" for a zone, you first ensure that your server is permitted to "suck" a copy of the desired zone's data from some DNS server that already is authoritative for the zone.&lt;BR /&gt;&lt;BR /&gt;Then you configure something like this in you r named.conf:&lt;BR /&gt;&lt;BR /&gt;zone "some.domain.example" {&lt;BR /&gt;    type slave;&lt;BR /&gt;    masters { authoritative.server.ip.addr; };&lt;BR /&gt;    file { "/etc/bind/slave/db.some.domain"; };&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;Ensure that the bind process can write to the file mentioned in "file" directive, and you're all set. Restart BIND (or say "rndc reconfig" if you've set up rndc properly) and it will automatically fetch the current data for the zone, store it into the file and keep the file up to date.&lt;BR /&gt;&lt;BR /&gt;If the domain's content is changing often, it would be good to have the domain's master server set up an "also-notify" for you: normally a slave server checks periodically on its master for changes to the duplicated zone data, but the master can also send NOTIFY messages to the slaves when the data changes. This is done automatically for official slaves (those mentioned in the zone's NS records), but for stealth-slaves the master server must be configured explicitly to send the notify message, because the master has no other way to know about the slave's existence.&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jul 2005 09:13:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570896#M68458</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2005-07-04T09:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: howto check if DNS sever caches queries correctly ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570897#M68459</link>
      <description>thanks,&lt;BR /&gt;&lt;BR /&gt;but howto modify the amount of memory bind uses ?</description>
      <pubDate>Wed, 06 Jul 2005 19:49:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570897#M68459</guid>
      <dc:creator>'chris'</dc:creator>
      <dc:date>2005-07-06T19:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: howto check if DNS sever caches queries correctly ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570898#M68460</link>
      <description>There are no configuration options that I'm aware of to do this.&lt;BR /&gt;&lt;BR /&gt;If you're really desperate to limit the amount of memory bind uses, then it's back to the source for you! ;)</description>
      <pubDate>Wed, 06 Jul 2005 19:59:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570898#M68460</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-07-06T19:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: howto check if DNS sever caches queries correctly ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570899#M68461</link>
      <description>Chris,&lt;BR /&gt;U cant modify the amount of memory bind uses for caching. The amount of memory which bind allocates is depending upon the total memory u have in ur system.</description>
      <pubDate>Wed, 06 Jul 2005 23:21:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570899#M68461</guid>
      <dc:creator>Bejoy C Alias</dc:creator>
      <dc:date>2005-07-06T23:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: howto check if DNS sever caches queries correctly ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570900#M68462</link>
      <description>I have 2 questions:&lt;BR /&gt;&lt;BR /&gt;1.) Howto modify the amount of memory bind uses for caching ?&lt;BR /&gt;&lt;BR /&gt;2.) How can I check how much memory uses BIND now ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 10 Jul 2005 06:42:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570900#M68462</guid>
      <dc:creator>'chris'</dc:creator>
      <dc:date>2005-07-10T06:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: howto check if DNS sever caches queries correctly ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570901#M68463</link>
      <description>1) Source code modification, recompile.  Not simple.&lt;BR /&gt;&lt;BR /&gt;2) ps -elf | grep named, check the SZ (10th) column, in kilobytes.</description>
      <pubDate>Sun, 10 Jul 2005 06:49:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570901#M68463</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-07-10T06:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: howto check if DNS sever caches queries correctly ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570902#M68464</link>
      <description>thanks, but which one is SZ column ?&lt;BR /&gt;&lt;BR /&gt;# ps -elf | grep named&lt;BR /&gt;1 S root      1338     1  0  69   0 -   561 select Jul08 ?        00:00:00 /sbin/syslogd -a /var/lib/named/dev/log&lt;BR /&gt;1 S bind      1349     1  0  69   0 -  3002 rt_sig Jul08 ?        00:00:00 /usr/sbin/named -u bind -t /var/lib/named&lt;BR /&gt;1 S bind      1352  1349  0  69   0 -  3002 poll   Jul08 ?        00:00:00 /usr/sbin/named -u bind -t /var/lib/named&lt;BR /&gt;5 S bind      1353  1352  0  70   0 -  3002 rt_sig Jul08 ?        00:00:37 /usr/sbin/named -u bind -t /var/lib/named&lt;BR /&gt;1 S bind      1354  1352  0  69   0 -  3002 nanosl Jul08 ?        00:00:00 /usr/sbin/named -u bind -t /var/lib/named&lt;BR /&gt;1 S bind      1355  1352  0  69   0 -  3002 select Jul08 ?        00:00:04 /usr/sbin/named -u bind -t /var/lib/named&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 10 Jul 2005 07:25:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570902#M68464</guid>
      <dc:creator>'chris'</dc:creator>
      <dc:date>2005-07-10T07:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: howto check if DNS sever caches queries correctly ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570903#M68465</link>
      <description>the 10th column.  the '3002'. So about 3MB of memory for you.</description>
      <pubDate>Sun, 10 Jul 2005 16:11:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/howto-check-if-dns-sever-caches-queries-correctly/m-p/3570903#M68465</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-07-10T16:11:58Z</dc:date>
    </item>
  </channel>
</rss>

