• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 411
  • Last Modified:

Making a DNS zone authoritative for only a single record in a domain?

Is there some way to create a DNS zone that is authoritative for only a single A record that would treat the rest of the zone like a cache-only server?

In other words, I need to setup a DNS server for a private network that will return a different IP address for a certain record than what the internet DNS servers will return.

For example, say my domain is corp.com and my Internet DNS has a record for vpn.corp.com which points to  On my internal private network, I need vpn.corp.com to resolve to

I know I could set up a local DNS server which is authoritative for corp.com and put the record there, but I don't want to have to update this local DNS zone every time the "real" DNS zone is updated (which happens fairly frequently).

Unfortunately I don't have any access to make changes to the public DNS servers or zone files for corp.com.

It would be great if I could find some way to have a zone file on my local DNS server that is only authoritative for the vpn.corp.com record, and if it needed to resolve any other records for the corp.com domain it would act just like a cache-only server and forward those requests on.

I haven't set anything up yet so I'm able to use pretty much whatever software will work.  I prefer something that is free and will work on Linux.
1 Solution
Chris DentPowerShell DeveloperCommented:

You're so close, just needed a step back...

Create a zone called "vpn.corp.com", add a Host (A) record with a blank name (or "@ IN A <IPAddress>") and you have exactly the override for a single name you appear to be after :)


FWestonAuthor Commented:
Perfect, I actually thought of this right after I posted the question.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now