Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 have two domains pointing to the same machine, but one resolves to an internal address and the other to my internet facing router, will there be any differnce in route taken to my machine (primarily in terms of performanc).

eg. resolves to resolves to A.Web.External.IP

both eventually resolve back to the same machine. For a client in the network, will using the external address give a performance penalty?

share|improve this question
up vote 4 down vote accepted

Yes, but only slight. The traffic will have to first go to the router, where it will be forwarded on to the machine. If there is a massive amount of traffic and the router isn't man enough for the job you may notice some slowdown.

share|improve this answer

As @Matt already noted, yes, there is slight slowdown. However, there is also solution for that: split DNS. In split-horizon DNS you answer with different records depending on where request comes from. Example configuration for bind9:

view "trusted" {
 match-clients {; }; // our network
 recursion yes;
 // other view statements as required
 zone "" {
  type master;
  // private zone file including local hosts
  file "internal/";
 // add required zones
view "badguys" {
 match-clients {"any"; }; // all other hosts
 // recursion not supported
 recursion no;
 // other view statements as required
 zone "" {
  type master;
  // public only hosts
  file "external/";
// add required zones


That way bind will serve internal/ to requests coming from your LAN and external/ for requests coming from internet. Advantage is that you can use same addresses from both networks, but LAN traffic is not going through your router.

share|improve this answer
Easy if you run your own DNS server inside the network... Impossible if it's someone else's DNS server... – Majenko Feb 27 '11 at 13:35
You can also provide your own caching DNS server(s) to provide split DNS functionality if the external server is not on your network. I user dnsmasq to do so. – BillThor Feb 27 '11 at 17:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.