diff --git a/reinstall.sh b/reinstall.sh index 53f956a..07842ad 100644 --- a/reinstall.sh +++ b/reinstall.sh @@ -463,8 +463,12 @@ install_pkg() { pkg="bind-tools" elif is_in_arch; then pkg="bind" + elif command -v yum || command -v dnf; then + pkg="bind-utils" + elif command -v apt; then + pkg="bind9-dnsutils" else - pkg="bind*-*utils" + error "Can't install nslookup / dig" fi ;; *) pkg=$cmd ;;