I cant use nslookup

[manjaro manjaro]# nslookup 8.8.8.8
bash: nslookup: command not found

[manjaro@manjaro ~]$ yay -S nslookup
→ No AUR package found for nslookup
there is nothing to do
https://man.archlinux.org/man/nslookup.1

It’s part of bind.

2 Likes

Thanks now it works
yay -S bind
Sync Explicit (1): bind-9.20.8-1

nslookup 8.8.8.8
8.8.8.8.in-addr.arpa name = dns.google.

Authoritative answers can be found from:

1 Like

If you’re interested to spam and check some alternative DNS servers, this works nicely (Courtesy of @cscs):

bash <(curl -s https://gitlab.com/cscs/dnsdig/-/raw/main/dnsdig)
Output
ben@SteelLegend ~
#!> bash <(curl -s https://gitlab.com/cscs/dnsdig/-/raw/main/dnsdig)
 Test common resolvers by calculating average response times of 3 queries.

----------------------------------------------------------------------------------------------------                                   
DNS               Primary          Secondary
                                   
AdGuard           94.140.14.14     94.140.15.15
CleanBrowsing     185.228.168.9    185.228.169.9
Cloudflare        1.1.1.1          1.0.0.1
Comodo            8.26.56.26       8.20.247.20
Control-D         76.76.2.2        76.76.10.2
dns0.eu           193.110.81.0     185.253.5.0
DNSFilter         103.247.36.36    103.247.37.37
Dyn/Oracle        216.146.35.35    216.146.36.36
FlashStart        185.236.104.104  185.236.105.105
Gcore             95.85.95.85      2.56.220.2
Google            8.8.8.8          8.8.4.4
Level3/Lumen      209.244.0.3      209.244.0.4
NextDNS           45.90.28.105     45.90.30.105
OpenDNS/Cisco     208.67.222.222   208.67.220.220
Quad9             9.9.9.9          149.112.112.112
SafeDNS           195.46.39.39     195.46.39.40
UltraDNS/Vercara  64.6.64.6        64.6.65.6
                                   
----------------------------------------------------------------------------------------------------

 Do you wish to flush the DNS cache (y/N)? y

 No service found.


Current DNS 1.1.1.1
Avg time:  3.66667 ms

Cloudflare 1.1.1.1
Avg time:  3 ms

Quad9 9.9.9.9
Avg time:  6 ms

Google 8.8.8.8
Avg time:  22.3333 ms

FlashStart 185.236.104.104
Avg time:  26 ms

Comodo 8.26.56.26
Avg time:  26.3333 ms

CleanBrowsing 185.228.168.9
Avg time:  26.6667 ms

Level3/Lumen 209.244.0.3
Avg time:  26.6667 ms

OpenDNS/Cisco 208.67.222.222
Avg time:  26.6667 ms

AdGuard 94.140.14.14
Avg time:  27 ms

DNSFilter 103.247.36.36
Avg time:  27.3333 ms

Control-D 76.76.2.2
Avg time:  31 ms

NextDNS 45.90.28.105
Avg time:  77.6667 ms

Gcore 95.85.95.85
Avg time:  108 ms

SafeDNS 195.46.39.39
Avg time:  161 ms

UltraDNS/Vercara 64.6.64.6
Avg time:  201.333 ms

dns0.eu 193.110.81.0
Avg time:  235.333 ms

Dyn/Oracle 216.146.35.35
Avg time:  386.333 ms
1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.