SYD-DNS(1)

# NAME

*syd-dns* - Resolve hostname into IPs using system DNS resolver

# SYNOPSIS

*syd-dns* _[-hr46]_ hostname

*syd-dns* _[-R]_ IPv4/6 address

# DESCRIPTION

Resolve hostname into IPs using system DNS resolver.

Given _-R_, perform a reverse-DNS lookup for the given IPv4/6 address
using the system DNS resolver.

# OPTIONS

|[ *-h*
:< Display help and exit.

|[ *-4*
:< Print only IPv4 addresses

|[ *-6*
:< Print only IPv6 addresses

|[ *-r*
:< Print a random IP picked using _getrandom_(2)

|[ *-R*
:< Perform a reverse DNS lookup using _getnameinfo_(3)

# SEE ALSO

_syd_(1), _syd_(2), _syd_(5), _syd-net_(1), _getrandom_(2),
_getnameinfo_(3)

*syd* homepage: https://sydbox.exherbo.org/

# AUTHORS

Maintained by Ali Polatel. Up-to-date sources can be found at
https://gitlab.exherbo.org/sydbox/sydbox.git and bugs/patches can be
submitted to https://gitlab.exherbo.org/groups/sydbox/-/issues. Discuss
in #sydbox on Libera Chat or in #sydbox:mailstation.de on Matrix.
