Nslookup löst nur ipv4 auf

  • Hallo,


    Wenn ich unter Linux nslookup verwende, löst er mir statt A und AAAA nur A auf.


    Code
    root@marie:~# nslookup google.com
    Server:         9.9.9.10
    Address:        9.9.9.10#53
    
    Non-authoritative answer:
    Name:   google.com
    Address: 216.58.205.46
    
    root@marie:~#

    Zudem benutzt er immer einen IPv4 DNS server ...

    Code
    root@marie:~# nslookup ipv6.google.com
    Server:         9.9.9.10
    Address:        9.9.9.10#53
    
    Non-authoritative answer:
    ipv6.google.com canonical name = ipv6.l.google.com.
    
    root@marie:~#

    Meine resolv.conf sieht so aus:


    Code
    root@marie:~# cat /etc/resolv.conf
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    nameserver 9.9.9.10
    nameserver 2620:fe::fe
    nameserver 8.8.8.8
    root@marie:~#

    Mit dig kann ich problemlos IPv6 Adressen auflösen ...


  • Sorry, aber RTFM: nslookup(1)



    Du denkst vermutlich an host(1)

    Code
    user@host:~# host google.com
    google.com has address 172.217.18.14
    google.com has IPv6 address 2a00:1450:400e:805::200e
    google.com mail is handled by 10 aspmx.l.google.com.
    google.com mail is handled by 50 alt4.aspmx.l.google.com.
    google.com mail is handled by 20 alt1.aspmx.l.google.com.
    google.com mail is handled by 30 alt2.aspmx.l.google.com.
    google.com mail is handled by 40 alt3.aspmx.l.google.com.