Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support hosttech.eu/hosttech.ch #4875

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from

Conversation

baerengraben
Copy link

Copy link

Welcome
Please make sure you've read our DNS API Dev Guide and DNS-API-Test.
Then reply on this message, otherwise, your code will not be reviewed or merged.
We look forward to reviewing your Pull request shortly ✨
注意: 必须通过了 DNS-API-Test 才会被 review. 无论是修改, 还是新加的 dns api, 都必须确保通过这个测试.

@Neilpang
Copy link
Member

Neilpang commented Dec 3, 2023

image

@baerengraben
Copy link
Author

@baerengraben
Copy link
Author

@Neilpang Hi, This pull request has been available for almost a year now and has not yet been merged. Is there something missing from my side?

_debug recordID "$(echo "$_response" | grep -o '"id":[^"]*' | grep -Po "\d+")"

#save the created recordID to the account conf file, so we can read it back for deleting in dns_hosttech_rm.
_saveaccountconf recordID "$(echo "$_response" | grep -o '"id":[^"]*' | grep -Po "\d+")"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't save it.
you should be quering the recordId when you are about to delete the records.

# _domain=domain.com
_get_root() {
domain=$1
i=2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i starts from 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants