Browse Source

Update domain.sh

The PRT may also be pointing to a domain name as the host name.
WojRep 4 years ago
parent
commit
c3209b271d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      func/domain.sh

+ 1 - 1
func/domain.sh

@@ -584,7 +584,7 @@ is_dns_fqnd() {
     r=$2
     r=$2
     fqdn_type=$(echo $t | grep "NS\|CNAME\|MX\|PTR\|SRV")
     fqdn_type=$(echo $t | grep "NS\|CNAME\|MX\|PTR\|SRV")
     tree_length=3
     tree_length=3
-    if [[ $t = 'CNAME' || $t = 'MX' ]]; then
+    if [[ $t = 'CNAME' || $t = 'MX' || $t = 'PTR' ]]; then
         tree_length=2
         tree_length=2
     fi
     fi