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

Prevent duplicate CNAME for a user #542

Merged
merged 4 commits into from
Apr 8, 2023

Conversation

cychu42
Copy link
Contributor

@cychu42 cychu42 commented Apr 7, 2023

As part of #442
This prevents duplicate CNAME records from the same user with the same name/subdomain.

Test

From our website, you can try to create multiple CNAME records with the same name/subdomain as the same user.
You should see an error that says "DNS Record already exists".

@cychu42 cychu42 self-assigned this Apr 7, 2023
@cychu42 cychu42 added this to the Milestone 0.9 milestone Apr 7, 2023
@cychu42 cychu42 added category: DNS A service about hosting domains category: data Anything related to data management and structure labels Apr 7, 2023
app/models/dns-record.server.ts Outdated Show resolved Hide resolved
@cychu42 cychu42 requested a review from Genne23v April 7, 2023 16:04
SerpentBytes
SerpentBytes previously approved these changes Apr 7, 2023
@cychu42 cychu42 merged commit 228407c into DevelopingSpace:main Apr 8, 2023
@cychu42
Copy link
Contributor Author

cychu42 commented Apr 8, 2023

Thanks for the reviews.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: data Anything related to data management and structure category: DNS A service about hosting domains
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants