is the following problem easy to solve?
I've got some git repos and added a remote. From outside there is a repository address git@my.externhostname.com/~/git/ ...
From inside it is git@192.168.1.10/~/git
is there any way to configure it dynamically, i.e. when I am within my personal network I want to resolve the adress my.externhostname.com to above mentioned ip.
But if the address isn't reachable (I am outside the network) I want to use a basic DNS server to resolve it.
Any ideas?
Thanks a lot!