[CentOS] Hint for nslookup wanted ...

Tue Oct 11 13:41:54 UTC 2016
Walter H. <walter.h at mathemainzel.info>

On Tue, October 11, 2016 15:23, Richard Mann wrote:
>> -----Original Message-----
>> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
>> Behalf Of Walter H.
>> Sent: Tuesday, October 11, 2016 9:05 AM
>> To: centos at centos.org
>> Subject: [CentOS] Hint for nslookup wanted ...
>>
>> Hello,
>>
>> 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:
>>
>> e.g.
>>
>> # nslookup www.example.com
>>
>
> Did your google break?

not really;

> For just IPv6
> nslookup -type=AAAA www.example.com
>
> For all records
> nslookup -type=any www.example.com

nslookup -type=any www.google.com

shows only IPv6, when having done
nalookup -type=AAAA www.google.com
before???

other sample:

[root at host ~]# nslookup -query=any www.bipa.at
Server:         192.168.23.2
Address:        192.168.23.2#53

Non-authoritative answer:
www.bipa.at     canonical name = www.bipa.at.cdn.cloudflare.net.

Authoritative answers can be found from:

[root at host ~]#

why is no IP - neither IPv4 nor IPv6 shown?
doesn't matter if -query=any or -type=any


Greetings,
Walter