Changed xpath of domain ID to "string"
All checks were successful
release-tag / release-image (push) Successful in 1m57s

This commit is contained in:
2025-11-26 19:58:49 +01:00
parent 69cc1ea7be
commit 9cbf6b4b88
2 changed files with 29 additions and 4 deletions

View File

@@ -4,9 +4,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
## 2025-11-26
### Changed
- Changed xpath of domain ID because INWX changed data type from "int" to "string".
## 2024-06-05 ## 2024-06-05
### Added ### Added
- Added Gitea workflow for building docker images - Added Gitea workflow for building docker images
### Changed ### Changed
@@ -16,18 +23,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
## 2023-11-06 ## 2023-11-06
### Added ### Added
- Added jq to Docker image (for processing json) - Added jq to Docker image (for processing json)
## 2022-12-14 ## 2022-12-14
### Added ### Added
- Added Dockerfile - Added Dockerfile
- Added docker-compose.yml - Added docker-compose.yml
## 2022-10-18 ## 2022-10-18
### Changed ### Changed
- Completly rewritten. nsupdate is now a POSIX compliant /bin/sh script 👍🏻
- Completely rewritten. nsupdate is now a POSIX compliant /bin/sh script 👍🏻
- Backwards compatibility should be given (please test and report bugs!). - Backwards compatibility should be given (please test and report bugs!).
- If using the xmmlint method, now also the IP for a record is retrieved this way - If using the xmmlint method, now also the IP for a record is retrieved this way
- WAN IP now is only checked once per session instead of every time a new config is processed. - WAN IP now is only checked once per session instead of every time a new config is processed.
@@ -35,25 +45,30 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
- The code is now structured in functions which makes it more maintainable and modular. - The code is now structured in functions which makes it more maintainable and modular.
### Removed ### Removed
- Avoid using awk and get rid of dependency - Avoid using awk and get rid of dependency
## 2021-12-11 ## 2021-12-11
### Added ### Added
- Added the possibility to retrieve the WAN IP by a shell command (e.g. SSHing into your router and get the IP of the WAN interface) - Added the possibility to retrieve the WAN IP by a shell command (e.g. SSHing into your router and get the IP of the WAN interface)
## 2020-07-03 ## 2020-07-03
### Changed ### Changed
- Rearranged config.sample - Rearranged config.sample
- Updated Readme - Updated Readme
### Added ### Added
- Getting the Domain-Record-ID via XML-RPC API - Getting the Domain-Record-ID via XML-RPC API
## 2020-05-11 ## 2020-05-11
### Changed ### Changed
- Updated Readme with some hints - Updated Readme with some hints
- Updated config.sample with a hint for TTL - Updated config.sample with a hint for TTL
@@ -66,31 +81,38 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
## 2019-12-20 ## 2019-12-20
### Fixed ### Fixed
- Fixed DomRobot XML-RPC API syntax - Fixed DomRobot XML-RPC API syntax
### Added ### Added
- Added some more documentation - Added some more documentation
## 2015-07-22 ## 2015-07-22
### Changed ### Changed
- Changed the way how the existence of config files is checked - Changed the way how the existence of config files is checked
- Updated the sample config file to reflect new options from the last updates - Updated the sample config file to reflect new options from the last updates
### Added ### Added
- The script is reported to work in csh and sh too - The script is reported to work in csh and sh too
## 2015-06-30 ## 2015-06-30
### Fixed ### Fixed
- Fixed the check for config files. Can now handle more than one file - Fixed the check for config files. Can now handle more than one file
### Changed ### Changed
- Changed warning for missing config files - Changed warning for missing config files
## 2015-01-12 ## 2015-01-12
### Added ### Added
- Added checks for needed commands - Added checks for needed commands
- Added checks for existing config file - Added checks for existing config file
- Added requirements to README.md - Added requirements to README.md
@@ -98,17 +120,20 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
## 2014-02-21 ## 2014-02-21
### Added ### Added
- Added support for IPv6 - Added support for IPv6
- Added support for config files - Added support for config files
## 2014-01-02 ## 2014-01-02
### Changed ### Changed
- Changed default IP check site to ip.dblx.io - Changed default IP check site to ip.dblx.io
- Renamed _$HOSTNAME_ to _$DOMAIN_ to work around potential conflicts with _$HOSTNAME_ that's set by the host itself - Renamed _$HOSTNAME_ to _$DOMAIN_ to work around potential conflicts with _$HOSTNAME_ that's set by the host itself
### Added ### Added
- Added a switch to use _drill_ instead of _nslookup_ because FreeBSD 10 switched from _bind_ to _unbound_
- Added a switch to use _drill_ instead of _nslookup_ because FreeBSD 10 switched from _bind_ to _unbound_
## 2014-01-06 ## 2014-01-06
@@ -118,4 +143,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
## 2013-07-12 ## 2013-07-12
- First commit - First commit

View File

@@ -85,7 +85,7 @@ init () {
inwx_api="https://api.domrobot.com/xmlrpc/" inwx_api="https://api.domrobot.com/xmlrpc/"
inwx_api_xpath_ip='string(/methodResponse/params/param/value/struct/member[name="resData"]/value/struct/member[name="record"]/value/array/data/value/struct/member[name="content"]/value/string)' inwx_api_xpath_ip='string(/methodResponse/params/param/value/struct/member[name="resData"]/value/struct/member[name="record"]/value/array/data/value/struct/member[name="content"]/value/string)'
inwx_api_xpath_id='string(/methodResponse/params/param/value/struct/member[name="resData"]/value/struct/member[name="record"]/value/array/data/value/struct/member[name="id"]/value/int)' inwx_api_xpath_id='string(/methodResponse/params/param/value/struct/member[name="resData"]/value/struct/member[name="record"]/value/array/data/value/struct/member[name="id"]/value/string)'
inwx_nameserver="ns.inwx.de" inwx_nameserver="ns.inwx.de"
ip_check_site="${NSUPDATE_IP_CHECK_SITE:-https://api64.ipify.org}" ip_check_site="${NSUPDATE_IP_CHECK_SITE:-https://api64.ipify.org}"