xpac1985
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
dnsapi/dns_infoblox.sh
|
@ -42,10 +42,10 @@ dns_infoblox_add() { |
|
|
## Construct the HTTP Authorization header |
|
|
## Construct the HTTP Authorization header |
|
|
export _H1="Accept-Language:en-US" |
|
|
export _H1="Accept-Language:en-US" |
|
|
export _H2="Authorization: Basic $Infoblox_CredsEncoded" |
|
|
export _H2="Authorization: Basic $Infoblox_CredsEncoded" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Construct the request URL |
|
|
## Construct the request URL |
|
|
baseurlnObject="https://$Infoblox_Server/wapi/v2.2.2/record:txt?name=$fulldomain&text=$txtvalue&view=${Infoblox_ViewEncoded}" |
|
|
baseurlnObject="https://$Infoblox_Server/wapi/v2.2.2/record:txt?name=$fulldomain&text=$txtvalue&view=${Infoblox_ViewEncoded}" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Add the challenge record to the Infoblox grid member |
|
|
## Add the challenge record to the Infoblox grid member |
|
|
result="$(_post "" "$baseurlnObject" "" "POST")" |
|
|
result="$(_post "" "$baseurlnObject" "" "POST")" |
|
|
|
|
|
|
|
|