This all depends on where your site is running and how you access it. For instance, if you have a local instance running on an internal network, it will get your internal network IP address, hence it returning a 10.100 address. If you have an external site on a DMZ outside your firewall and if you access it internally it typically proceeds out through the firewall and accesses your domain, this returning your public facing IP address.
I'd get a better feel for how your network is setup then come report that and we can troubleshoot more from there.