Help: DNSOMatic Error Malformed Password #264

Closed
opened 2025-11-20 04:22:09 -05:00 by saavagebueno · 7 comments
Owner

Originally created by @muslimsteel on GitHub (Mar 14, 2023).

TLDR: Describe your issue in a one liner here
Hello, I am trying to get DNSOMatic to update using DDNSUpdater, but for whatever reason, it is giving me ERROR malformed password. I tried turning on debug logging but all that did was add the config file to the logs and then it shuts down. Am I missing something? My password is 20 characters long and only has one special character in it a "$" sign.
I posted this originally in Discussions on the GitHub page but have not got a response there so I thought I might try here.
Thanks for the help!

  1. Is this urgent: No

  2. DNS provider(s) you use: DNSOMatic

  3. Program version:

Running version latest built on 2023-02-02T00:41:38Z (commit 228fc50)

  1. What are you using to run the container: docker under UnRaid
  2. Extra information (optional)

Logs:

========================================
========================================
============= ddns-updater =============
========================================
=========== Made with ❤️ by ============
======= https://github.com/qdm12 =======
========================================
========================================

Running version latest built on 2023-02-02T00:41:38Z (commit 228fc50)

🔧 Need help? https://github.com/qdm12/ddns-updater/discussions/new
🐛 Bug? https://github.com/qdm12/ddns-updater/issues/new
✨ New feature? https://github.com/qdm12/ddns-updater/issues/new
☕ Discussion? https://github.com/qdm12/ddns-updater/discussions/new
💻 Email? quentin.mcgaw@gmail.com
💰 Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12
2023-03-14T15:54:43-04:00 INFO reading JSON config from file /updater/data/config.json
2023-03-14T15:54:43-04:00 DEBUG config read: {
  "settings": [
    {
      "provider": "dnsomatic",
      "domain": "*",
      "host": "*",
      "username": "xxxxxxxxxxxxxx@gmail.com",
      "password": "xxxxxxxxxxxxxxxxxxxx",
      "ip_version": "ipv4"
    }
  ]
}
2023-03-14T15:54:43-04:00 ERROR malformed password
2023-03-14T15:54:43-04:00 INFO Shutdown successful```

Configuration file (**remove your credentials!**):

```see above

Host OS:
Unraid 6.11.5

Originally created by @muslimsteel on GitHub (Mar 14, 2023). <!-- HAVE A CHAT FIRST! https://github.com/qdm12/ddns-updater/discussions No one responded there --> **TLDR**: *Describe your issue in a one liner here* Hello, I am trying to get DNSOMatic to update using DDNSUpdater, but for whatever reason, it is giving me ERROR malformed password. I tried turning on debug logging but all that did was add the config file to the logs and then it shuts down. Am I missing something? My password is 20 characters long and only has one special character in it a "$" sign. I posted this originally in Discussions on the GitHub page but have not got a response there so I thought I might try here. Thanks for the help! 1. Is this urgent: No 2. DNS provider(s) you use: DNSOMatic 3. Program version: <!-- See the line at the top of your logs --> `Running version latest built on 2023-02-02T00:41:38Z (commit 228fc50)` 4. What are you using to run the container: docker under UnRaid 5. Extra information (optional) Logs: ``` ======================================== ======================================== ============= ddns-updater ============= ======================================== =========== Made with ❤️ by ============ ======= https://github.com/qdm12 ======= ======================================== ======================================== Running version latest built on 2023-02-02T00:41:38Z (commit 228fc50) 🔧 Need help? https://github.com/qdm12/ddns-updater/discussions/new 🐛 Bug? https://github.com/qdm12/ddns-updater/issues/new ✨ New feature? https://github.com/qdm12/ddns-updater/issues/new ☕ Discussion? https://github.com/qdm12/ddns-updater/discussions/new 💻 Email? quentin.mcgaw@gmail.com 💰 Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12 2023-03-14T15:54:43-04:00 INFO reading JSON config from file /updater/data/config.json 2023-03-14T15:54:43-04:00 DEBUG config read: { "settings": [ { "provider": "dnsomatic", "domain": "*", "host": "*", "username": "xxxxxxxxxxxxxx@gmail.com", "password": "xxxxxxxxxxxxxxxxxxxx", "ip_version": "ipv4" } ] } 2023-03-14T15:54:43-04:00 ERROR malformed password 2023-03-14T15:54:43-04:00 INFO Shutdown successful``` Configuration file (**remove your credentials!**): ```see above ``` Host OS: Unraid 6.11.5
Author
Owner

@beneliason commented on GitHub (Mar 25, 2023):

I'm experiencing the same issue (unraid; docker). When I add a simple (but incorrect) password ddns-updater will start with bad auth. OpenDNS requires a password with special characters. (seems to be a bug) 🤷🏻‍♂️

Host OS:
Unraid 6.11.1

@beneliason commented on GitHub (Mar 25, 2023): I'm experiencing the same issue (unraid; docker). When I add a simple (but incorrect) password `ddns-updater` will start with bad auth. OpenDNS requires a password with special characters. (seems to be a bug) 🤷🏻‍♂️ Host OS: Unraid 6.11.1
Author
Owner

@mrt2nbl commented on GitHub (Mar 29, 2023):

Same here :/

@mrt2nbl commented on GitHub (Mar 29, 2023): Same here :/
Author
Owner

@qdm12 commented on GitHub (Apr 12, 2023):

First sorry for the massive delay;

From the documentation https://www.dnsomatic.com/docs/api :

DNS-O-Matic passwords are 6-20 characters. All ASCII letters and numbers accepted. Dots, dashes, and underscores allowed, but not at the beginning or end of the string.

Hence the existing regex to enforce this ^[a-zA-Z0-9][a-zA-Z0-9._-]{5,19}$, should symbols be accepted?? 🤔

@qdm12 commented on GitHub (Apr 12, 2023): First sorry for the massive delay; From the documentation https://www.dnsomatic.com/docs/api : > DNS-O-Matic passwords are 6-20 characters. All ASCII letters and numbers accepted. Dots, dashes, and underscores allowed, but not at the beginning or end of the string. Hence the existing regex to enforce this `^[a-zA-Z0-9][a-zA-Z0-9._-]{5,19}$`, should symbols be accepted?? 🤔
Author
Owner

@mrt2nbl commented on GitHub (Apr 12, 2023):

I tried that changes on my own fork and it did the trick.
dnsOMaticPassword = regexp.MustCompile(^[a-zA-Z0-9 !@#€%&+*._-]{5,19})
DNS-O-Matic accept special characters

@mrt2nbl commented on GitHub (Apr 12, 2023): I tried that changes on my own fork and it did the trick. dnsOMaticPassword = regexp.MustCompile(^[a-zA-Z0-9 !@#$€%&+*._-]{5,19}$) DNS-O-Matic accept special characters
Author
Owner

@muslimsteel commented on GitHub (Apr 12, 2023):

Regarding the docs, I wonder if they are referencing when they were not using the OpenDNS system for authentication and that was not updated in the docs
image

@muslimsteel commented on GitHub (Apr 12, 2023): Regarding the docs, I wonder if they are referencing when they were not using the OpenDNS system for authentication and that was not updated in the docs ![image](https://user-images.githubusercontent.com/28244480/231476926-910c65ef-7574-4cb8-aa13-8da6168312d6.png)
Author
Owner

@qdm12 commented on GitHub (Apr 13, 2023):

Since it's kinda of unclear and blocking some of you, I removed the password validation check entirely so it should now work (with the latest image).

@qdm12 commented on GitHub (Apr 13, 2023): Since it's kinda of unclear and blocking some of you, I removed the password validation check entirely so it should now work (with the latest image).
Author
Owner

@muslimsteel commented on GitHub (Apr 17, 2023):

Thank you!

@muslimsteel commented on GitHub (Apr 17, 2023): Thank you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ddns-updater#264