Server Fault is a question and answer site for system and network administrators. 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


Is it possible to add some custom subdomains, for an existing domain name that's hosted on another DNS, for our internal DNS?


Currently, our developers at our office hack their own host files by adding in some custom subdomains like the following :-


and we own the domain BUT it's not hosted by us, but a 3rd party.

BUT, we do have an internal DNS server which is mainly being used as a CACHE server. Of course, we can add our own forward lookup zones. But if I do that, I'm afraid that all the EXISTING data for that real zone will not be used.

eg. imagine the zone has the following (but I don't know about it)


if I don't add that data to the zone, then when a user tries to access that domain .. it will not resolve. (and lets not talk about keeping the zone manually up-to-date ... cringe!)

So! is it possible to inherit (ack - my programming hat snuck back on) or to copy or sync a domain ... and then I manually add those 2 extra subdomains in for that zone .. but of course unless a person knows to use my internal DNS ... they will never been available to anyone.

Is this possible?

share|improve this question
Which DNS server are you using? The Active Directory one, or a different one (like bind)? – Mark Henderson Apr 5 '11 at 1:35
Windows Server 2008 r2 DNS. (I didn't think the dns software was important .. with the assumption being, most popular DNS software all do the same thing, more or less). Oh. and we're in a small AD network I set up also (6 users only). – Pure.Krome Apr 5 '11 at 2:28
it probably doesn't, but better safe than sorry :) – Mark Henderson Apr 5 '11 at 3:09
up vote 0 down vote accepted

You can do it if you are willing to change your layout a bit. I would do something like then under it have Or you could do something like and then

Another option would be to do something like internally (i know i know, making up TLDs is not cool, but it works and well it works). Or if you want to be kosher get a separate dev domain and test against that.

Another option is to just add the dev entries to your public dns.

Actually just thought up another hack that might work, but would require some manual intervention.

  1. Create a zone
  2. set the @ record to your public IP
  3. create a host
  4. create a zone
  5. set the @ record to your dev instance.

This way your DNS server will only think it's authoritative for, and and pass anything else under to the outside DNS servers.

It's a hack, and you'll have to manually update the @ record for www when it changes, but it'll work

share|improve this answer
So u're basically saying: U can't extended an existing zone. U gotta do some other hacks? – Pure.Krome Apr 5 '11 at 3:15
@Pure correct, your local server would think that it is authoritative for that zone, and return NXDomain for any records not present. IF you wanted to manually mirror the production setup (uhg) you could get away with it. – Zypher Apr 5 '11 at 3:23
@Zypher - how could I mirror the primary zone? – Pure.Krome Apr 5 '11 at 3:25
@Pure Manually. – Zypher Apr 5 '11 at 3:26
@Zypher -damn. exactly what i want to avoid. What about making a secondary? could I do something like that? – Pure.Krome Apr 5 '11 at 3:32

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.