It can't do that.
You can add a DNS entry for 10.10.10.1
, and put the hostname in that field instead of the IP address, but it's just XML - there's no way to call a method from that line to run code and figure out what IP address it should connect to.