commit c0582e2c3e3ad1d41c0f9fb12ec2454088798ee7
parent f6d34477c3eaa4352384cccd8c3e2dd7697e69c3
Author: Nibo <kroekerrobin@gmail.com>
Date: Tue, 20 Jun 2023 19:05:37 +0200
Write the man page
Diffstat:
| M | dinoco.1 | | | 26 | ++++++++++++++++++++------ |
1 file changed, 20 insertions(+), 6 deletions(-)
diff --git a/dinoco.1 b/dinoco.1
@@ -1,13 +1,27 @@
-.TH DINOCO "1" "June 2023" "User Commands"
+.TH DINOCO 1" "June 2023" "User Commands"
.SH NAME
dinoco - Query DNS records
.SH SYNOPSIS
.B dinoco
-[ options ]
+-d \fI\,domain\/\fR
+-t \fI\,type\/\fR
.SH DESCRIPTION
.PP
-Query DNS records
+Query a DNS record or possibly multiple records. The DNS class will always be IN (the Internet). Only the RDATA field of the answer will be printed to stdout according to the DNS type.
+.TP
+\fB\,-d\/\fR, \fB\,--domain\/\fR \fI\,domain\/\fR
+A domain.
+.TP
+\fB\,-t\/\fR, \fB\,--type\/\fR \fI\,type\/\fR
+A DNS type. One of the following:
+
+A, NS, MD, MF, CNAME, SOA, MB, MG, MR, NULL, WKS, PTR, HINFO, MINFO, MX, TXT.
.SH EXAMPLES
-.sp
-.RS 4
-dinoco
+.EX
+$ dinoco -d blubiblub.org -t MX
+Preference: 10
+Mail Exchange: mail.blubiblub.org
+$
+$ dinoco -d blubiblub.org -t A
+Address: 221.180.67.12
+$