<?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: Slave DNS server failed to access zone in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4975007#M47102</link>
    <description>Many Thanks Dear Mr Manuel Wolfshant for such nice help/support/explanations ;)&lt;BR /&gt;&lt;BR /&gt;Thanks SEP for reply.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
    <pubDate>Wed, 26 Apr 2006 12:40:05 GMT</pubDate>
    <dc:creator>Maaz</dc:creator>
    <dc:date>2006-04-26T12:40:05Z</dc:date>
    <item>
      <title>Slave DNS server failed to access zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4974995#M47090</link>
      <description>OS: rhel 4&lt;BR /&gt;Master DNS server IP: 192.168.0.9&lt;BR /&gt;Slave DNS server IP: 192.168.0.8&lt;BR /&gt;&lt;BR /&gt;I have configure Master DNS server, its working fine.&lt;BR /&gt;On Master server:&lt;BR /&gt;/etc/named.conf&lt;BR /&gt;zone "test.com" IN {&lt;BR /&gt; type master;&lt;BR /&gt; file "test.com.frwd";&lt;BR /&gt;};&lt;BR /&gt;# ls -dl /var/named/chroot/var/named/&lt;BR /&gt;drwxr-x---  4 root named 4096 Apr 11 16:03 /var/named/chroot/var/named/&lt;BR /&gt;&lt;BR /&gt;# ls -dl /var/named/chroot/var/named/slaves/&lt;BR /&gt;drwxrwx---  2 named named 4096 Jul 27  2004 /var/named/chroot/var/named/slaves/&lt;BR /&gt;&lt;BR /&gt;On Slave Server:&lt;BR /&gt;/etc/named.conf&lt;BR /&gt;zone "test.com" IN {&lt;BR /&gt; type slave;&lt;BR /&gt; file "test.com.frwd";&lt;BR /&gt; masters {192.168.0.9;};&lt;BR /&gt;};&lt;BR /&gt;# ls -dl /var/named/chroot/var/named/&lt;BR /&gt;drwxr-x---  4 root named 4096 Apr 11 16:03 /var/named/chroot/var/named/&lt;BR /&gt;&lt;BR /&gt;# ls -dl /var/named/chroot/var/named/slaves/&lt;BR /&gt;drwxrwx---  2 named named 4096 Jul 27  2004 /var/named/chroot/var/named/slaves/&lt;BR /&gt;&lt;BR /&gt;Slave server failed to download the zone file from master file&lt;BR /&gt;&lt;BR /&gt;On Master server&lt;BR /&gt;tail -f /var/log/messages&lt;BR /&gt;April 22 18:13:13 ns1 named[2343]:zone test.com/IN: Sending notifies serial 1997022700)&lt;BR /&gt;April 22 18:13:13 ns1 named[2343]:client 192.168.0.8#1027: transfer of 'test.com/IN': AXFR started&lt;BR /&gt;&lt;BR /&gt;On Slave server&lt;BR /&gt;tail -f /var/log/messages&lt;BR /&gt;April 22 18:13:13 ns2 named[2438]: received notify for zone 'test.com'&lt;BR /&gt;April 22 18:13:13 ns2 named[2438]:dumping master file: tmp-XXXXo5lyZp: open: permission denied&lt;BR /&gt;April 22 18:13:13 ns2 named[2438]:transfer of 'test.com/IN' from 192.168.0.9#53: failed while receiving responses: permission denied&lt;BR /&gt;April 22 18:13:13 ns2 named[2438]: transfer of 'testing.com/IN' from 192.168.0.9#53: end of transfer&lt;BR /&gt;&lt;BR /&gt;Plz help &lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Sat, 22 Apr 2006 13:00:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4974995#M47090</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2006-04-22T13:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Slave DNS server failed to access zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4974996#M47091</link>
      <description>The error simply says that named on the slave computer is not allowed to write the zone file on the disk.&lt;BR /&gt;Make sure you are really using the folder you think you are. It looks to me that you also need write permissions in a temporary folder below the chroot, probably /var/named/chroot/var/tmp.&lt;BR /&gt;&lt;BR /&gt;Did you install bind-chroot ?</description>
      <pubDate>Sat, 22 Apr 2006 20:54:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4974996#M47091</guid>
      <dc:creator>Manuel Wolfshant</dc:creator>
      <dc:date>2006-04-22T20:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Slave DNS server failed to access zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4974997#M47092</link>
      <description>Thanks Dear Manuel Wolfshant for the reply/help.&lt;BR /&gt;Tomorow, I'll check the permission on /././tmp, and then I'll let u know&lt;BR /&gt;&lt;BR /&gt;bind-chroot, yes ... I think its the default in rhel4 &lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Sun, 23 Apr 2006 01:59:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4974997#M47092</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2006-04-23T01:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Slave DNS server failed to access zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4974998#M47093</link>
      <description>On the master:&lt;BR /&gt;&lt;BR /&gt;allow-transfer { localhost; 233.29.17.13; 19.146.119.223;};&lt;BR /&gt;&lt;BR /&gt;This should permit transfer, otherwise unauthorized attempts to be slave servers will fail.&lt;BR /&gt;&lt;BR /&gt;It keeps people from messing with you and setting up phishing sites and such.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 23 Apr 2006 02:07:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4974998#M47093</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-04-23T02:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Slave DNS server failed to access zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4974999#M47094</link>
      <description>Thanks for reply SEP&lt;BR /&gt;I even did the following&lt;BR /&gt;On Master server:&lt;BR /&gt;/etc/named.conf&lt;BR /&gt;zone "test.com" IN {&lt;BR /&gt;type master;&lt;BR /&gt;file "test.com.frwd";&lt;BR /&gt;allow-update {192.168.0.8;};&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;But prblms remain.&lt;BR /&gt;I'll follow ur instruction and will let u know tomorow.&lt;BR /&gt;</description>
      <pubDate>Sun, 23 Apr 2006 02:22:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4974999#M47094</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2006-04-23T02:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Slave DNS server failed to access zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4975000#M47095</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;You need to restart named&lt;BR /&gt;&lt;BR /&gt;service named restart&lt;BR /&gt;&lt;BR /&gt;All this data is cached in memory and you have to force the change.&lt;BR /&gt;&lt;BR /&gt;Also may be needed to update the zone record serial number of the master of the domain.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 23 Apr 2006 06:26:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4975000#M47095</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-04-23T06:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Slave DNS server failed to access zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4975001#M47096</link>
      <description>Dear gentlemen, please allow me two small corrections:&lt;BR /&gt;&lt;BR /&gt;issue one: "allow update" placed in a zone definition on the master server would allow it to RETRIEVE the zone (actually to have it UPDATED) from the slave. this is NOT what you want. It is only useful for dynamic DNS updates, when a slave zone is modified and the master must be informed. What you would want would be allow-transfer, which allows the slave to issue the XFER command (aka transfer the entire zone at once, not just individual records, as allow-query permits)&lt;BR /&gt;Taking into account the message which started the thread, that is:&lt;BR /&gt;"April 22 18:13:13 ns1 named[2343]:client 192.168.0.8#1027: transfer of 'test.com/IN': AXFR started" it is obvious that this step has already been taken care of.&lt;BR /&gt;Mr. Protter's suggestion to explicitely allow zone transfers to those who should be allowed to do it and only allow queries to the rest of the world (denying AXFR) is excellent from a security point of view.&lt;BR /&gt;However, the error message is:&lt;BR /&gt;"April 22 18:13:13 ns2 named[2438]:dumping master file: tmp-XXXXo5lyZp: open: permission denied"&lt;BR /&gt;which clearly indicates a write permission error on the local filesystem. It has NOTHING to do with bind or zone settings.&lt;BR /&gt;&lt;BR /&gt;issue two: no need to RESTART the server when you update a zone. The correct method is to use "rndc reload zone", or maybe "rndc reload" if you have several zones that need updates. Whenever you use restart, you loose ALL the cached data. Which might not be important for small servers but do impose a penalty on large servers.</description>
      <pubDate>Sun, 23 Apr 2006 10:17:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4975001#M47096</guid>
      <dc:creator>Manuel Wolfshant</dc:creator>
      <dc:date>2006-04-23T10:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Slave DNS server failed to access zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4975002#M47097</link>
      <description>Thanks Mr Manuel Wolfshant for continous help and explanations... really nice explanations&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Maaz&lt;BR /&gt;</description>
      <pubDate>Sun, 23 Apr 2006 12:44:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4975002#M47097</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2006-04-23T12:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Slave DNS server failed to access zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4975003#M47098</link>
      <description>On Master/Slave servers&lt;BR /&gt;&lt;BR /&gt;# ls -l /var/named/chroot/&lt;BR /&gt;total 24&lt;BR /&gt;drwxrwxr--  2 root named 4096 Dec 26 01:40 dev&lt;BR /&gt;drwxrwx---  2 root named 4096 Dec 26 01:40 etc&lt;BR /&gt;drwxrwx---  5 root named 4096 Dec 26 01:40 var&lt;BR /&gt;&lt;BR /&gt;# ls -l /var/named/chroot/var/&lt;BR /&gt;total 24&lt;BR /&gt;drwxr-x---  4 root  named 4096 Apr 23 17:33 named&lt;BR /&gt;drwxrwx---  3 root  named 4096 Dec 26 01:40 run&lt;BR /&gt;drwxrwx---  2 named named 4096 Mar 14  2003 tmp&lt;BR /&gt;&lt;BR /&gt;# ls -ld /var/named/chroot/var/named/slaves/&lt;BR /&gt;drwxrwx---  2 named named 4096 Jul 27  2004 /var/named/chroot/var/named/slaves/&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Maaz&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Apr 2006 14:25:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4975003#M47098</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2006-04-24T14:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Slave DNS server failed to access zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4975004#M47099</link>
      <description>Please be as kind as to edit the zone file on your slave and replace&lt;BR /&gt; type slave;&lt;BR /&gt; file "test.com.frwd";&lt;BR /&gt;with&lt;BR /&gt; type slave;&lt;BR /&gt; file "slaves/test.com.frwd";&lt;BR /&gt;&lt;BR /&gt;For the moment you are trying to write the zone file in /var/named/chroot/var/named/ where named does not have write access.&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Apr 2006 16:26:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4975004#M47099</guid>
      <dc:creator>Manuel Wolfshant</dc:creator>
      <dc:date>2006-04-24T16:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Slave DNS server failed to access zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4975005#M47100</link>
      <description>Dear Manuel Wolfshant Thanks for help/suport.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;For the moment you are trying to write the zone file &amp;gt;in /var/named/chroot/var/named/ where named does not have write access&lt;BR /&gt;&lt;BR /&gt;then what should I do ?&lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Tue, 25 Apr 2006 12:37:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4975005#M47100</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2006-04-25T12:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Slave DNS server failed to access zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4975006#M47101</link>
      <description>Please reread the begining of my previous reply</description>
      <pubDate>Tue, 25 Apr 2006 12:41:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4975006#M47101</guid>
      <dc:creator>Manuel Wolfshant</dc:creator>
      <dc:date>2006-04-25T12:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Slave DNS server failed to access zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4975007#M47102</link>
      <description>Many Thanks Dear Mr Manuel Wolfshant for such nice help/support/explanations ;)&lt;BR /&gt;&lt;BR /&gt;Thanks SEP for reply.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Wed, 26 Apr 2006 12:40:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/slave-dns-server-failed-to-access-zone/m-p/4975007#M47102</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2006-04-26T12:40:05Z</dc:date>
    </item>
  </channel>
</rss>

