Browse Source

RM TXT check

LLeny 6 years ago
parent
commit
30ee00ff50
1 changed files with 1 additions and 2 deletions
  1. 1 2
      dnsapi/dns_namecheap.sh

+ 1 - 2
dnsapi/dns_namecheap.sh

@@ -270,8 +270,7 @@ _del_namecheap_TXT() {
   while read -r host; do
     if _contains "$host" "<host"; then
       _namecheap_parse_host "$host"
-	  if [ "$_hosttype" = "TXT" ] && [ "$_hostname" = "$subdomain" ]; then
-	  	#&& [ "$_hostaddress" = "$txt" ]
+	  if [ "$_hosttype" = "TXT" ] && [ "$_hostname" = "$subdomain" ] && [ "$_hostaddress" = "$txt" ]; then
 	  	_debug "TXT entry found"
 	  	found=1      
       else