Click on code to copy to clipboard
to be extendend
sudo apt update; sudo apt install -y tmux htop nmap dnsutils bind9-utils tcputils net-tools mtr traceroute whois;
curl http://checkip.dyndns.org/
or:
curl checkip.amazonaws.com
BIND9-ESV is provided by Debian standard repositories.
In some productive cases it might be desireable to use the newer and stable version of ISC BIND9.
So here is a way to achieve using latest stable.
Verifiy that lsb_release works and gpg is installed. Else install both, or at least gpg and enter your distro manually.
curl -sL https://bind.debian.net/bind/apt.gpg | gpg --dearmor | sudo tee /etc/apt/keyrings/bind9.gpg; echo "deb [signed-by=/etc/apt/keyrings/bind9.gpg] https://bind.debian.net/bind/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/bind.list; sudo apt update; sudo apt full-upgrade -y;
CAUTION: Script upgrades the BIND9 packages without confirmation!
Sources:
https://kb.isc.org/docs/aa-01540
https://kb.isc.org/docs/isc-packages-for-bind-9
https://wiki.debian.org/DebianRepository/UseThirdParty#Sources.list_entry
Enjoy!