If I connect to my home server via the domain name (i.e. via the external IP address), where do the packets travel? Do they travel to the home router, to my ISP router, and then back? Presumably if they touch my ISPs router, then I will get charged for this usage.
I've set up OwnCloud on my home server. I'll often connect from the same intranet, and can use 192.168.1.1. However, if I'm on a different network, I connect via a domain name that has been dynamically assigned to the IP address. For ease of configuration, I was thinking of specifying the server by using the domain name at all times.
I've tested by pinging, and get slightly quicker results when using the internal IP address.
$ ping -c 10 192.168.1.1 ... rtt min/avg/max/mdev = 1.064/1.173/1.263/0.072 ms $ ping -c 10 myname.dynu.com ... rtt min/avg/max/mdev = 1.191/1.459/2.549/0.375 ms
I've tried using traceroute on both. The internal IP address times out (perhaps because of firewall settings?). The external has one hop to
my-external-ip-address.dyn.iinet.net.au. I'm not sure if this refers to my router, or the node at the exchange.