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

Check for existing record and delete if exists #17

Merged
merged 1 commit into from
Aug 24, 2020

Conversation

dchidell
Copy link
Contributor

@dchidell dchidell commented Aug 7, 2020

This PR checks for an existing DNS record before posting.
This means that the rpevious record can be deleted first.

The use cases for this are:

  • A record has already been created with an incorrect TARGET_HOST CNAME
  • A legacy record exists which needs overwriting
  • A record exists with the wrong proxied flag
  • A record exists with the wrong TTL

Note: This change has NOT been tested!

This PR checks for an existing DNS record before posting.
This means that the rpevious record can be deleted first.

The use cases for this are:

* A record has already been created with an incorrect TARGET_HOST CNAME
* A legacy record exists which needs overwriting
* A record exists with the wrong proxied flag
* A record exists with the wrong TTL

Note: This change has NOT been tested!
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.

None yet

2 participants