ObjFW  Check-in [37a33a1a7f]

Overview
Comment:Add manpage for ofdns
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 37a33a1a7fd2d362995d4abdf6e37d145fb238fce6349a1128330d1908dd9dd2
User & Date: js on 2024-09-01 13:59:24
Other Links: manifest | tags
Context
2024-09-01
14:07
Add manpage for ofhash check-in: c718a212f2 user: js tags: trunk
13:59
Add manpage for ofdns check-in: 37a33a1a7f user: js tags: trunk
12:34
Improve style of manpages check-in: 13c3ebee9c user: js tags: trunk
Changes

Modified utils/ofdns/Makefile from [c4d144d3b6] to [c1f144fb6a].

1
2
3
4
5
6

7
8
9
10
11
12
13
include ../../extra.mk

PROG = ofdns${PROG_SUFFIX}
SRCS = OFDNS.m
DATA = localization/de.json		\
       localization/localizations.json


include ../../buildsys.mk

PACKAGE_NAME = ofdns

${PROG}: ${LIBOBJFW_DEP_LVL2} ${LIBOBJFWRT_DEP_LVL2}







>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
include ../../extra.mk

PROG = ofdns${PROG_SUFFIX}
SRCS = OFDNS.m
DATA = localization/de.json		\
       localization/localizations.json
MAN = ofdns.1

include ../../buildsys.mk

PACKAGE_NAME = ofdns

${PROG}: ${LIBOBJFW_DEP_LVL2} ${LIBOBJFWRT_DEP_LVL2}

Added utils/ofdns/ofdns.1 version [0eef8556fd].















































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
.\"
.\" Copyright (c) 2008-2024 Jonathan Schleifer <js@nil.im>
.\"
.\" All rights reserved.
.\"
.\" This program is free software: you can redistribute it and/or modify it
.\" under the terms of the GNU Lesser General Public License version 3.0 only,
.\" as published by the Free Software Foundation.
.\"
.\" This program is distributed in the hope that it will be useful, but WITHOUT
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
.\" version 3.0 for more details.
.\"
.\" You should have received a copy of the GNU Lesser General Public License
.\" version 3.0 along with this program. If not, see
.\" <https://www.gnu.org/licenses/>.
.\"
.TH ofdns 1
.SH NAME
ofdns - perform DNS lookups
.SH SYNOPSIS
.B ofdns
[\fBoptions\fR] \fIdomain1\fR [\fIdomain2\fR ...]
.SH DESCRIPTION
.B ofdns
is a program to perform DNS lookups.
.SH OPTIONS
.TP
.BR \fB\-c\fR " " \fIclass\fR ", " \fB\-\-class=\fIclass\fR
The DNS class to query (defaults to IN).
.TP
.BR \fB\-h\fR ", " \fB\-\-help\fR
Show the help.
.TP
.BR \fB\-s\fR " " \fIserver\fR ", " \fB\-\-server=\fIserver\fR
The server to query.
.TP
.BR \fB\-t\fR " " \fItype\fR ", " \fB\-\-type=\fItype\fR
The record type to query (defaults to AAAA and A, can be repeated).
.TP
.BR \fB\-\-tcp\fR
Force using TCP for the query.
.SH EXAMPLES
Query the \fBA\fR and \fBAAAA\fR record for \fBexample.com\fR:
.PP
	ofdns example.com
.PP
Query the \fBCNAME\fR record for \fBwww.example.com\fR:
.PP
	ofdns -t CNAME example.com
.PP
Query \fB2001:db8::1\fR for the \fBAAAA\fR record for \fBexample.com\fR:
.PP
	ofdns -s 2001:db8::1 -t AAAA example.com