Skip to content

Commit 74c2780

Browse files
authored
Merge pull request hestiacp#2423 from WojRep/patch-1
Update domain.sh
2 parents d74cda3 + c3209b2 commit 74c2780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/domain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ is_dns_fqnd() {
584584
r=$2
585585
fqdn_type=$(echo $t | grep "NS\|CNAME\|MX\|PTR\|SRV")
586586
tree_length=3
587-
if [[ $t = 'CNAME' || $t = 'MX' ]]; then
587+
if [[ $t = 'CNAME' || $t = 'MX' || $t = 'PTR' ]]; then
588588
tree_length=2
589589
fi
590590

0 commit comments

Comments
 (0)