If nslookup, dig, host does not exists, try this:
getent hosts google.de | awk '{ print $1 }'
Works e.g. on docker AWS ec2 instances (which really don't have anything installed).
# getent --help
Usage: getent [OPTION...] database [key ...]
Get entries from administrative database.
-i, --no-idn disable IDN encoding
-s, --service=CONFIG Service configuration to be used
-w, --windows Cygwin:Windows account mapping only (with passwd
and group databases)
-?, --help give this help list
--usage give a short usage message
-V, --version print program version
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
Supported databases:
ahosts ahostsv4 ahostsv6 group hosts initgroups passwd protocols
services
You can also try with ahosts.
# getent ahosts google.de
142.251.39.99 STREAM google.de
142.251.39.99 DGRAM google.de