mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-05-12 02:51:57 -04:00
Bug: Porkbun old records not overridden #145
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yefenghu on GitHub (Sep 28, 2021).
Originally assigned to: @qdm12 on GitHub.
DNS resolution records can be updated, but the old ones will not be overwritten, and new ones will always be added. Make it unable to take effect


this is my config.json
@qdm12 commented on GitHub (Sep 28, 2021):
Indeed, I think the implementation was not actually tested by anyone 😄
It should be fixed now, please pull the latest image (once this build is done in 5 minutes) and try again. Thanks!
@yefenghu commented on GitHub (Sep 28, 2021):
thank you for fix it .the first-level domain can be replaced normally, but the pan-domain name will still be added, such as *.yefenghu.xxx have Duplicate DNS resolution
@qdm12 commented on GitHub (Sep 28, 2021):
So the bug is still occurring right? I'll check again tomorrow.
@yefenghu commented on GitHub (Sep 28, 2021):
yes,The top-level domain is correct, there are still problems with subdomains
@qdm12 commented on GitHub (Oct 2, 2021):
Try with:
(Replacing
YOUR*values with your own)What results do you get? You should get at least one record:
@qdm12 commented on GitHub (Oct 14, 2021):
Just a small reminder 😉 Thanks!!
@yefenghu commented on GitHub (Oct 14, 2021):
You are the most aggressive maintenance developer I've ever seen, although the pan-domain still has duplicate resolution issues
@qdm12 commented on GitHub (Oct 14, 2021):
Haha I'll take that as a compliment 😄 You know, just tryin' to burn some issues!
And I would need you to run that curl command in the comment above (here) please. It can wait a few days, no pressure 😉
@yefenghu commented on GitHub (Oct 14, 2021):
Sorry, I forgot about it. the link https://porkbun.com/api/json/v3/dns/retrieveByNameType/YOURDOMAIN/A/YOURSUBDOMAIN
Can the YOURSUBDOMAIN in exit be in the form of *.domain.com?
@qdm12 commented on GitHub (Oct 15, 2021):
Maybe, Try replacing
YOURSUBDOMAINwith*, the URL would look likehttps://porkbun.com/api/json/v3/dns/retrieveByNameType/example.com/A/*@yefenghu commented on GitHub (Oct 17, 2021):
this is command:
the results is :
@qdm12 commented on GitHub (Oct 17, 2021):
🤔 I guess you can't specify
*in the URL. That might be a bug on their API, since you can't retrieve the wildcard record.I'll modify the code to retrieve all records for the domain so that we could have the wildcard host too. Maybe try:
Do you get all the records including the wildcard one?
Also is the problem now only about wildcard records or all subdomains? Thanks!!
@yefenghu commented on GitHub (Oct 17, 2021):
i have try wildcard and domain,subdomains i never setting.need to try subdomains?
@qdm12 commented on GitHub (Oct 18, 2021):
You said subdomains, so is it just a problem with wildcards or with all subdomains?
Also please try that curl command mentioned https://github.com/qdm12/ddns-updater/issues/247#issuecomment-945237981 see how your wildcard record is in the response so I can fix the wildcard.
@yefenghu commented on GitHub (Oct 18, 2021):
https://github.com/qdm12/ddns-updater/issues/247#issuecomment-945072283 thisi my wildcard record response .i have not use curl command test subdomains.
@qdm12 commented on GitHub (Oct 19, 2021):
Yes but try the same command by removing the suffix
*at the end of the url (see comment above https://github.com/qdm12/ddns-updater/issues/247#issuecomment-945237981)@yefenghu commented on GitHub (Oct 19, 2021):
@yefenghu commented on GitHub (Oct 20, 2021):
i try the same command by removing the suffix * at the end .
@qdm12 commented on GitHub (Oct 20, 2021):
Oh-oh that's strange, maybe your DNS is blocking docker hub?
Ugh so they only return the record for host
@I guess.EDIT: Or do you actually see e.g.
"name": "*.mydomain.com"?? ⁉️I have no idea how to get the wildcard record then. Maybe contact their support about it? 🤔 It might be a bug since it looks like they disallow
*character in the URL (The URI you submitted has disallowed characters).If they don't want to fix it, the alternative would be to set your record id as an additional field for wildcard hosts. Actually can you find the record ID of your wildcard host from their web UI or anywhere??
@qdm12 commented on GitHub (Feb 20, 2022):
Any update on this?
@esackbauer commented on GitHub (Apr 28, 2023):
I guess not. For me porkbun is working, but I am not using wildcard.
In their documentation they mention only if you use "DNS Edit Record by Domain and ID" you can use wildcard. NOT with subdomain.
So this behaviour as @yefenghu mentioned is intended.
@qdm12 commented on GitHub (Jun 12, 2023):
Closing this due to inactivity and response from @esackbauer (thanks btw)