In the database settings not the IP address, but the domain

Started by elizaanderson, Dec 08, 2022, 01:38 AM

Previous topic - Next topic

elizaandersonTopic starter

Good day,
there are many web sites, and there is one database server for all sites, they are developing rapidly and have been building up the database server twice in a year, transferring it, etc. and each time you have to change the connection parameters to the database, or rather its host, in the site settings. At the moment, the IP address is indicated.

Now there is an idea to specify in the site settings not the IP address, but the domain. The question is, will specifying the domain somehow affect the performance of connecting to the database? After all, it will take time for the DNS server to convert the domain into an IP address.


This may occur:
But if everything is configured correctly, there will be no significant delays.