On Sat, 26 Feb 2011 14:57:25 +0000, 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.000000000 -0500
+++ /etc/hosts 2011-03-02 21:57:11.000000000 -0500
@@ -4,7 +4,7 @@
# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)
> . . . 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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: ikn1a9$9v$1@dough.gmane.org">http://lists.debian.org/ikn1a9$9v$1@dough.gmane.org
03-03-2011, 03:47 AM
elbbit
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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4D6F1D76.4070904@gmail.com">http://lists.debian.org/4D6F1D76.4070904@gmail.com
03-03-2011, 04:06 AM
Tom H
IPV6 DNS query
On Wed, Mar 2, 2011 at 10:18 PM, T o n g <mlist4suntong@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 aaaa
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTim5fOv6vVC1eDyTS=Fw+7Ft0mnNNdcjC+3j3QK_@mail .gmail.com">http://lists.debian.org/AANLkTim5fOv6vVC1eDyTS=Fw+7Ft0mnNNdcjC+3j3QK_@mail .gmail.com
03-03-2011, 04:39 AM
Tom H
IPV6 DNS query
On Wed, Mar 2, 2011 at 11:47 PM, elbbit <elbbit@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 aaaa query by default along the a query,
but not sure about this).
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTimvpZ6Lr=-NameYN-adPDnmkxirPjqmocyj=aGo@mail.gmail.com">http://lists.debian.org/AANLkTimvpZ6Lr=-NameYN-adPDnmkxirPjqmocyj=aGo@mail.gmail.com
03-03-2011, 11:26 AM
Nate Bargmann
IPV6 DNS query
* On 2011 02 Mar 23:40 -0600, Tom H wrote:
> On Wed, Mar 2, 2011 at 11:47 PM, elbbit <elbbit@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 aaaa 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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110303122627.GI4364@n0nb.us">http://lists.debian.org/20110303122627.GI4364@n0nb.us
03-03-2011, 12:19 PM
Tom H
IPV6 DNS query
On Thu, Mar 3, 2011 at 7:26 AM, Nate Bargmann <n0nb@n0nb.us> wrote:
> * On 2011 02 Mar 23:40 -0600, Tom H wrote:
>> On Wed, Mar 2, 2011 at 11:47 PM, elbbit <elbbit@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 aaaa 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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTimTxF=x+Pb8aPHWGdKQ6s6J2SZr698xrQvmkMeW@mail .gmail.com">http://lists.debian.org/AANLkTimTxF=x+Pb8aPHWGdKQ6s6J2SZr698xrQvmkMeW@mail .gmail.com
03-03-2011, 08:17 PM
Nate Bargmann
IPV6 DNS query
* On 2011 03 Mar 07:20 -0600, Tom H wrote:
> On Thu, Mar 3, 2011 at 7:26 AM, Nate Bargmann <n0nb@n0nb.us> wrote:
> > * On 2011 02 Mar 23:40 -0600, Tom H wrote:
> >> On Wed, Mar 2, 2011 at 11:47 PM, elbbit <elbbit@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 aaaa 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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110303211707.GB32315@n0nb.us">http://lists.debian.org/20110303211707.GB32315@n0nb.us
03-04-2011, 02:03 AM
T o n g
IPV6 DNS query
Thanks everyone for the replies, especially to Tom for the answer.
On Thu, 03 Mar 2011 04:47:50 +0000, 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
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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: ikpkpi$9v$2@dough.gmane.org">http://lists.debian.org/ikpkpi$9v$2@dough.gmane.org
03-04-2011, 09:21 AM
Chris Davies
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
T o n g <mlist4suntong@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 aaaa www.debian.org | grep '^www.*AAAA'
www.debian.org. 212 IN AAAA 2001:858:2:2:214:22ff:fe0d:7717
www.debian.org. 212 IN AAAA 2001:41b8:202:deb:216:35ff:fec4:6340
Chris
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: o2r648x1g8.ln2@news.roaima.co.uk">http://lists.debian.org/o2r648x1g8.ln2@news.roaima.co.uk