The show host command allows users to check the resolved IP addresses for a given domain.
The show host command in Juniper SRX provides a quick and efficient way to check domain name resolutions.
root@SRX> show host google.com
google.com has address 142.250.80.78
google.com has IPv6 address 2607:f8b0:4006:80c::200e
IPv4 Address: The resolved IPv4 address of the domain, e.g., 142.250.80.78
142.250.80.78
IPv6 Address: The resolved IPv6 address, if available, e.g., 2607:f8b0:4006:80c::200e
2607:f8b0:4006:80c::200e
If the command does not return expected results, review name-server configuration