I'm wondering if it advisible to use use a stub zone in this situation and could use some advice. Today we have a secondary DNS zone defined on our production DNS DC that is contains host/alias record for a very active test DNS domain. Currently when we add/delete/change a record in the test zone we apply the change and though a VBScript we initiate a forced zone transfer to occur immediately so the secondary zones contain the update. All is currently working well but we thought that instead of a secondary zone we would try using a stub zone so we setup a bogus test zone to confirm that things were working like we wanted and found an issue that I need advice on.
I should have explained that this the DC only contains internal (non-public) zones however we DO forward external queries from this server to the internet and we DO have the server setup to cache the entries that it resolves from zones that the DC does not host.
In testing the change from a secondary zone to a stub zone we noted that if a name resolution took place involving the stub zone, that entry was placed in the servers cache. The problem arises when you need to change the IP address and now the record in the primary zone is different than the record in the cache on the production DC. Since the server goes to the cache before querying the stub zone, a subsequent query always results in the wrong resolution unless you flush the record out of the cache.
What I'm looking for is some options or solutions to this cache problem. What I was looking for was a way to set the TTL for all records in the zone down to a short TTL but I have not been able to find a way to do that except on a record-by-record basis. I have tried to find some means of deleting a single record from the cache through a script or command line program and so far I've come up short. Any help would be appreciated.
I should have explained that this the DC only contains internal (non-public) zones however we DO forward external queries from this server to the internet and we DO have the server setup to cache the entries that it resolves from zones that the DC does not host.
In testing the change from a secondary zone to a stub zone we noted that if a name resolution took place involving the stub zone, that entry was placed in the servers cache. The problem arises when you need to change the IP address and now the record in the primary zone is different than the record in the cache on the production DC. Since the server goes to the cache before querying the stub zone, a subsequent query always results in the wrong resolution unless you flush the record out of the cache.
What I'm looking for is some options or solutions to this cache problem. What I was looking for was a way to set the TTL for all records in the zone down to a short TTL but I have not been able to find a way to do that except on a record-by-record basis. I have tried to find some means of deleting a single record from the cache through a script or command line program and so far I've come up short. Any help would be appreciated.