...omainname uses the gethostname (2) function, while ypdomainname and nisdomainname use the getdomainname (2). dnsdomainname will print the domain part of the FQDN (Fully Qualifie…...omainname uses the gethostname (2) function, while ypdomainname and nisdomainname use the getdomainname (2). dnsdomainname will print the domain part of the FQDN (Fully Qualifie…...omainname uses the gethostname (2) function, while ypdomainname and nisdomainname use the getdomainname (2). dnsdomainname will print the domain part of the FQDN (Fully Qualifie…...omainname uses the gethostname (2) function, while ypdomainname and nisdomainname use the getdomainname (2). dnsdomainname will print the domain part of the FQDN (Fully Qualifie…...omainname uses the gethostname (2) function, while ypdomainname and nisdomainname use the getdomainname (2). dnsdomainname will print the domain part of the FQDN (Fully Qualifie…