inetutils-dnsdomainname(1)

inetutils-dnsdomainname1

Show dns domain name

Usage

dnsdomainname [option ...]

Overview

Show the domain part of the system's fully qualified host name.

The tool uses gethostname(2) to get the host name of the system and getaddrinfo(2) to resolve it into a canonical name. The part after the first period (‘.’) of the canonical name is shown.

Options

?, --help

Give this help list.

--usage

Give a short usage message.

-V, --version

Print program version.

Releases

4 releases since Debian 10 (Buster); the text changed 2 times.

  1. 10
  2. 11–12
  3. 13

--help until Debian 10 (Buster); -? until Debian 10 (Buster).

From inetutils-tools 2:2.6-3+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.