dnsdomainname

Domain name that defines the FQDN name in the DNS system

Supplementary instructions

dnsdomainname command is used to define the domain name in the FQDN name in the DNS system.

grammar

dnsdomainname(option)

Options

-v: Detailed information mode, output detailed information about command execution.

Example

[root@AY1307311912260196fcZ ~]# dnsdomainname -v
gethostname()=`AY1307311912260196fcZ'
Resolving `AY1307311912260196fcZ' ...
Result: h_name=`AY1307311912260196fcZ'
Result: h_addr_list=`10.160.7.81'