1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/resolveip.md

17 lines
369 B
Markdown
Raw Normal View History

2020-12-04 19:05:15 +00:00
# resolveip
> Resolve hostnames to their IP addresses and vice versa.
> More information: <https://mariadb.com/kb/en/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:
2020-12-04 19:05:15 +00:00
`resolveip {{[-s|--silent]}} {{example.org}}`