Hi Phil

This is really awesome! 
It works for me, my own glibc-2.3 is able to resolve the domain name and fetch 
me an ip address.

I had re'd that scope concept in link-local, but was not sure about using it in 
resolv.conf.

Thank you all for replying.

God bless you!!

Thanks,
Alok



-----Original Message-----
From: bind-users-bounces+alok.raj=spanservices....@lists.isc.org 
[mailto:bind-users-bounces+alok.raj=spanservices....@lists.isc.org] On Behalf 
Of Phil Mayers
Sent: Monday, March 25, 2013 5:57 PM
To: bind-users@lists.isc.org
Subject: Re: Dig for link-local

On 25/03/13 09:19, Alok Raj wrote:
> 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.

Have you specified the "scope" in the link-local address i.e.

fe80::xxx%eth0

...or similar? Link-locals cannot be used without a scope. For example:

# dig @fe80::blah www.ic.ac.uk

; <<>> DiG 9.8.3-P4-RedHat-9.8.3-5.P4.el5 <<>> @fe80::blah www.ic.ac.uk ; (1 
server found) ;; global options: +cmd ;; connection timed out; no servers could 
be reached

...fails, but then this:

# dig @fe80::blah%eth0 www.ic.ac.uk

; <<>> DiG 9.8.3-P4-RedHat-9.8.3-5.P4.el5 <<>> @fe80::blah%eth0 www.ic.ac.uk ; 
(1 server found) ;; global options: +cmd ;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32643 ;; flags: qr aa rd 
ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 7

...works. This is basic IPv6, and not dig-specific.
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
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 mailad...@spanservices.com 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 https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to