You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the IPAddress model supports only a single dns_name value (string field).
I propose extending this design to enable assigning multiple DNS names to a single IP address.
Use case
Many operational environments map multiple DNS records to the same IP address, such as:
multiple A-records for applications (e.g., www.example.com, api.example.com);
multiple service-specific hostnames pointing to one reverse proxy or load balancer;
Database changes
Modify the IPAddress model by replacing the existing dns_name field (string) with a list-type field capable of storing multiple DNS names.
Convert the current dns_name (CharField) to ArrayField(CharField)
External dependencies
No new external dependencies are required.
jdavidson2021, Etibru, 0lini, ounorton, lchabert and 1 moremkriegs