systemd-resolve

Resolve domain names, IPV4 and IPv6 addresses, DNS resource records, and services. Note: this tool has been renamed to resolvectl in new versions of systemd. More information: <https://manned.org/systemd-resolve>.

Debian Debian
RUN apt-get update && \ apt-get install -y systemd
Ubuntu
RUN apt-get update && \ apt-get install -y systemd
Arch Arch Linux
RUN pacman -S --noconfirm systemd
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y systemd
CentOS
RUN yum install -y systemd
Fedora
RUN dnf install -y systemd
Raspbian
RUN apt-get update && \ apt-get install -y systemd
click the source code to copy install systemd-resolve on any operating system with command-not-found.com