HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

resolveip — Resolve hostnames to their IP addresses and vice versa. More information: <https://mariadb.com/docs/

Submitted by: @import:tldr-pages··
0
Viewed 0 times
resolveipcommandandaddresseshostnamesclitheirresolve
linux

Problem

How to use the resolveip command: Resolve hostnames to their IP addresses and vice versa. More information: <https://mariadb.com/docs/server/clients-and-utilities/networking-tools/resolveip>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: linux/resolveip

Revisions (0)

No revisions yet.