dinoco.1 (1312B)
1 .TH "DINOCO 1" "June 2023" "User Commands" 2 .SH NAME 3 dinoco - Query DNS records 4 .SH SYNOPSIS 5 .B dinoco 6 [\fB\,-s\/\fR \fI\,host\/\fR] 7 [\fB\,-h\/\fR] 8 .B -t 9 \fI\,type\/\fR 10 \fI\,domain\/\fR 11 .SH DESCRIPTION 12 .PP 13 Query DNS records. The DNS class will always be IN (the Internet). 14 Only the answer sections of a response will be read. 15 Only the RDATA field of the answer will be printed to stdout according to the DNS type. 16 \fI\,domain\/\fR represents a domain except in the case of the \fB\,--type\/\fR PTR. 17 In that case you provide an IP address. 18 .TP 19 \fB\,-t\/\fR, \fB\,--type\/\fR \fI\,type\/\fR 20 A DNS type. One of the following: 21 .B A, 22 .B AAAA, 23 .B NS, 24 .B CNAME, 25 .B SOA, 26 .B PTR, 27 .B HINFO, 28 .B MX, 29 .B TXT. 30 31 Not supported types: WKS, MB, MD, MF, MG, MR, MINFO, NULL. 32 .TP 33 \fB\,-s\/\fR, \fB\,--dns-server\/\fR \fI\,host\/\fR 34 Specify the domain or IP address of the DNS server. 35 .TP 36 \fB\,-h\/\fR 37 Disable the printing of the header line. 38 .SH EXAMPLES 39 .EX 40 \fB\,$\/\fR dinoco -t MX blubiblub.org 41 Mail Exchange Preference 42 mail.blubiblub.org 10 43 \fB\,$\/\fR 44 \fB\,$\/\fR dinoco -t A blubiblub.org 45 Address 46 221.180.67.12 47 \fB\,$\/\fR 48 \fB\,$\/\fR dinoco -h -t MX honkaponka.org 49 mail.honkaponla.org 10 50 alt1.mail.honkaponla.org 20 51 \fB\,$\/\fR 52 .SH NOTES 53 This program is solely based on RFC 1035 and isn't tested enough to be called stable.