.\" Generated by scdoc 1.11.3 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "SYD-DNS" "1" "2025-02-22" .PP .SH NAME .PP syd-dns - resolve hostname into IPs using system DNS resolver .PP .SH SYNOPSIS .PP \fBsyd-dns\fR \fI[-hr46]\fR hostname .PP \fBsyd-dns\fR \fI[-R]\fR IPv4/6 address .PP .SH DESCRIPTION .PP Resolve hostname into IPs using system DNS resolver.\& .PP Given \fI-R\fR, perform a reverse-DNS lookup for the given IPv4/6 address using the system DNS resolver.\& .PP .SH OPTIONS .PP .TS l lx. T{ \fB-h\fR T} T{ Display help and exit.\& T} .TE .sp 1 .TS l lx. T{ \fB-4\fR T} T{ Print only IPv4 addresses T} .TE .sp 1 .TS l lx. T{ \fB-6\fR T} T{ Print only IPv6 addresses T} .TE .sp 1 .TS l lx. T{ \fB-r\fR T} T{ Print a random IP picked using \fIgetrandom\fR(2) T} .TE .sp 1 .TS l lx. T{ \fB-R\fR T} T{ Perform a reverse DNS lookup using \fIgetnameinfo\fR(3) T} .TE .sp 1 .SH SEE ALSO .PP \fIsyd\fR(1), \fIsyd\fR(2), \fIsyd\fR(5), \fIsyd-net\fR(1), \fIgetrandom\fR(2), \fIgetnameinfo\fR(3) .PP \fBsyd\fR homepage: https://sydbox.\&exherbolinux.\&org/ .PP .SH AUTHORS .PP 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.\&