cisagov / manage.get.gov

A Django-based domain name registrar used by the .gov domain to communicate with an EPP registry
https://get.gov
Other
53 stars 14 forks source link

Collect IP addresses only when an NS record's domain is different #2368

Open vickyszuchin opened 3 days ago

vickyszuchin commented 3 days ago

Issue description

We use the error "Name server address does not match domain name" but we should only show the IP address field when the "Name server" address entered is the name they're managing.

Refer to slack discussion for example.

Acceptance criteria

Additional context

Analysis: make it a conditional logic. It is just a text field which means we have only a few options for implementation:

  1. check as they type if it matches which raises some performances concerns and given the length of host names may result in many checks
  2. tie the check to a button that the user has to click (not a great user experience
  3. check the value when they leave the text box with tab or clicking. Number 3 is the best solution but can also get a bit tricky, but should still be doable.

Links to other issues

Related to:

h-m-f-t commented 3 days ago

I agree option 3 feels like a viable solution.