Debian Codegraph @

man/dnsdomainname.1

raw
1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2.
2 .TH DNSDOMAINNAME "1" "April 2026" "GNU inetutils 2.8" "User Commands"
3 .SH NAME
4 dnsdomainname \- show DNS domain name
5 .SH SYNOPSIS
6 .B dnsdomainname
7 [\fI\,OPTION\/\fR...]
8 .SH DESCRIPTION
9 Show domain part of the system's fully qualified host name.
10 .PP
11 The tool uses gethostname to get the host name of the system
12 and getaddrinfo to resolve it into a canonical name. The part
13 after the first period ('.') of the canonical name is shown.
14 .TP
15 \-?, \fB\-\-help\fR
16 give this help list
17 .TP
18 \fB\-\-usage\fR
19 give a short usage message
20 .TP
21 \fB\-V\fR, \fB\-\-version\fR
22 print program version
23 .SH AUTHOR
24 Written by Simon Josefsson.
25 .SH "REPORTING BUGS"
26 Report bugs to <bug\[email protected]>.
27 .SH COPYRIGHT
28 Copyright \(co 2026 Free Software Foundation, Inc.
29 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
30 .br
31 This is free software: you are free to change and redistribute it.
32 There is NO WARRANTY, to the extent permitted by law.
33 .SH "SEE ALSO"
34 gethostname(2), getaddrinfo(3)
35 .PP
36 The full documentation for
37 .B dnsdomainname
38 is maintained as a Texinfo manual. If the
39 .B info
40 and
41 .B dnsdomainname
42 programs are properly installed at your site, the command
43 .IP
44 .B info dnsdomainname
45 .PP
46 should give you access to the complete manual.