<?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: DNS forward and lookup problem in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/dns-forward-and-lookup-problem/m-p/5212174#M82383</link>
    <description>Your work-around may be similar to a DNS cache pollution attack.&lt;BR /&gt;&lt;BR /&gt;If you have a zone of type "master" on ns1, then ns1 is defined as an authoritative server for that zone: it *by definition* knows everything there is to know about that zone and does not need to ask any other nameserver anything about that zone.&lt;BR /&gt;&lt;BR /&gt;When an DNS server that is authoritative for a particular zone responds with "the data you're looking for does not exist", it is not simply an error message. It is more like "I am positive that it does not exist. If someone tries to tell you otherwise, that someone is a fake."&lt;BR /&gt;&lt;BR /&gt;If you have some DNS data that must be maintained on ns1 and other data that must be maintained on ns2, trying to put them into the same domain is most likely a design error: you should make them either two different domains, or make one a sub-domain of the other.&lt;BR /&gt;&lt;BR /&gt;MK</description>
    <pubDate>Wed, 02 Dec 2009 09:54:52 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2009-12-02T09:54:52Z</dc:date>
    <item>
      <title>DNS forward and lookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dns-forward-and-lookup-problem/m-p/5212172#M82381</link>
      <description>I'm having a problem with some DNS lookups that are forwarded. Here's my topology:&lt;BR /&gt;&lt;BR /&gt;ns1 (linux server running a DNS server)&lt;BR /&gt;ns2 (Windows server running DNS)&lt;BR /&gt;client1 (HP-UX or linux client)&lt;BR /&gt;&lt;BR /&gt;I have ns1 configured with a zone with a bunch of A and CNAME records. I also have ns1 forwarding to ns2 for queries that cannot be resolved directly on ns1. Any lookup on ns1, whether it is a locally stored record or a record on ns2 works fine. From client1 a lookup for a record stored on ns1 works fine. When I try a lookup on client1 for a record stored on ns2 it fails ... initially. If I go on to ns1 and run the lookup and then go to client1 and run the same lookup it then succeeds on client1. The lookup from client1 will work for a few minutes and eventually fail. I'm assuming the record is temporarily stored in cache on ns1.&lt;BR /&gt;&lt;BR /&gt;I've used nslookup, dig, and host for these lookups all with the same result. I can see the query attempts being logged on ns1 whether the query succeeds or fails.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;Kevin</description>
      <pubDate>Tue, 01 Dec 2009 21:12:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dns-forward-and-lookup-problem/m-p/5212172#M82381</guid>
      <dc:creator>Kevin Liquori_1</dc:creator>
      <dc:date>2009-12-01T21:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: DNS forward and lookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dns-forward-and-lookup-problem/m-p/5212173#M82382</link>
      <description>Do you have 'recursion no' in your /etc/named.conf file?  If so, that could be part of the problem.&lt;BR /&gt;&lt;BR /&gt;With recursion set to no, lookups for domains the server is not authoritative for will fail.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.netadmintools.com/art234.html" target="_blank"&gt;http://www.netadmintools.com/art234.html&lt;/A&gt;</description>
      <pubDate>Tue, 01 Dec 2009 22:05:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dns-forward-and-lookup-problem/m-p/5212173#M82382</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-12-01T22:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: DNS forward and lookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dns-forward-and-lookup-problem/m-p/5212174#M82383</link>
      <description>Your work-around may be similar to a DNS cache pollution attack.&lt;BR /&gt;&lt;BR /&gt;If you have a zone of type "master" on ns1, then ns1 is defined as an authoritative server for that zone: it *by definition* knows everything there is to know about that zone and does not need to ask any other nameserver anything about that zone.&lt;BR /&gt;&lt;BR /&gt;When an DNS server that is authoritative for a particular zone responds with "the data you're looking for does not exist", it is not simply an error message. It is more like "I am positive that it does not exist. If someone tries to tell you otherwise, that someone is a fake."&lt;BR /&gt;&lt;BR /&gt;If you have some DNS data that must be maintained on ns1 and other data that must be maintained on ns2, trying to put them into the same domain is most likely a design error: you should make them either two different domains, or make one a sub-domain of the other.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 02 Dec 2009 09:54:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dns-forward-and-lookup-problem/m-p/5212174#M82383</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-12-02T09:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: DNS forward and lookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dns-forward-and-lookup-problem/m-p/5212175#M82384</link>
      <description>Patrick,&lt;BR /&gt;That was it! I had recursion set to: "localnets; localhost;". I switched it to "any" and it is now working as I had hoped.&lt;BR /&gt;&lt;BR /&gt;MK,&lt;BR /&gt;Thanks for the info. I do have a few instances of mixed records between the two DNS servers and I need to reconsider parts of the design.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Kevin</description>
      <pubDate>Wed, 02 Dec 2009 13:34:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dns-forward-and-lookup-problem/m-p/5212175#M82384</guid>
      <dc:creator>Kevin Liquori_1</dc:creator>
      <dc:date>2009-12-02T13:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: DNS forward and lookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dns-forward-and-lookup-problem/m-p/5212176#M82385</link>
      <description>Closing thread. Problem solved.</description>
      <pubDate>Wed, 02 Dec 2009 16:08:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dns-forward-and-lookup-problem/m-p/5212176#M82385</guid>
      <dc:creator>Kevin Liquori_1</dc:creator>
      <dc:date>2009-12-02T16:08:42Z</dc:date>
    </item>
  </channel>
</rss>

