IRIX and Software

IPv6 and IRIX

Hi,

For whatever reason, we're investigating/learning IPv6 on our (me + friend of mine) lab network where a couple of x86, sparc, alpha and of course mips machines are running. IPv6 under Linux/x86 seems pretty solid:

Code: Select all

root@magna:/# host -t AAAA ipv6.google.com
ipv6.google.com is an alias for ipv6.l.google.com.
ipv6.l.google.com has IPv6 address 2001:4860:a003::68
root@magna:/# host 2001:4860:a003::68
8.6.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.3.0.0.a.0.6.8.4.1.0.0.2.ip6.arpa domain name pointer fx-in-x68.google.com.
root@magna:/#

However, doing the same thing under IRIX seems rather broken?

Code: Select all

speedo 2# host -t AAAA ipv6.google.com
ipv6.google.com is an alias for ipv6.l.google.com.
ipv6.l.google.com has AAAA address 2001:4860:a003::68
speedo 3# host 2001:4860:a003::68
Host \[x20014860A00300000000000000000068/128].ip6.arpa not found: 1(FORMERR)
speedo 4#

Anyone have a clue what's going on?

Further oddities:

Code: Select all

speedo 5# host -n 2001:4860:a003::68
Host 8.6.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.3.0.0.a.0.6.8.4.1.0.0.2.ip6.int not found: 3(NXDOMAIN)
speedo 6#

...which seems about right. IP6.INT is obsolete.
:O3200: :Fuel: :Indy: :O3x02L:
I don't see anything wrong on 6.5.30

Code: Select all

julien@speedy > uname -R
6.5 6.5.30m
julien@speedy > host -t AAAA ipv6.google.com
ipv6.google.com is an alias for ipv6.l.google.com.
ipv6.l.google.com has IPv6 address 2001:4860:a003::68
julien@speedy > host 2001:4860:a003::68
8.6.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.3.0.0.a.0.6.8.4.1.0.0.2.ip6.arpa domain name pointer fx-in-x68.google.com.
julien@speedy > host -n 2001:4860:a003::68
8.6.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.3.0.0.a.0.6.8.4.1.0.0.2.ip6.arpa domain name pointer fx-in-x68.google.com.
:Onyx2: :O2: :O3x0: :O3x0:
Not so good on 6.5.22m on an Indy...

Code: Select all

bash-2.05b$ uname -R
6.5 6.5.22m
bash-2.05b$ host -t AAAA ipv6.google.com
ipv6.google.com is an alias for ipv6.l.google.com.
ipv6.l.google.com has AAAA address 2001:4860:b002::68
bash-2.05b$ host 2001:4860:a003::68
Host \[x20014860A00300000000000000000068/128].ip6.arpa not found: 1(FORMERR)
bash-2.05b$ host -n 2001:4860:a003::68
Host 8.6.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.3.0.0.a.0.6.8.4.1.0.0.2.ip6.int not found: 3(NXDOMAIN)
Land of the Long White Cloud and no Software Patents.
See:

viewtopic.php?f=7&t=5386&p=40583&#p40583

... for IRIX 6.5.22 fix.
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.
6.5.30m you say...
I'm running 6.5.30 f , in case that makes any difference?

I've already added IPv6-related in nsswitch.conf:

Code: Select all

ipnodes:                dns(ip6_rtld="ip6.arpa.") files

It looks like it's "sort of" working, but the reverse-IP6 lookup still doesn't.

nekonoko : I don't see a link to a patch somewhere in that thread? The thread involves a whole other issue where in older versions of IRIX they pointed to IP6.INT (which is deprecated by now) instead of IP6.ARPA. This is fixed in later versions of IRIX:

Code: Select all

speedo 7# strings /var/ns/lib/libns_dns.so | grep ip6
ip6.arpa.
ip6_rtld
speedo 8#

Infact, we're using IP6.ARPA already:

Code: Select all

speedo 11# host 2001:4860:a003::68
Host \[x20014860A00300000000000000000068/128].ip6.arpa not found: 1(FORMERR)
speedo 12#


I'm beginning to think the 'host' utility is broken? (FORMERR message seems obvious, = Format Error)
Any other ideas?

bplaa.yai : How did you set up you IPv6 that could differ from mine? Could you provide a 'cksum' of /usr/sbin/host?

Code: Select all

speedo 25# cksum /usr/sbin/host
3313214999 1299676 /usr/sbin/host
speedo 26#
:O3200: :Fuel: :Indy: :O3x02L:
ramq wrote: bplaa.yai : How did you set up you IPv6 that could differ from mine?

I didn't setup anything special for ipv6. It's just a stock install in this regard.
ramq wrote: Could you provide a 'cksum' of /usr/sbin/host?

Code: Select all

speedo 25# cksum /usr/sbin/host
3313214999 1299676 /usr/sbin/host
speedo 26#

We're indeed not using the same binary :

Code: Select all

julien@speedy > cksum /usr/sbin/host
442620923 1689916 /usr/sbin/host
:Onyx2: :O2: :O3x0: :O3x0:
ramq wrote: The thread involves a whole other issue where in older versions of IRIX they pointed to IP6.INT (which is deprecated by now) instead of IP6.ARPA. This is fixed in later versions of IRIX:


That was more in reply to porter; as he's running 6.5.22 and it is known to be broken in that regard. You didn't indicate which version of IRIX you were using, so it was hard to say one way or another if that was something you needed to look at as well.
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.
nekonoko wrote: That was more in reply to porter; as he's running 6.5.22 and it is known to be broken in that regard. You didn't indicate which version of IRIX you were using, so it was hard to say one way or another if that was something you needed to look at as well.

Ah. My mistake.
:O3200: :Fuel: :Indy: :O3x02L: