On Tue, Jun 18, 2002 at 12:32:45PM +0200, Matthias Andree wrote:
"Michael H. Warfield" <mhw(_at_)wittsend(_dot_)com> writes:
I just started rolling IPv6 into production and discovered
that, even when compiled with --enable-inet6, fetchmail complains
that it can not obtain the canonical name of a host if it's IPv6 only
(I have my DNS separated into IPv4, IPv6 global, and IPv6 site local
for testing). Seems to be a problem with "gethostbyname()". I'm
still exploring that to find out why.
Not using IPv6 myself, but:
- does your resolver try IPv6 at all? (nsswitch.conf)?
- does your DNS software use and answer to AAAA queries?
] [mhw(_at_)chaos mhw]$ fetchmail
] fetchmail: No mail for mhw at email.iss.net
] fetchmail: couldn't find canonical DNS name of alcove.ip6.wittsend.com
] fetchmail: Query status=11 (DNS)
] [mhw(_at_)chaos mhw]$ host alcove.ip6.wittsend.com
] Host alcove.ip6.wittsend.com not found: 2(SERVFAIL)
] [mhw(_at_)chaos mhw]$ host -t AAAA alcove.ip6.wittsend.com
] alcove.ip6.wittsend.com has AAAA address 3ffe:b80:c84:8200:2a0:24ff:feda:d2f3
I'm also connected to alcove.ip6.wittsend.com from chaos.iss.net
over ssh using IPv6.
] [mhw(_at_)alcove mhw]$ who
]
] mhw pts/4 Jun 18 08:46 (3ffe:b80:c84:d1a6:2d0:b7ff:fe09:2aea)
] mhw pts/5 Jun 18 08:46 (3ffe:b80:c84:d1a6:2d0:b7ff:fe09:2aea)
] mhw pts/6 Jun 18 08:47 (3ffe:b80:c84:d1a6:2d0:b7ff:fe09:2aea)
] mhw pts/7 Jun 18 08:47 (3ffe:b80:c84:d1a6:2d0:b7ff:fe09:2aea)
] [mhw(_at_)alcove mhw]$ netstat -nt
] Active Internet connections (w/o servers)
] Proto Recv-Q Send-Q Local Address Foreign Address State
] tcp 0 976 3ffe:b80:c84:8200:2a:22 3ffe:b80:c84:d1a6:38564 ESTABLISHED
] tcp 0 0 3ffe:b80:c84:8200:2a:22 3ffe:b80:c84:d1a6:38565 ESTABLISHED
] tcp 0 0 3ffe:b80:c84:8200:2a:22 3ffe:b80:c84:d1a6:38539 ESTABLISHED
] tcp 0 0 3ffe:b80:c84:8200:2a:22 3ffe:b80:c84:d1a6:38540 ESTABLISHED
And I can reach some IPv6 only web servers I have set up and
some IPv6-only web servers which I know of out on the 6Bone.
So that would be a yes to both.
Ooopppsss... Forgot to note one other thing:
[mhw(_at_)chaos mhw]$ fetchmail -V
This is fetchmail release 5.9.12+SSL+INET6
Linux chaos.iss.net 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 unknown
Taking options from command line and /home/mhw/.fetchmailrc
Built with SSL and INET6
--
Matthias Andree
Mike
--
Michael H. Warfield | (770) 985-6132 | mhw(_at_)WittsEnd(_dot_)com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!