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

Domain rename leaves junk NS records behind #80

Open
thedaveCA opened this issue Mar 1, 2019 · 1 comment
Open

Domain rename leaves junk NS records behind #80

thedaveCA opened this issue Mar 1, 2019 · 1 comment

Comments

@thedaveCA
Copy link

Renaming a domain leaves some junk NS records behind that reference the original domain name.

Steps to reproduce:

  1. Create two nameservers (ns1.wonderfulhosting.example, ns2.wonderfulhosting.example)
  2. Create a domain called typodomain.example
  3. Notice the typo and rename to fixeddomain.example

The resulting zone file looks like this:

; Nameservers

fixeddomain.example.    86400 IN NS ns1.wonderfulhosting.example.
fixeddomain.example.    86400 IN NS ns2.wonderfulhosting.example.
typodomain.example      86400 IN NS ns1.wonderfulhosting.example.
typodomain.example      86400 IN NS ns2.wonderfulhosting.example.

This is relatively harmless since the records actually exist at typodomain.example.fixeddomain.example, but it is likely not what the user intended.

@thedaveCA
Copy link
Author

thedaveCA commented Mar 1, 2019 via email

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

No branches or pull requests

1 participant