Re: Dig for link-local

2013-03-25 Thread Phil Mayers

On 25/03/13 17:13, Phil Mayers wrote:

On 25/03/13 16:20, Kevin Darcy wrote:

Works fine for me on RedHat 5.7 without a scope-identifier in
/etc/resolv.conf. I notice, however, that the stock dig
(9.3.6-P1-RedHat-9.3.6-16.P1.el5, yeah, I know I should upgrade) shows
the scope identifier in its output:

;; SERVER: fe80::250:56bf:fe8d:47b%2#53(fe80::250:56bf:fe8d:47b)

so it must be picking that up somehow along the way.


During testing I observed that the *first* dig to a previously-unused
link-local dest failed without a scope. After using a scope once, the LL
worked without a scope for a short period of time.

I didn't dig into why, but kernel routing cache seems the most likely
explanation.



"dig", geddit! Ha ha... sigh.

Yeah, further investigation shows entries like:

fe80::blah via fe80::blah dev eth0  metric 0
cache  mtu 1500 advmss 1440 hoplimit 4294967295

...in the output of "ip -6 route show table all". They seem to "live" 
for about 60 seconds, but my guess is that things like open TCP sockets 
or continuing activity will refresh them, so perhaps you have other 
stuff happening over link-local that's keeping these cache entries hot?


Regardless - link-local addresses without a scope are an error waiting 
to happen, IMO.

___
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


Re: Dig for link-local

2013-03-25 Thread Phil Mayers

On 25/03/13 16:20, Kevin Darcy wrote:

Works fine for me on RedHat 5.7 without a scope-identifier in
/etc/resolv.conf. I notice, however, that the stock dig
(9.3.6-P1-RedHat-9.3.6-16.P1.el5, yeah, I know I should upgrade) shows
the scope identifier in its output:

;; SERVER: fe80::250:56bf:fe8d:47b%2#53(fe80::250:56bf:fe8d:47b)

so it must be picking that up somehow along the way.


During testing I observed that the *first* dig to a previously-unused 
link-local dest failed without a scope. After using a scope once, the LL 
worked without a scope for a short period of time.


I didn't dig into why, but kernel routing cache seems the most likely 
explanation.

___
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


Re: Dig for link-local

2013-03-25 Thread Kevin Darcy
Works fine for me on RedHat 5.7 without a scope-identifier in 
/etc/resolv.conf. I notice, however, that the stock dig 
(9.3.6-P1-RedHat-9.3.6-16.P1.el5, yeah, I know I should upgrade) shows 
the scope identifier in its output:


;; SERVER: fe80::250:56bf:fe8d:47b%2#53(fe80::250:56bf:fe8d:47b)

so it must be picking that up somehow along the way.

- Kevin

On 3/25/2013 10:35 AM, Alok Raj wrote:

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






___
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


RE: Dig for link-local

2013-03-25 Thread Alok Raj
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


Re: Dig for link-local

2013-03-25 Thread Phil Mayers

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


RE: Dig for link-local

2013-03-25 Thread Alok Raj
Hi Sten,

Had tried with packet capture (WireShark), there is no request going out at 
all, so checking @ server side would not help, I suppose.
I referred book (IPv6 Advanced Protocols 
Implementation<http://read.pudn.com/downloads93/ebook/368831/IPv6ProtocolsImplementation/ipv6-advanced-protocols-implementation-the-morgan-kaufmann-series-in-networking.9780123704795.28081.pdf>),
 under section 3.4.7, authors mention about IPV6 reverse lookup, and say that 
link-local address should be ignored and a negative response is sent.  I am not 
sure the same is implemented for forward lookup too.

After trying out with dig/nslookup/host, I got confused how it is working there?

Glibc-resolver routines too use BIND, I suppose.

Thanks,
Alok

--Excerpts  from the book--
Ignore Link-Local Addresses
Listing 3-44
name6.c
1443 static struct hostent *
1444 _dns_ghbyaddr(const void *addr, int addrlen, int af, int *errp)
1445 {
1446 int n;
1447 struct hostent *hp;
1448 u_char c, *cp;
1449 char *bp;
1450 struct hostent hbuf;
1451 int na;
1453 static const char hex[] = "0123456789abcdef";
1455 querybuf *buf;
1456 char qbuf[MAXDNAME+1];
1457 char *hlist[2];
1458 char *tld6[
] = { "ip6.arpa", "ip6.int", NULL };
1459 char *tld4[
] = { "in-addr.arpa", NULL };
1460 char **tld;
1461
1463 /* XXX */
1464 if (af == AF_INET6 && IN6_IS_ADDR_LINKLOCAL((struct in6_addr *)addr))
1465 return NULL;
name6.c
1464-1465
If the given address is an IPv6 link-local address, a negative response is 
returned
without sending DNS queries. This check is actually meaningless, because all 
callers of
the function do the same check in this implementation



From: Sten Carlsen [mailto:st...@s-carlsen.dk]
Sent: Monday, March 25, 2013 5:13 PM
To: Alok Raj
Cc: car...@lacnic.net; Bryan Harris; bind-users@lists.isc.org
Subject: Re: Dig for link-local

One question is whether the server will listen and reply on all addresses or 
only on the global address?

I suggest you look into the log file from the server, often there are good 
clues there.

On 25/03/13 10: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.

  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: 
bind-users-bounces+alok.raj=spanservices@lists.isc.org<mailto:bind-users-bounces+alok.raj=spanservices@lists.isc.org>
 [mailto:bind-users-bounces+alok.raj=spanservices@lists.isc.org] On Behalf 
Of Carlos M. Martinez

Sent: Friday, March 22, 2013 9:57 PM

To: Bryan Harris

Cc: bind-users@lists.isc.org<mailto:bind-users@lists.isc.org>

Subject: Re: Dig for link-local



Transport has nothing to do with content in DNS. If your client asks for an 
 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  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:

Hello,



On Mar 22, 2013, at 12:13 PM, Kevin Darcy 
<mailto:k...@chrysler.com> wrote:



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; 
};"?



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 www.google.com<http://www.google.com> one of the addresses 
is ip6



Bryan

___

Please visit https://lists.isc.org/mailman/listinfo/bind-users to

unsubscribe from this list



bind-users mailing list

bind-users@lists.isc.org<mailto:bind-users@lists.isc.org>

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



___

Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list



bind-users mailing list

bind-users@lists.isc.org<mailto:bind-users@lists.

Re: Dig for link-local

2013-03-25 Thread Sten Carlsen
One question is whether the server will listen and reply on all
addresses or only on the global address?

I suggest you look into the log file from the server, often there are
good clues there.


On 25/03/13 10: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.
>   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: bind-users-bounces+alok.raj=spanservices@lists.isc.org 
> [mailto:bind-users-bounces+alok.raj=spanservices@lists.isc.org] On Behalf 
> Of Carlos M. Martinez
> Sent: Friday, March 22, 2013 9:57 PM
> To: Bryan Harris
> Cc: bind-users@lists.isc.org
> Subject: Re: Dig for link-local
>
> Transport has nothing to do with content in DNS. If your client asks for an 
>  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  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:
>> Hello,
>>
>> On Mar 22, 2013, at 12:13 PM, Kevin Darcy  wrote:
>>
>>> 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; };"? 
>> 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 www.google.com one of the addresses is ip6
>>
>> Bryan
>> ___
>> 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
>>
> ___
> 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

-- 
Best regards

Sten Carlsen

No improvements come from shouting:
   "MALE BOVINE MANURE!!!"

___
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

RE: Dig for link-local

2013-03-25 Thread Alok Raj
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: bind-users-bounces+alok.raj=spanservices@lists.isc.org 
[mailto:bind-users-bounces+alok.raj=spanservices@lists.isc.org] On Behalf 
Of Carlos M. Martinez
Sent: Friday, March 22, 2013 9:57 PM
To: Bryan Harris
Cc: bind-users@lists.isc.org
Subject: Re: Dig for link-local

Transport has nothing to do with content in DNS. If your client asks for an 
 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  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:
> Hello,
> 
> On Mar 22, 2013, at 12:13 PM, Kevin Darcy  wrote:
> 
>> 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; };"? 
> 
> 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 www.google.com one of the addresses is ip6
> 
> Bryan
> ___
> 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
> 
___
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


Re: Dig for link-local

2013-03-22 Thread Carlos M. Martinez
Transport has nothing to do with content in DNS. If your client asks for
an  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  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:
> Hello,
> 
> On Mar 22, 2013, at 12:13 PM, Kevin Darcy  wrote:
> 
>> 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; };"? 
> 
> 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 www.google.com one of the addresses is ip6
> 
> Bryan
> ___
> 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
> 
___
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


Re: Dig for link-local

2013-03-22 Thread Bryan Harris
Hello,

On Mar 22, 2013, at 12:13 PM, Kevin Darcy  wrote:

> 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; 
> };"? 

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 
www.google.com one of the addresses is ip6

Bryan
___
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


Re: Dig for link-local

2013-03-22 Thread Carlos M. Martinez
link-locals are not that special, with the exception of the %
decorator... other than that, they work exactly like any other address.

Bind/Apache/ will listen on link locals and
they can be used as route next-hops too.

regards,

~Carlos

On 3/22/13 1:13 PM, Kevin Darcy wrote:
> 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; };"?
> 
>
> - Kevin
> On 3/22/2013 5:35 AM, Alok Raj wrote:
>>
>> Hi,
>>
>>  
>>
>> How dig-command is able to resolve an ip using link-local address,
>> /etc/resolv.conf has only one entry – ipv6-link link local address, if
>> I write dig www.domain.com , it is able to
>> resolve that and print the address.
>>
>>  
>>
>> Can anyone help me out in documentation or code please?
>>
>> Thanks,
>>
>> Alok
>>
>>  
>>
>> 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
> 
> 
> 
> ___
> 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
> 
___
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


Re: Dig for link-local

2013-03-22 Thread Kevin Darcy
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; };"?


- Kevin
On 3/22/2013 5:35 AM, Alok Raj wrote:


Hi,

How dig-command is able to resolve an ip using link-local address, 
/etc/resolv.conf has only one entry -- ipv6-link link local address, 
if I write dig www.domain.com , it is able to 
resolve that and print the address.


Can anyone help me out in documentation or code please?

Thanks,

Alok

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


___
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

Dig for link-local

2013-03-22 Thread Alok Raj
Hi,

How dig-command is able to resolve an ip using link-local address, 
/etc/resolv.conf has only one entry - ipv6-link link local address, if I write 
dig www.domain.com, it is able to resolve that and print 
the address.

Can anyone help me out in documentation or code please?
Thanks,
Alok

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