has anybody a hint for me, how I can use nslookup to get either IPv6 AAAA only or both A and AAAA entries when doing this:
# nslookup www.example.com
Did your google break?
For just IPv6
This is bad advice, because in DNS, ANY != ALL
If you query with qtype=any, and you ask a caching resolver, then it will return to you all the records that are in its cache at that time, which may or may not include the records you want.
In order to definitively get the A as well as the AAAA records, one needs to ask for them specifically:
nslookup -type=any http://www.google.com
shows only IPv6, when having done nalookup -type
Thanks this brings light in the dark …
As I said: For all records. Reading comprehension can be important.
probably because its a CNAME, and points to a different domain, and nslookup isn’t following that.
$ nslookup -query=any http://www.bipa.at Server: xxx.xxx.xxx.xxx Address: xxx.xxx.xxx.xxx#53
http://www.bipa.at canonical name = http://www.bipa.at.cdn.cloudflare.net.
Authoritative answers can be found from:
bipa.at nameserver = dns2.telekom.at. bipa.at nameserver = dns3.telekom.at. bipa.at nameserver = dns1.telekom.at. dns1.telekom.at internet address = 18.104.22.168
dns2.telekom.at internet address = 22.214.171.124
dns3.telekom.at internet address = 126.96.36.199
that said, I’ve gotten to using ‘host’ rather than ‘nslookup’. host is part of the bind-utils package for obtuse reasons.
$ host http://www.bipa.at http://www.bipa.at is an alias for http://www.bipa.at.cdn.cloudflare.net. http://www.bipa.at.cdn.cloudflare.net has address 188.8.131.52
http://www.bipa.at.cdn.cloudflare.net has address 184.108.40.206
Don’t use nslookup:
http://web.archive.org/web/20160304065708/http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/nslookup-flaws.html http://groups.google.com/group/comp.protocols.dns.bind/msg/6de73c9eaa37137f http://groups.google.com/group/comp.protocols.dns.bind/msg/39ffce8e8510b9cc
…use dig instead.