Re: IPV6 DNS query
:~$ host -6 www.debian.org www.debian.org has IPv6 address 2001:41b8:202:deb:216:35ff:fec4:6340 www.debian.org has IPv6 address 2001:858:2:2:214:22ff:fe0d:7717 $ dig www.debian.org ;; ANSWER SECTION: www.debian.org. 218 IN2607:f8f0:610:4000:211:25ff:fec4:5b28 T o n g mlist4sunt...@yahoo.com wrote: I was expecting that the answer will be one of the previous www.debian.org has IPv6 address... Any explanation to this? When I try this (against IPv4 servers - my IPv6 connection isn't yet active) I get the same two IPv6 addresses for each type of question: $ host www.debian.org | grep IPv6 www.debian.org has IPv6 address 2001:41b8:202:deb:216:35ff:fec4:6340 www.debian.org has IPv6 address 2001:858:2:2:214:22ff:fe0d:7717 $ dig +aaonly www.debian.org | grep '^www.*' www.debian.org. 212 IN2001:858:2:2:214:22ff:fe0d:7717 www.debian.org. 212 IN2001:41b8:202:deb:216:35ff:fec4:6340 Chris -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/o2r648x1g8@news.roaima.co.uk
Re: IPV6 DNS query
* On 2011 02 Mar 23:40 -0600, Tom H wrote: On Wed, Mar 2, 2011 at 11:47 PM, elbbit elb...@gmail.com wrote: On 03/03/11 03:18, T o n g wrote: So, how to do IPV6 DNS query? host -6 hostname host -6 (and dig -6) use ipv6 to make the query but don't run an ipv6 query (unless they do an query by default along the a query, but not sure about this). I'm running DNSmasq as an IPv4 caching DNS on my OpenWRT router for my LAN and the -6 switch fails. Meanwhile, not using the -6 switch does resolve IPv6 host names. I guess I need to figure out how to teach DNSmasq to be an IPv6 DNS cache for my LAN as well. - Nate -- The optimist proclaims that we live in the best of all possible worlds. The pessimist fears this is true. Ham radio, Linux, bikes, and more: http://www.n0nb.us -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110303122627.gi4...@n0nb.us
Re: IPV6 DNS query
On Thu, Mar 3, 2011 at 7:26 AM, Nate Bargmann n...@n0nb.us wrote: * On 2011 02 Mar 23:40 -0600, Tom H wrote: On Wed, Mar 2, 2011 at 11:47 PM, elbbit elb...@gmail.com wrote: On 03/03/11 03:18, T o n g wrote: So, how to do IPV6 DNS query? host -6 hostname host -6 (and dig -6) use ipv6 to make the query but don't run an ipv6 query (unless they do an query by default along the a query, but not sure about this). I'm running DNSmasq as an IPv4 caching DNS on my OpenWRT router for my LAN and the -6 switch fails. Meanwhile, not using the -6 switch does resolve IPv6 host names. I guess I need to figure out how to teach DNSmasq to be an IPv6 DNS cache for my LAN as well. I think that you've misunderstood what I said. The -6 is to force the query to use ipv6 networking so, if your network isn't ipv6-enabled, the query will fail. You can use ipv4 networking to query a server for an ipv6 address. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/AANLkTimTxF=x+pb8aphwgdkq6s6j2szr698xrqvmk...@mail.gmail.com
Re: IPV6 DNS query
* On 2011 03 Mar 07:20 -0600, Tom H wrote: On Thu, Mar 3, 2011 at 7:26 AM, Nate Bargmann n...@n0nb.us wrote: * On 2011 02 Mar 23:40 -0600, Tom H wrote: On Wed, Mar 2, 2011 at 11:47 PM, elbbit elb...@gmail.com wrote: On 03/03/11 03:18, T o n g wrote: So, how to do IPV6 DNS query? host -6 hostname host -6 (and dig -6) use ipv6 to make the query but don't run an ipv6 query (unless they do an query by default along the a query, but not sure about this). I'm running DNSmasq as an IPv4 caching DNS on my OpenWRT router for my LAN and the -6 switch fails. Meanwhile, not using the -6 switch does resolve IPv6 host names. I guess I need to figure out how to teach DNSmasq to be an IPv6 DNS cache for my LAN as well. I think that you've misunderstood what I said. The -6 is to force the query to use ipv6 networking so, if your network isn't ipv6-enabled, the query will fail. I understood, perhaps I didn't convey that aspect. At the moment I don't have an IPv6 namserver running locally so the -6 failed. I may need to tell radvd to pass an IPv6 DNS server from the tunnel broker if that is possible. You can use ipv4 networking to query a server for an ipv6 address. That's what I'm relying on at the moment. Thanks! - Nate -- The optimist proclaims that we live in the best of all possible worlds. The pessimist fears this is true. Ham radio, Linux, bikes, and more: http://www.n0nb.us -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110303211707.gb32...@n0nb.us
Re: IPV6 DNS query
Thanks everyone for the replies, especially to Tom for the answer. On Thu, 03 Mar 2011 04:47:50 +, elbbit wrote: :~$ host -6 www.debian.org www.debian.org has address 86.59.118.148 www.debian.org has address 82.195.75.97 www.debian.org has IPv6 address 2001:41b8:202:deb:216:35ff:fec4:6340 www.debian.org has IPv6 address 2001:858:2:2:214:22ff:fe0d:7717 $ dig www.debian.org ; DiG 9.7.1-P2 www.debian.org ;; global options: +cmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 56784 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.debian.org.IN ;; ANSWER SECTION: www.debian.org. 218 IN 2607:f8f0:610:4000:211:25ff:fec4:5b28 ;; Query time: 38 msec ;; SERVER: 192.168.2.100#53(192.168.2.100) ;; WHEN: Thu Mar 3 21:58:14 2011 ;; MSG SIZE rcvd: 60 I was expecting that the answer will be one of the previous www.debian.org has IPv6 address... Any explanation to this? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ikpkpi$9v$2...@dough.gmane.org
IPV6 DNS query
On Sat, 26 Feb 2011 14:57:25 +, T o n g wrote: using hostname for remote host NOK tong@coral:~$ ssh -C -A -X -p 21 -o UserKnownHostsFile=/tmp/32083.tmpf.32124.uknf maroon -v OpenSSH_5.5p1 Debian-4ubuntu4, OpenSSL 0.9.8o 01 Jun 2010 debug1: Reading configuration data /home/tong/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to maroon [::1] port 21. debug1: Connection established. . . . I.e., instead of connecting to remote host maroon, the ssh session connected to my local host (coral) instead (using IPV6?). This is so weird, I never see this before. Found and fixed the problem: $ diff -wU 3 /etc/hosts~ /etc/hosts --- /etc/hosts~ 2011-02-16 22:13:00.0 -0500 +++ /etc/hosts 2011-03-02 21:57:11.0 -0500 @@ -4,7 +4,7 @@ # The following lines are desirable for IPv6 capable hosts # (added automatically by netbase upgrade) -::1 ip6-localhost ip6-loopback maroon.my.local.domain +::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes . . . DNS name look up seems to be fine: tong@coral:~$ dig maroon ; DiG 9.7.1-P2 maroon ;; global options: +cmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 19913 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;maroon.IN A ;; ANSWER SECTION: maroon. 0 IN A 192.168.2.100 ;; Query time: 0 msec ;; SERVER: 192.168.2.100#53(192.168.2.100) ;; WHEN: Sat Feb 26 09:22:39 2011 ;; MSG SIZE rcvd: 40 tong@coral:~$ ping maroon PING maroon.my.local.domain (192.168.2.100) 56(84) bytes of data. 64 bytes from maroon.my.local.domain (192.168.2.100): icmp_req=1 ttl=64 time=0.113 ms 64 bytes from maroon.my.local.domain (192.168.2.100): icmp_req=2 ttl=64 time=0.147 ms ^C If I knew how to do IPV6 DNS query, I might have prevented the problem. So, how to do IPV6 DNS query? Thanks. -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ikn1a9$9v$1...@dough.gmane.org
Re: IPV6 DNS query
On 03/03/11 03:18, T o n g wrote: So, how to do IPV6 DNS query? host -6 hostname Such as: :~$ host -6 www.debian.org www.debian.org has address 86.59.118.148 www.debian.org has address 82.195.75.97 www.debian.org has IPv6 address 2001:41b8:202:deb:216:35ff:fec4:6340 www.debian.org has IPv6 address 2001:858:2:2:214:22ff:fe0d:7717 :~$ elbbit -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4d6f1d76.4070...@gmail.com
Re: IPV6 DNS query
On Wed, Mar 2, 2011 at 10:18 PM, T o n g mlist4sunt...@yahoo.com wrote: If I knew how to do IPV6 DNS query, I might have prevented the problem. So, how to do IPV6 DNS query? dig maroon -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/AANLkTim5fOv6vVC1eDyTS=fw+7ft0mnnndcjc+3j3...@mail.gmail.com
Re: IPV6 DNS query
On Wed, Mar 2, 2011 at 11:47 PM, elbbit elb...@gmail.com wrote: On 03/03/11 03:18, T o n g wrote: So, how to do IPV6 DNS query? host -6 hostname host -6 (and dig -6) use ipv6 to make the query but don't run an ipv6 query (unless they do an query by default along the a query, but not sure about this). -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/AANLkTimvpZ6Lr=-NameYN-adPDnmkxirPjqmocyj=a...@mail.gmail.com