Subject: Re: telnet -4 command switches on IPv4 mode for other apps
To: Andreas Ha?feld <andreas@hassfeld.net>
From: Alasdair <alasdair@iprimus.com.au>
List: netbsd-users
Date: 02/09/2007 20:11:47
On Thu, Feb 08, 2007 at 01:32:05PM +0100, Andreas Ha?feld wrote:
> >
> >Hi,
> >
> >Here is the result of your suggestion, could you translate it's
> >significance to my problem, my knowledge is very weak in this area.
> >
> >$ dig -4 smtp.iprimus.com.au
> >
> >; <<>> DiG 9.3.0 <<>> -4 smtp.iprimus.com.au
> >;; global options: printcmd
> >;; Got answer:
> >;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58010
> >;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
> >
> >;; QUESTION SECTION:
> >;smtp.iprimus.com.au. IN A
> >
> >;; ANSWER SECTION:
> >smtp.iprimus.com.au. 89 IN A 202.138.53.12
> >
> >;; Query time: 24 msec
> >;; SERVER: 192.168.1.254#53(192.168.1.254)
> >;; WHEN: Thu Feb 8 23:06:42 2007
> >;; MSG SIZE rcvd: 53
> >
> >$ dig -6 smtp.iprimus.com.au
> >/home/builds/ab/netbsd-3-0-1-RELEASE/src/dist/bind/lib/isc/unix/socket.c:1121: i
> >nternal_send: ::ffff:192.168.1.254#53: Invalid argument
> >/home/builds/ab/netbsd-3-0-1-RELEASE/src/dist/bind/lib/isc/unix/socket.c:1121: i
> >nternal_send: ::ffff:192.168.1.254#53: Invalid argument
> >/home/builds/ab/netbsd-3-0-1-RELEASE/src/dist/bind/lib/isc/unix/socket.c:1121: i
> >nternal_send: ::ffff:192.168.1.254#53: Invalid argument
> >
> >; <<>> DiG 9.3.0 <<>> -6 smtp.iprimus.com.au
> >;; global options: printcmd
> >;; connection timed out; no servers could be reached
> >$ dig -4 smtp.iprimus.com.au
> >
> >; <<>> DiG 9.3.0 <<>> -4 smtp.iprimus.com.au
> >;; global options: printcmd
> >;; Got answer:
> >;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21399
> >;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
> >
> >;; QUESTION SECTION:
> >;smtp.iprimus.com.au. IN A
> >
> >;; ANSWER SECTION:
> >smtp.iprimus.com.au. 10000 IN A 202.138.53.12
> >
> >;; Query time: 2 msec
> >;; SERVER: 192.168.1.254#53(192.168.1.254)
> >;; WHEN: Thu Feb 8 23:10:13 2007
> >;; MSG SIZE rcvd: 53
> >
> >Regards,
> >
> >Alasdair
> >
>
> I am sorry, I posted my correction just to myself. ;-)
>
> > dig -4 smtp.iprimus.com.au
> > dig -6 smtp.iprimus.com.au
> > dig -4 smtp.iprimus.com.au
> >
>
> Sorry, that's what i meant:
>
> dig -t A smtp.iprimus.com.au
> dig -t AAAA smtp.iprimus.com.au
> dig -t A smtp.iprimus.com.au
>
> Yours,
> Andreas
No problem Andreas, I am very grateful for the help!
Here is the output of
dig -t A smtp.iprimus.com.au
dig -t AAAA smtp.iprimus.com.au
dig -t A smtp.iprimus.com.au
$ dig -t A smtp.iprimus.com.au
; <<>> DiG 9.3.0 <<>> -t A smtp.iprimus.com.au
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39338
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;smtp.iprimus.com.au. IN A
;; ANSWER SECTION:
smtp.iprimus.com.au. 26 IN A 202.138.53.12
;; Query time: 26 msec
;; SERVER: 192.168.1.254#53(192.168.1.254)
;; WHEN: Fri Feb 9 17:41:14 2007
;; MSG SIZE rcvd: 53
$ dig -t AAAA smtp.iprimus.com.au
;; Warning: Message parser reports malformed message packet.
; <<>> DiG 9.3.0 <<>> -t AAAA smtp.iprimus.com.au
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31394
;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;smtp.iprimus.com.au. IN AAAA
;; Query time: 2 msec
;; SERVER: 192.168.1.254#53(192.168.1.254)
;; WHEN: Fri Feb 9 17:41:32 2007
;; MSG SIZE rcvd: 37
$ dig -t A smtp.iprimus.com.au
; <<>> DiG 9.3.0 <<>> -t A smtp.iprimus.com.au
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1541
;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;smtp.iprimus.com.au. IN A
;; ANSWER SECTION:
smtp.iprimus.com.au. 10000 IN A 202.138.53.12
;; Query time: 2 msec
;; SERVER: 192.168.1.254#53(192.168.1.254)
;; WHEN: Fri Feb 9 17:42:04 2007
;; MSG SIZE rcvd: 53