How do I get a remote host IP address if I don't have ping, and don't have any bind utilities like dig, nslookup, etc?I need an answer that does not include 'install X' or 'use sidecar container'. I am looking for something that relies on nothing more than bash and the basic shell commands.
How to get remote host DNS address from a super-slim host (docker) without ping or bind-utils?
docker;host name resolution
Use getent:$ getent hosts unix.stackexchange.com151.101.193.69    unix.stackexchange.com  unix.stackexchange.com