mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-30 18:07:15 +00:00 
			
		
		
		
	typo...
This commit is contained in:
		
							parent
							
								
									d3c4cd8270
								
							
						
					
					
						commit
						1e5e03cc46
					
				| @ -62,7 +62,7 @@ dns_nsone_add() { | |||||||
|     record_id=$(printf "%s\n" "$response" | _egrep_o "\"domain\":\"$fulldomain.\",[^{]*\"type\":\"TXT\",\"id\":\"[^,]*\"" | _head_n 1 | cut -d: -f7 | cut -d, -f1) |     record_id=$(printf "%s\n" "$response" | _egrep_o "\"domain\":\"$fulldomain.\",[^{]*\"type\":\"TXT\",\"id\":\"[^,]*\"" | _head_n 1 | cut -d: -f7 | cut -d, -f1) | ||||||
|     _debug "record_id" "$record_id" |     _debug "record_id" "$record_id" | ||||||
| 
 | 
 | ||||||
|     _nsone_rest POST "zones/$_domain_/$fulldomain/TXT" "{\"answers\": [{\"answer\": [\"$txtvalue\"]}],\"type\": \"TXT\",\"domain\":\"$fulldomain\",\"zone\": \"$_domain\"}" |     _nsone_rest POST "zones/$_domain/$fulldomain/TXT" "{\"answers\": [{\"answer\": [\"$txtvalue\"]}],\"type\": \"TXT\",\"domain\":\"$fulldomain\",\"zone\": \"$_domain\"}" | ||||||
|     if [ "$?" = "0" ] && _contains "$response" "$fulldomain"; then |     if [ "$?" = "0" ] && _contains "$response" "$fulldomain"; then | ||||||
|       _info "Updated!" |       _info "Updated!" | ||||||
|       #todo: check if the record takes effect |       #todo: check if the record takes effect | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user