Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.glorb.com!usenet.stanford.edu!not-for-mail From: Kevin Darcy Newsgroups: comp.protocols.dns.bind Subject: Re: Bind does not reply with "no such name" to A query Date: Wed, 09 Nov 2011 10:55:24 -0500 Lines: 83 Approved: bind-users@lists.isc.org Message-ID: References: <06CB03369320DB45A3E900190939EDA523FB43AD30@MCHP058A.global-ad.net> <002701cc9ed1$5a213160$0e639420$@nic.in> NNTP-Posting-Host: lists.isc.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: usenet.stanford.edu 1320854180 13089 149.20.64.75 (9 Nov 2011 15:56:20 GMT) X-Complaints-To: action@cs.stanford.edu To: bind-users@lists.isc.org Return-Path: X-Original-To: bind-users@lists.isc.org Delivered-To: bind-users@lists.isc.org X-AuditID: 8109a822-b7f316d000000b10-26-4ebaa28b9e55 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 In-Reply-To: <002701cc9ed1$5a213160$0e639420$@nic.in> X-Brightmail-Tracker: H4sIAAAAAAAAA11TWUwTURTNa0udIg+HAcqjlKIT+HBhqUtQwSUu4Ic0xCUaE4NDGWmlLc1M K+XDBNQAAXEDozSiQoyKiZiACKJIrFsgEEyMIZiISxQUBTREJTEu86YtTP27c86999xzJo+Q U+2EhjDbHCxnYyy0MlixQjt/dWJVY6chpa0pdaVnKmE92NL35rciG+wJTs9jLeaDLJe8dl+w 6UPtUJC9Wu0auX1VXgLKyUqgIhC5HL2u+aP01mr0bPimUAcTFDkA0L2WL3P8TZOjdTIvMQzQ 1Ku/wPsxBNC3JxdkuAuSi1H/p/4gXCvIBHS89a0c10oyHnW+vCpuiiTN6OTEgNLbH4Z66t4r cB1BatHN8fsiHk6uQ0frr4g1RbrQwxfdANcqcgU6VeoWaoKQk2nox10Ow3IyDrWPn5d7D9Wh ayeawUlAuSUK7tkJt2TiEpBfBzG8KdfK2FP0SazLwTFJRhNXzFtYLslYaG0BQrylqmt0B+hx Qw8oIGR0JDzQ0GmgQnML84pNDG/K4ZwWlqcjoArDcAbOdVoKaA3MxGj4DGpji4TlDuHn0Tq4 RC9wUTMc7+TtZqO50MnnODmLB8QQCjoK9n1uNVBkPuNgC1jWznJePQ8oIggawaV4fRjH5rOu /WaLw08Lc4933hHmpIx4USy8kSGMqKWE5KgFEFW0GyiNlP7/Lhmh8oB8IkTwXHIJe+btjJU3 5/ukw2EXPirEj4qy0bAKt1J+UCIZCzNxDmo/FSjXC4o1UXAN3kjiDpPTNuNSo4at5wRinoTA ahotzKjrMFCREnxWUDMfxgwLbLSEDdQUH9Vow88xYCSA4CdZ9CM8uVmTFLyM/cz1gaJHBDsw FubDJBa10IUtRvqYQLUxIUuZkGWCXszSwTikWU6Vt+Msfagvyx8YpPxgQJbTmFL7qUAlTQlI P7M05ddFXUOyYVCGuowthyMyemvfL1ishcS5ZWVcmSO0+3rWpGnTxmm6yVCqX/jK2nY6cVvC quqp/RtsVVtv2V4cOTtxY/rd9rjpgb27ittqvn8deR4PZMr6Zc3H+j9u/rKbf1oBu4mHjY/6 4ypTd6RV7xyczHtw6rbuULaO3ptFK3gTo18k53jmH3Jik7fKBAAA X-Brightmail-Tracker: AAAAAA== X-Spam-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED,T_RP_MATCHES_RCVD autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mx.ams1.isc.org X-BeenThere: bind-users@lists.isc.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: BIND Users Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: x330-a1.tempe.blueboxinc.net comp.protocols.dns.bind:74 On 11/9/2011 6:18 AM, Gaurav Kansal wrote: > Dear Sven, > > > > Client queries a name for Both A and AAAA records. > > Now, the thing is NAME exist but either A or AAAA doesn't exist for this. > Then how can a server reply that "no such name"?????? > > > > > > Thanks and Regards, > > Gaurav Kansal > > 9910118448 > > > > > > From: bind-users-bounces+gaurav.kansal=nic.in@lists.isc.org > [mailto:bind-users-bounces+gaurav.kansal=nic.in@lists.isc.org] On Behalf Of > Beisiegel, Sven > Sent: Wednesday, 09 November, 2011 3:04 PM > To: bind-users@lists.isc.org > Subject: Bind does not reply with "no such name" to A query > > at > > > Hi everyone, > I tried to find a solution to this using Google, but I failed. I'm wondering > if this is expected behavior of bind9 or if this is configurable. > > I have a domain configured and my server is the authoritative name server > for this domain. > My server is reachable via IPv4 and IPv6 address. > 2 records are configured like this: > > > > dls-koe.gvs.local. 2h A 192.168.100.251 > > dls-koe-v6.gvs.local. 2h AAAA 2001:4dd0:f9c0:100::251 > > > > I have clients that are running with IPv4 and IPv6 address at the same time > and are configured with one of the FQDNs above. When the client is sending a > query for one of the names, it directly sends an A and AAAA query. > Now for example: The client sends an A query for "dls-koe-v6.gvs.local", > which is only configured as AAAA record in the server. I now would expect > the server to reply with "no such name", but it doesn't. > Other example: The client sends an AAAA query for "dls-koe.gvs.local", which > is only configured as A record in the server. Same result. > > My question is: Why is bind not replying with "no such name" in this case? > Is this expected behavior? Maybe a configuration issue? > Guys, please read these questions more carefully. These are *different* names. dls-koe.gvs.local versus dls-koe-v6.gvs.local. The original poster's question is a valid one. Based on the information so far, he should be getting NXDOMAIN responses. I suspect these names are "non-terminal" (i.e. something is defined underneath them in the hierarchy, e.g. foo.dls-koe.gvs.local) and that's why he's getting NODATA instead of NXDOMAIN. Another possibility is that nslookup is doing some searchlisting and misreporting "no such name". It tends to do that. - Kevin P.S. To the original poster: you might want to avoid the TLD .local for regular DNS, since it's supposedly reserved for mDNS.