How to use domain name to access SVN warehouse to realize internal IP for internal network and external IP for external network? Do you want to modify DNS?

  git, question

For example, I use SVN:// to link warehouses.
The external network is already accessible. How can svn automatically use the ip of the internal network to link when using the internal network

Is it necessary to configure DNS servers in the intranet?
How can this function be implemented without DNS configuration?

Do not configure DNS, then write hosts