summaryrefslogtreecommitdiffstats
path: root/upstream/archlinux/man1/dnsdomainname.1
blob: c0796be8cad74d89300e813ca987a2a952c5ec65 (plain)
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
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.49.1.
.TH DNSDOMAINNAME "1" "December 2023" "GNU inetutils 2.5" "User Commands"
.SH NAME
dnsdomainname \- show DNS domain name
.SH SYNOPSIS
.B dnsdomainname
[\fI\,OPTION\/\fR...]
.SH DESCRIPTION
Show domain part of the system's fully qualified host name.
.PP
The tool uses gethostname to get the host name of the system
and getaddrinfo to resolve it into a canonical name.  The part
after the first period ('.') of the canonical name is shown.
.TP
\-?, \fB\-\-help\fR
give this help list
.TP
\fB\-\-usage\fR
give a short usage message
.TP
\fB\-V\fR, \fB\-\-version\fR
print program version
.SH AUTHOR
Written by Simon Josefsson.
.SH "REPORTING BUGS"
Report bugs to <bug\-inetutils@gnu.org>.
.SH COPYRIGHT
Copyright \(co 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH "SEE ALSO"
gethostname(2), getaddrinfo(3)
.PP
The full documentation for
.B dnsdomainname
is maintained as a Texinfo manual.  If the
.B info
and
.B dnsdomainname
programs are properly installed at your site, the command
.IP
.B info dnsdomainname
.PP
should give you access to the complete manual.