Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reducing ttl for testing
Browse files Browse the repository at this point in the history
as-kholin committed Sep 18, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent cb256b1 commit e5d2583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnsapi/dns_omglol.sh
Original file line number Diff line number Diff line change
@@ -108,7 +108,7 @@ omglol_add() {
endpoint="https://api.omg.lol/address/$address/dns"
_debug2 " Endpoint" "$endpoint"

payload='{"type": "TXT", "name":"'"$dnsName"'", "data":"'"$txtvalue"'"}'
payload='{"type": "TXT", "name":"'"$dnsName"'", "data":"'"$txtvalue"'", "ttl":30}'
_debug2 " Payload" "$payload"

response=$(_post "$payload" "$endpoint" "" "POST" "application/json")

0 comments on commit e5d2583

Please sign in to comment.