logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dnsdomainname — show DNS domain name

Description

       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.

Name

       dnsdomainname — show DNS domain name

Options

-?, --help
               Give this help list.

       --usage
               Give a short usage message.

       -V, --version
               Print program version.

See Also

gethostname(2), getaddrinfo(3)

GNU Network Utilities                           February 1, 2019                                dnsdomainname(1)

Synopsis

dnsdomainname [option...]

See Also