Deploying docker containers based on alpine images or using alpine on your server is always a good idea as it’s a small, simple Linux OS. But if you want to perform some DNS checks you need to install DNS tools because they are not installed by default. Here I’m going to show you the installation of
bind-tools package which contains both
- Alpine Linux
- sudo privileges
Install dig and nslookup on Alpine Linux
Step 1. First update Alpine system packages.
Step 2. Install
nslookup on Alpine.
apk add bind-tools
Step 3. To verify the installation, run:
dig -v nslookup -v
As I mentioned the installation process is very simple and quick. Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.