diff --git a/include/tests_nameservices b/include/tests_nameservices index 2c0cd6d4..dd86d85c 100644 --- a/include/tests_nameservices +++ b/include/tests_nameservices @@ -203,7 +203,8 @@ DOMAINNAME=${RESOLV_DOMAINNAME} else logtext "Result: using domain name from FQDN hostname" - DOMAINNAME=${FQDN#${HOSTNAME}.} + #DOMAINNAME=${FQDN#${HOSTNAME}.} + DOMAINNAME=`echo ${FQDN} | cut -d . -f2-` fi fi