Files
cheatsheet-tldr/tldr/linux/resolveip
2025-12-20 00:20:53 +00:00

22 lines
505 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# resolveip
> Resolve hostnames to their IP addresses and vice versa.
> More information: <https://mariadb.com/docs/server/clients-and-utilities/networking-tools/resolveip>.
- Resolve a hostname to an IP address:
`resolveip {{example.org}}`
- Resolve an IP address to a hostname:
`resolveip {{1.1.1.1}}`
- Resolve a hostname to an IP address with less output:
`resolveip {{[-s|--silent]}} {{example.org}}`