Where are dig and nslookup?

I’ve setup a brand new Manjaro-Setup, but don’t find dig or nslookup.
Which package do I need to install ?

1 Like

Bizarrely, they’re both owned by bind. Seems a bit of overkill installing that for them, but such is life.

1 Like

Ok, I’m surprised that I didn’t found it in a package like dnstools like in other distributions.
I thought I missed something :slight_smile:

Or does there any alternatives to use for dig and nslookup which also good, but not bundled with bind?

Manjaro comes with ldns - which contains a dig equivalent - drill.

1 Like

nice to hear, does it have the same syntax / parameters as dig. So I might add an alias in bash and don’t need to remember this new Tool-name :slight_smile:

man drill

not the ape :grin:

3 Likes

Just FYI, one can discover what package includes which binaries like this:

First make sure you’re fully up to date and update your local database:

sudo pacman -Syu && sudo pacman -Fy

Then search for the binary names; i.e., with dig:

❯ pacman -F /usr/bin/dig
usr/bin/dig is owned by extra/bind 9.18.25-1
1 Like

Or, as you can update and search the database at once, and it has no affect on your package sync;

sudo pacman -Fyx 'bin/dig'

And as you should always sync and update before/while installing, and that it can be combined too;

sudo pacman -Syu bind
3 Likes

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