Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I am in the office I want to resolve to

If I am in the wild I want to resolve to whatever resolves to.

Windows 7. How can I do that?

share|improve this question
so... isn't a real address? that is, a real DNS will give you an address for, but not for (or is resolvable, but resolves to something other than – quack quixote Nov 18 '09 at 19:15
The odd reference to aside, I guess Geoff's answer is correct for your situation. For more generic location-aware preferences see – Arjan Nov 18 '09 at 21:18

You don't state whether or not this an office you have control over (a home office, for example). I'll assume you do have control.

Set up your in-office DNS server with your desired record. When you are out of the office, the DNS servers you get access to will use the the "normal" records.

As for how to do this? If your wireless or broadband router does not let you add specific DNS records (which would override the need to hit the internet to resolve, you will need to set up your own DNS server with that record, and then forward all other queries to the internet. To make a seamless switch between office and non-office, use DHCP in the office to feed your machine your own custom DNS server, otherwise your machine will be given some other name server when out in the wild.

There are lots of Windows DNS server solutions, free or otherwise. I'll leave that research to you.

share|improve this answer

If your office runs Simple DNS Plus (a DNS server for Windows), you can use the "NAT IP Alias" feature. This ensures that you get the private IP address when accessing the site from the LAN, but the public IP address when accessing from anywhere else. See

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .