<?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: problem with DNS slave zone in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606047#M82622</link>
    <description>Also, when i created a new slave zone as INDIA.xxx.com&lt;BR /&gt;a file with name db-XXbhqnHu is created under /var/named&lt;BR /&gt;&lt;BR /&gt;Isn't this strange? &lt;BR /&gt;A zone file INDIA.xxx.com.zone should be created ideally.</description>
    <pubDate>Thu, 25 Mar 2010 04:14:03 GMT</pubDate>
    <dc:creator>Sunny Jaisinghani</dc:creator>
    <dc:date>2010-03-25T04:14:03Z</dc:date>
    <item>
      <title>problem with DNS slave zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606044#M82619</link>
      <description>&lt;!--!*#--&gt;Hello All,&lt;BR /&gt;&lt;BR /&gt;I have a setup which has 2 DNS servers located in India(windows) and US(Linux).&lt;BR /&gt;&lt;BR /&gt;For Indian employees INDIA server acts as primary DNS and US server acts as secondary. Opposite is the case for US employees.&lt;BR /&gt;&lt;BR /&gt;Recently, a case was reported; the US employees are not able to resolve names of servers in INDIA domain&lt;BR /&gt;&lt;BR /&gt;Now there are 3 zones on US server. 1 is forward lookup, 1 reverse lookup and 1 slave zone.&lt;BR /&gt;i restarted the named service and checked logs. I have both IN server and US server as masters in named.conf for slave zone.&lt;BR /&gt;&lt;BR /&gt;Mar 23 21:43:50 USserver named[29352]: zone INDIA.xxx.com/IN: refresh: unexpected rcode (SERVFAIL) from master US_IP#53&lt;BR /&gt;Mar 23 21:43:51 USserver named[29352]: transfer of 'INDIA.xxx.com/IN' from IN_IP#53: failed while receiving responses: REFUSED&lt;BR /&gt;Mar 23 21:43:51 USserver named[29352]: transfer of 'INDIA.xxx.com/IN' from IN_IP#53: end of transfer&lt;BR /&gt;Mar 23 21:44:37 USserver named[29352]: zone INDIA.xxx.com/IN: refresh: unexpected rcode (SERVFAIL) from master US_IP#53&lt;BR /&gt;Mar 23 21:44:38 USserver named[29352]: transfer of 'INDIA.xxx.com/IN' from IN_IP#53: failed while receiving responses: REFUSED&lt;BR /&gt;Mar 23 21:44:38 USserver named[29352]: transfer of 'INDIA.xxx.com/IN' from IN_IP#53: end of transfer&lt;BR /&gt;&lt;BR /&gt;from the above logs i assumed that there is something wrong with my slave zone file. I tried to correct it but it went in vain.&lt;BR /&gt;&lt;BR /&gt;Now i am planning to create a fresh slave zone on US server.&lt;BR /&gt;&lt;BR /&gt;Can you direct me.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sunny</description>
      <pubDate>Wed, 24 Mar 2010 06:16:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606044#M82619</guid>
      <dc:creator>Sunny Jaisinghani</dc:creator>
      <dc:date>2010-03-24T06:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: problem with DNS slave zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606045#M82620</link>
      <description>&amp;gt; USserver named[29352]: zone INDIA.xxx.com/IN: refresh: unexpected rcode (SERVFAIL) from master US_IP#53&lt;BR /&gt;&lt;BR /&gt;If I understand this correctly, here the US server is trying to refresh INDIA.xxx.com zone file from itself. This makes no sense: looks like the US server is trying to be both a slave and a master for INDIA.xxx.com simultaneously!&lt;BR /&gt;&lt;BR /&gt;&amp;gt; USserver named[29352]: transfer of 'INDIA.xxx.com/IN' from IN_IP#53: failed while receiving responses: REFUSED&lt;BR /&gt;&amp;gt; USserver named[29352]: transfer of 'INDIA.xxx.com/IN' from IN_IP#53: end of transfer&lt;BR /&gt;&lt;BR /&gt;Here, the server in India (IN_IP) apparently refuses to give a copy of the zone file to the US server.&lt;BR /&gt;&lt;BR /&gt;I'd guess the problem is probably with the configuration, not with the zone file. There may also be some problems with the IN server, because it is rejecting the zone transfer request made by the US server.&lt;BR /&gt;&lt;BR /&gt;You say you have both the IN server and the US server as masters? This sounds suspicious: unless there is some external protocol for synchronization between the masters, there can be only one real master server. Active Directory in the Windows world has its own methods for data synchronization, and therefore Active Directory servers can be used as multiple master DNS servers.&lt;BR /&gt;&lt;BR /&gt;It is possible to create a multi-tier DNS replication hierarchy by configuring the master of a slave zone be another slave server, but such a hierarchy must not have loops in it.&lt;BR /&gt;&lt;BR /&gt;Your definition of the "slave zone" sounds ambiguous. By the log, I understand you apparently mean something like "the US server has a slave copy of the INDIA.xxx.com forward lookup zone".&lt;BR /&gt;&lt;BR /&gt;There are two independent ways to classify DNS zone files. &lt;BR /&gt;&lt;BR /&gt;1.) Master/slave:&lt;BR /&gt;The master zone file is the ultimate authority of that particular zone. If a DNS server holds a master file for a zone, it by definition knows everything there is to know about that zone.&lt;BR /&gt;&lt;BR /&gt;The slave zone file is a copy of the master zone file. If a DNS server holds a slave file for a zone, it knows that the true master copy is on some other server, and this server must periodically check with that other server for updates.&lt;BR /&gt;&lt;BR /&gt;2.) Forward/reverse lookup:&lt;BR /&gt;A forward lookup zone file includes many types of records, but primarily A records.&lt;BR /&gt;&lt;BR /&gt;A reverse lookup zone file primarily contains PTR records.&lt;BR /&gt;&lt;BR /&gt;Therefore, there can be four types of zone files:&lt;BR /&gt;- master forward lookup&lt;BR /&gt;- master reverse lookup&lt;BR /&gt;- slave forward lookup&lt;BR /&gt;- slave reverse lookup&lt;BR /&gt;&lt;BR /&gt;Or alternatively, it could be said that "master/slave" is about the server's role regarding this particular zone, while "forward/reverse" is about the content of the zone.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 24 Mar 2010 13:27:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606045#M82620</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-03-24T13:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: problem with DNS slave zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606046#M82621</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I created a fresh slave zone on the DNS master(linux). Here is the zone file that was created. &lt;BR /&gt;&lt;BR /&gt;[root@ferrari named]# more db-XXbhqnHu&lt;BR /&gt;$TTL 86400&lt;BR /&gt;INDIA.xxx.com     IN      SOA     usj-pn-sn-01.INDIA.xxx.com         hostmaster.INDIA.xxx.com (&lt;BR /&gt;                                2 ; serial&lt;BR /&gt;                                28800 ; refresh&lt;BR /&gt;                                14400 ; retry&lt;BR /&gt;                                3600000 ; expire&lt;BR /&gt;                                86400 ; ttl&lt;BR /&gt;                                )&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ganges  IN      A       192.168.10.20&lt;BR /&gt;&lt;BR /&gt;******************************************&lt;BR /&gt;&lt;BR /&gt;Here usj-pn-sn-01 is the secondary DNS server(windows) and i am trying to resolve ganges.INDIA.xxx.com&lt;BR /&gt;&lt;BR /&gt;[root@ferrari named]# host ganges.INDIA.xxx.com&lt;BR /&gt;Host ganges.INDIA.xxx.com not found: 2(SERVFAIL)&lt;BR /&gt;&lt;BR /&gt;LOGS&lt;BR /&gt;&lt;BR /&gt;Mar 24 19:52:35 ferrari named[2055]: zone INDIA.xxx.com/IN: refresh: unexpected rcode (SERVFAIL) from master 10.1.1.10#53&lt;BR /&gt;&lt;BR /&gt;/etc/named.conf&lt;BR /&gt;&lt;BR /&gt;zone "INDIA.xxx.com" {&lt;BR /&gt;        type slave;&lt;BR /&gt;        file "INDIA.xxx.com.zone";&lt;BR /&gt;        allow-transfer {&lt;BR /&gt;        10.1.1.10;&lt;BR /&gt;};&lt;BR /&gt;        masters {&lt;BR /&gt;                10.1.1.10 ;&lt;BR /&gt;        };&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;What is wrong with the configuration&lt;BR /&gt;&lt;BR /&gt;telnet from master DNS to secondary DNS on port 53 also works&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Mar 2010 03:57:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606046#M82621</guid>
      <dc:creator>Sunny Jaisinghani</dc:creator>
      <dc:date>2010-03-25T03:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: problem with DNS slave zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606047#M82622</link>
      <description>Also, when i created a new slave zone as INDIA.xxx.com&lt;BR /&gt;a file with name db-XXbhqnHu is created under /var/named&lt;BR /&gt;&lt;BR /&gt;Isn't this strange? &lt;BR /&gt;A zone file INDIA.xxx.com.zone should be created ideally.</description>
      <pubDate>Thu, 25 Mar 2010 04:14:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606047#M82622</guid>
      <dc:creator>Sunny Jaisinghani</dc:creator>
      <dc:date>2010-03-25T04:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: problem with DNS slave zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606048#M82623</link>
      <description>I am still uncertain whether 10.1.1.10 is usj-pn-sn-01.INDIA.xxx.com, or "ferrari" (where the next log message is from).&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Mar 24 19:52:35 ferrari named[2055]: zone INDIA.xxx.com/IN: refresh: unexpected rcode (SERVFAIL) from master 10.1.1.10#53&lt;BR /&gt;&lt;BR /&gt;Here your DNS server daemon on host "ferrari" was trying to get a fresh copy of the INDIA.xxx.com zone from 10.1.1.10, but got an error code from 10.1.1.10 instead.&lt;BR /&gt;&lt;BR /&gt;The error code is SERVFAIL = Server Failed.&lt;BR /&gt;So, the 10.1.1.10 server is telling you it has a problem and cannot give a copy of that zone to your server.&lt;BR /&gt;&lt;BR /&gt;The fact that 10.1.1.10 could send the SERVFAIL code tells us two things:&lt;BR /&gt;- connectivity from this server to 10.1.1.10 is OK&lt;BR /&gt;- 10.1.1.10 is running some DNS server software&lt;BR /&gt;&lt;BR /&gt;If 10.1.1.10 = ferrari, then that is an obvious reason for the SERVFAIL code: as ferrari currently does not have the valid zone file of INDIA.xxx.com, it obviously cannot give it to itself.&lt;BR /&gt;&lt;BR /&gt;According to your SOA record, usj-pn-sn-01.INDIA.xxx.com is the master server if INDIA.xxx.com. If you can connect to that server, you should put its IP address to the "masters" list of the INDIA.xxx.com slave zone.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Thu, 25 Mar 2010 06:19:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606048#M82623</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-03-25T06:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: problem with DNS slave zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606049#M82624</link>
      <description>Thanks for the explanation Matti.&lt;BR /&gt;&lt;BR /&gt;Instead of creating a slave zone. I created another master zone and now the name resolution works.&lt;BR /&gt;&lt;BR /&gt;To be frank, i am still hugely confused with this master and slave thing; but i am happy that some things are working now.&lt;BR /&gt;&lt;BR /&gt;Thanks again&lt;BR /&gt;Sunny</description>
      <pubDate>Thu, 25 Mar 2010 07:52:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606049#M82624</guid>
      <dc:creator>Sunny Jaisinghani</dc:creator>
      <dc:date>2010-03-25T07:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: problem with DNS slave zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606050#M82625</link>
      <description>In a nutshell, the master/slave relationship is for DNS zone updates.&lt;BR /&gt;&lt;BR /&gt;When the administrator updates the DNS zone on the master server, the slaves will automatically detect it and fetch an updated version from the zone's master server.&lt;BR /&gt;&lt;BR /&gt;This is also why you should not need to create a zone file for the slave zone manually: when the DNS server starts up, it should detect that the slave zone file is missing and automatically fetch an up-to-date version from the zone's master server. &lt;BR /&gt;&lt;BR /&gt;A DNS server can be a master for a zone or a set of zones, while being a slave for another zone or zones. In other words, the master/slave role assignment is specific to each zone.&lt;BR /&gt;&lt;BR /&gt;In this case, when the US server tried to request the updated INDIA.xxx.com zone file from the IN server, the IN server refused to give it. This would be a configuration error in the IN server. Perhaps the IN server has not been told that it is supposed to have a slave in the US for the INDIA.xxx.com zone? &lt;BR /&gt;&lt;BR /&gt;If both the IN and US servers are now declared as masters for the INDIA.xxx.com zone, when the zone is changed on one server the change won't be automatically reflected to the other server.&lt;BR /&gt;&lt;BR /&gt;O'Reilly's "DNS and BIND" book has a very good introduction to DNS in general. The earliest editions of the book are written for BIND 4.9.x, which is obsolete. If you want to buy the book, make sure you get the latest edition, which covers BIND 9.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Thu, 25 Mar 2010 12:13:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606050#M82625</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-03-25T12:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: problem with DNS slave zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606051#M82626</link>
      <description>&lt;!--!*#--&gt;I have another problem with the master zone that i created on US server.&lt;BR /&gt;&lt;BR /&gt;Here are the logs when i restart named. Ferrari is the US server. lookup to INDIA domain fails again.&lt;BR /&gt;&lt;BR /&gt;Mar 25 21:45:17 ferrari named[2187]: dns_master_load: INDIA.xxx.com.zone:16: unknown RR type 'IN'&lt;BR /&gt;Mar 25 21:45:17 ferrari named[2187]: zone INDIA.xxx.com/IN: loading master file INDIA.xxx.com.zone: unknown class/type&lt;BR /&gt;&lt;BR /&gt;here is the zone file&lt;BR /&gt;&lt;BR /&gt;$TTL 86400&lt;BR /&gt;@       IN      SOA     localhost       root    (&lt;BR /&gt;                                8 ; serial&lt;BR /&gt;                                28800 ; refresh&lt;BR /&gt;                                14400 ; retry&lt;BR /&gt;                                3600000 ; expire&lt;BR /&gt;                                86400 ; ttl&lt;BR /&gt;                                )&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;@       IN      NS      usj-sj-ns-01 ; alias of ferrari&lt;BR /&gt;@       IN      NS      usj-pn-ns-01&lt;BR /&gt;xxx.com.  IN      NS      ns01&lt;BR /&gt;&lt;BR /&gt;ns01    IN      IN      A       216.69.185.1&lt;BR /&gt;ganges  IN      IN      A       192.168.10.20&lt;BR /&gt;usj-pn-sn-01    IN      IN      A       192.168.10.10&lt;BR /&gt;&lt;BR /&gt;Thanks for helping&lt;BR /&gt;&lt;BR /&gt;Sunny</description>
      <pubDate>Fri, 26 Mar 2010 05:16:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606051#M82626</guid>
      <dc:creator>Sunny Jaisinghani</dc:creator>
      <dc:date>2010-03-26T05:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: problem with DNS slave zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606052#M82627</link>
      <description>&lt;!--!*#--&gt;[root@ferrari root]# named-checkzone -dj INDIA.xxx.com  /var/named/INDIA.xxx.com.zone&lt;BR /&gt;loading "INDIA.xxx.com" from "/var/named/INDIA.xxx.com.zone" class "IN"&lt;BR /&gt;dns_master_load: /var/named/INDIA.xxx.com.zone:14: ignoring out-of-zone data (xxx.com)&lt;BR /&gt;dns_master_load: /var/named/INDIA.xxx.com.zone:16: unknown RR type 'IN'&lt;BR /&gt;dns_master_load: /var/named/INDIA.xxx.com.zone:17: unknown RR type 'IN'&lt;BR /&gt;dns_master_load: /var/named/INDIA.xxx.com.zone:18: unknown RR type 'IN'&lt;BR /&gt;zone INDIA.xxx.com/IN: loading master file /var/named/INDIA.xxx.com.zone: unknown class/type&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Mar 2010 07:56:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606052#M82627</guid>
      <dc:creator>Sunny Jaisinghani</dc:creator>
      <dc:date>2010-03-26T07:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: problem with DNS slave zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606053#M82628</link>
      <description>&amp;gt;ns01    IN      IN      A       216.69.185.1&lt;BR /&gt;&amp;gt;ganges  IN      IN      A       192.168.10.20&lt;BR /&gt;&amp;gt;usj-pn-sn-01    IN      IN      A       192.168.10.10&lt;BR /&gt;&lt;BR /&gt;On these 3 lines, you have the record class name "IN" listed twice.&lt;BR /&gt;&lt;BR /&gt;The correct lines should be:&lt;BR /&gt;ns01    IN      A       216.69.185.1&lt;BR /&gt;ganges  IN      A       192.168.10.20&lt;BR /&gt;usj-pn-sn-01    IN      A       192.168.10.10&lt;BR /&gt;&lt;BR /&gt;There is also another problem:&lt;BR /&gt;&amp;gt; @       IN      NS      usj-sj-ns-01    ; alias of ferrari&lt;BR /&gt;&lt;BR /&gt;In plain language, it means: "usj-sj-ns-01.INDIA.xxx.com is an authoritative DNS server for INDIA.xxx.com", but as there is no A record for usj-sj-ns-01, this NS record is effectively useless.&lt;BR /&gt;&lt;BR /&gt;As you created a master zone file for INDIA.xxx.com on ferrari, you're effectively claiming that your /var/named/INDIA.xxx.com.zone file is a total, complete and authoritative description of the INDIA.xxx.com zone. If a name is not listed in the master zone file, it *does not exist* in the corresponding zone.&lt;BR /&gt;&lt;BR /&gt;For example, with your current zone file, if someone requests the IP address if usj-sj-ns-01.INDIA.xxx.com from the ferrari system, ferrari will respond like: "I am absolutely certain that usj-sj-ns-01.INDIA.xxx.com does *not* have an IP address assigned."&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Fri, 26 Mar 2010 09:26:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606053#M82628</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-03-26T09:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: problem with DNS slave zone</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606054#M82629</link>
      <description>wow... finally i have the problem resolved..&lt;BR /&gt;Thanks Matti</description>
      <pubDate>Fri, 26 Mar 2010 09:38:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-dns-slave-zone/m-p/4606054#M82629</guid>
      <dc:creator>Sunny Jaisinghani</dc:creator>
      <dc:date>2010-03-26T09:38:26Z</dc:date>
    </item>
  </channel>
</rss>

