Friedemann Stoyan wrote:
> Hallo Liste,
> 
> Ich frage mich gerade, welchen esoterischen Algorithmus die glibc
> verwendet, um die Reihenfolge IPv6/IPv4 zu bestimmen. Konkret geht es um
> folgendes Verhalten:
> 
> Randbedingung: Debian 4.0 (Etch), Dualstack

Welches glibc und welches resolver (nscd,pdns,bind) ?

> Fall1:
> 
> $ host -t any news.lab.swapon.de
> news.lab.swapon.de has IPv6 address 2001:6f8:12ec:10::119
> news.lab.swapon.de has address 192.168.17.119
> 
> $ telnet news.lab.swapon.de 120
> Trying 192.168.17.119...
> Trying 2001:6f8:12ec:10::119...

Hmm....

$ host -t any news.lab.swapon.de
news.lab.swapon.de      AAAA    2001:6F8:12EC:10:0:0:0:119

$ host -t a news.lab.swapon.de
news.lab.swapon.de A record currently not present

Hast du etwas in /etc/hosts, da die haben preferanz uber DNS.

Bei mir geht es richtig:

$ telnet news.ipv46.swapon.de 120
Trying 2001:6f8:12ec::3...
Trying 81.169.139.143...
telnet: Unable to connect to remote host: Connection refused


Auch viel spass ist "localhost", da Debian nur 127.0.0.1 == localhost in
/etc/hosts hast aber kein ::1, welches nach ip6-localhost geht.
Siehe auch: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=427067

Greets,
 Jeroen

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
ipv6 mailing list
[email protected]
http://listserv.uni-muenster.de/mailman/listinfo/ipv6

Antwort per Email an