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

DNS - forward unknown queries in primary zone

We are redirecting some of our own domain names back to their private IP's using our internal DNS server.  This works fine.  Right now we have it setup so each fqdn we want to redirect is its own primary zone.

For example

sub1.domain.com
sub2.domain.com
sub3.domain.com

are all primary zones.

I'd like to set it up so that domain.com is a primary zone and each sub domain is just an A record.  If I do that, queries for the sub domains I haven't redirected aren't forwarded and don't resolve.  What can I do to make that zone forward queries for non existant sub domains?  I also want the zone replicated to all of our internal DNS servers.  Or, is there a better way to accomplish the redirection?
0
Tofu4679
Asked:
Tofu4679
1 Solution
 
Chris DentPowerShell DeveloperCommented:

Nothing I'm afraid.

At least not with MS DNS. You could potentially do something with BIND, but you would be looking at re-writing parts of it, and it might not be quite what you expect as you would be interrupting the normal NXDOMAIN response.

I'm sorry it's not better news, but adding a zone makes a server authoritative for it. If it's authoritative it will never forward requests for that domain out unless explicitly instructed by a delegation.

Chris
0
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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