<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFCC" text="#000000">
    One question is whether the server will listen and reply on all
    addresses or only on the global address?<br>
    <br>
    I suggest you look into the log file from the server, often there
    are good clues there.<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 25/03/13 10:19, Alok Raj wrote:<br>
    </div>
    <blockquote
cite="mid:EF5C5095CB6441439CF97B4550C784A3016DEF4E@ITSW01.spanservices.com"
      type="cite">
      <pre wrap="">Hi Guys,

Basically I am trying to do the following:

        1) If I use link-local ipv6 address (of domain controller) in my resolv.conf, my resolver routines (glibc 2.13) is not able to resolve a domain name to an ip address, though I am able to ping that link-
             local ipv6 address.
        2) If I use global ipv6 address(of domain controller) in my resolv.conf, it works fine!
        3) So I wondered, how dig/nslookup/host- commands are able to get a name resolved when there is only one entry @ /etc/resolv.conf and that entry is an ipv6 link-local address of domain 
            controller.
        4) I have downloaded the BIND9 code and am looking into it.
        5) Similarly if I ping using ping6, my domain name gets resolved if global ipv6 address in resolv.conf; not resolved if link-local ipv6 address.

If my doubts sound trivial, I am sorry, I am very new to the above concepts.

Thanks,
Alok



-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:bind-users-bounces+alok.raj=spanservices.com@lists.isc.org">bind-users-bounces+alok.raj=spanservices.com@lists.isc.org</a> [<a class="moz-txt-link-freetext" href="mailto:bind-users-bounces+alok.raj=spanservices.com@lists.isc.org">mailto:bind-users-bounces+alok.raj=spanservices.com@lists.isc.org</a>] On Behalf Of Carlos M. Martinez
Sent: Friday, March 22, 2013 9:57 PM
To: Bryan Harris
Cc: <a class="moz-txt-link-abbreviated" href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a>
Subject: Re: Dig for link-local

Transport has nothing to do with content in DNS. If your client asks for an AAAA record it will get the appropriate answer according to the zone's records (a value or an error condition) regardless on whether the query was made over IPv6 or IPv4.

That said, you can 'hack' around this expected behavior (see 'no AAAA on
ipv4') in order to help hosts with broken IPv6 connectivity, but you have to enable it.

regards,

~Carlos

On 3/22/13 1:19 PM, Bryan Harris wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hello,

On Mar 22, 2013, at 12:13 PM, Kevin Darcy <a class="moz-txt-link-rfc2396E" href="mailto:kcd@chrysler.com"><kcd@chrysler.com></a> wrote:

</pre>
        <blockquote type="cite">
          <pre wrap="">I'm not sure what you're asking, exactly. Are you surprised that named would respond on an IPv6 link-local address if configured with "listen-on-v6 { any; };"? 
</pre>
        </blockquote>
        <pre wrap="">
Can an ipv4-only server give an ipv6 address as part of an overall 
answer to a dig?  E.g. Our servers recurse to get outside addresses, 
and when I query for <a class="moz-txt-link-abbreviated" href="http://www.google.com">www.google.com</a> one of the addresses is ip6

Bryan
_______________________________________________
Please visit <a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a> to 
unsubscribe from this list

bind-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a>

</pre>
      </blockquote>
      <pre wrap="">_______________________________________________
Please visit <a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list

bind-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a>
DISCLAIMER: This email message and all attachments are confidential and may contain information that is Privileged, Confidential or exempt from disclosure under applicable law. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this email is strictly prohibited.  If you have received this email in error, please notify us immediately by return email to <a class="moz-txt-link-abbreviated" href="mailto:mailadmin@spanservices.com">mailadmin@spanservices.com</a> and destroy the original message.  Opinions, conclusions and other information in this message that do not relate to the official of SPAN, shall be understood to be nether given nor endorsed by SPAN.

_______________________________________________
Please visit <a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list

bind-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Best regards

Sten Carlsen

No improvements come from shouting:
       "MALE BOVINE MANURE!!!"
</pre>
  </body>
</html>