Skip to content

Commit

Permalink
chore: updateDnsRecordWithCurrentIp
Browse files Browse the repository at this point in the history
- added docs
  • Loading branch information
proohit committed May 1, 2022
1 parent edcdfa1 commit 3043b1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ A node wrapper for the [Netcup CCP API](https://www.netcup-wiki.de/wiki/CCP_API)
- `infoDnsZone`
- `infoDnsRecord`
- `updateDnsRecords`
- `updateDnsRecordWithCurrentIp` to set the current public ip as destination. Works with ipv4 and ipv6. Default updates ipv4 only. Set parameter `useIpv6Only` to true to update ipv6 only. Set parameter `useIpv4AndIpv6` to true to update both ipv4 and ipv6. NOTE: Uses `public-ip` package to get the current public ip.
- error handling: on any response that isn't `2000` from Netcup, an error with the `longmessage` from Netcup is thrown

## Getting started
Expand Down

0 comments on commit 3043b1b

Please sign in to comment.