- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- DNS forward and lookup problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2009 01:12 PM
тАО12-01-2009 01:12 PM
ns1 (linux server running a DNS server)
ns2 (Windows server running DNS)
client1 (HP-UX or linux client)
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.
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.
Any ideas?
Thanks in advance.
Kevin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2009 02:05 PM
тАО12-01-2009 02:05 PM
SolutionWith recursion set to no, lookups for domains the server is not authoritative for will fail.
http://www.netadmintools.com/art234.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2009 01:54 AM
тАО12-02-2009 01:54 AM
Re: DNS forward and lookup problem
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.
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."
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.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2009 05:34 AM
тАО12-02-2009 05:34 AM
Re: DNS forward and lookup problem
That was it! I had recursion set to: "localnets; localhost;". I switched it to "any" and it is now working as I had hoped.
MK,
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.
Thanks,
Kevin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2009 08:08 AM
тАО12-02-2009 08:08 AM