Making a DNS zone authoritative for only a single record in a domain?
Posted on 2010-01-04
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 220.127.116.11. On my internal private network, I need vpn.corp.com to resolve to 192.168.1.1.
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.