[Feature Request] Support multiple namecheap host in one line #29

Closed
opened 2025-11-20 04:19:04 -05:00 by saavagebueno · 4 comments
Owner

Originally created by @vuanhson on GitHub (May 17, 2020).

Instead of define each host in each block, it is better to define all hosts in one line seperate by comma. For example:

{
            "provider": "namecheap",
            "domain": "example.com",
            "host": "@, www, hello, world",
            "ip_method": "provider",
            "delay": 86400,
            "password": "123456EXAMPLEPASSWORD"
        },

When I write this issue, if I define host use this method, error appeared:


2020-05-17T21:48:25.448Z	INFO	Reading history from database: domain example.com host @, www, hello, world	{"node_id": 0},
2020-05-17T21:48:25.449Z	INFO	Web UI listening at address 0.0.0.0:8001 with root URL 	{"node_id": 0},
2020-05-17T21:48:25.199Z	INFO	Found single setting to update records	{"node_id": 0},
2020-05-17T21:48:25.449Z	INFO	backup: disabled	{"node_id": 0},
2020-05-17T21:48:26.081Z	ERROR	No Records updated. A record not Found;	{"node_id": 0},
2020-05-17T21:48:49.686Z	WARN	Stopping program: caught OS signal "terminated"	{"node_id": 0}

I used ddclient before and it can update namecheap record without define multiple block.

(All domain changed for security)

Originally created by @vuanhson on GitHub (May 17, 2020). Instead of define each host in each block, it is better to define all hosts in one line seperate by comma. For example: ``` { "provider": "namecheap", "domain": "example.com", "host": "@, www, hello, world", "ip_method": "provider", "delay": 86400, "password": "123456EXAMPLEPASSWORD" }, ``` When I write this issue, if I define host use this method, error appeared: ``` 2020-05-17T21:48:25.448Z INFO Reading history from database: domain example.com host @, www, hello, world {"node_id": 0}, 2020-05-17T21:48:25.449Z INFO Web UI listening at address 0.0.0.0:8001 with root URL {"node_id": 0}, 2020-05-17T21:48:25.199Z INFO Found single setting to update records {"node_id": 0}, 2020-05-17T21:48:25.449Z INFO backup: disabled {"node_id": 0}, 2020-05-17T21:48:26.081Z ERROR No Records updated. A record not Found; {"node_id": 0}, 2020-05-17T21:48:49.686Z WARN Stopping program: caught OS signal "terminated" {"node_id": 0} ``` I used ddclient before and it can update namecheap record without define multiple block. (All domain changed for security)
Author
Owner

@github-actions[bot] commented on GitHub (May 17, 2020):

Thanks for creating your first issue 👍 Feel free to use Slack if you just need some quick help or want to chat

@github-actions[bot] commented on GitHub (May 17, 2020): Thanks for creating your first issue :+1: Feel free to use [Slack](https://join.slack.com/t/qdm12/shared_invite/enQtODMwMDQyMTAxMjY1LTU1YjE1MTVhNTBmNTViNzJiZmQwZWRmMDhhZjEyNjVhZGM4YmIxOTMxOTYzN2U0N2U2YjQ2MDk3YmYxN2NiNTc) if you just need some quick help or want to chat
Author
Owner

@qdm12 commented on GitHub (May 20, 2020):

Hello! Thanks for the suggestion. That's a good idea, although I'm in the middle of a large refactor of the code so it may take a few days for me to implement it. I'll close the issue once it's implemented.

@qdm12 commented on GitHub (May 20, 2020): Hello! Thanks for the suggestion. That's a good idea, although I'm in the middle of a large refactor of the code so it may take a few days for me to implement it. I'll close the issue once it's implemented.
Author
Owner

@qdm12 commented on GitHub (May 31, 2020):

It's done, using it myself, great idea 😉

Just a little note, the version from yesterday is bugged, so please pull the :latest Docker image (building here) which contains the fix. Thanks!

@qdm12 commented on GitHub (May 31, 2020): It's done, using it myself, great idea 😉 Just a little note, the version from yesterday is bugged, so please pull the `:latest` Docker image (building [here](https://github.com/qdm12/ddns-updater/runs/724822922?check_suite_focus=true)) which contains the fix. Thanks!
Author
Owner

@vuanhson commented on GitHub (Jun 1, 2020):

@qdm12 Thank you

@vuanhson commented on GitHub (Jun 1, 2020): @qdm12 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#29