Hello,
I've been trying to find a way to disable caching of records provided in the additional-section from a regular DNS query.
So, as an example:
- I query the proper result gets returned, but in the additional section is the glue for the delegation.
- The glue in the delegation is incorrect (long story why), so ns.test.com points to 1.2.3.4, when it should point to 4.5.6.7.
- BIND caches ns.test.com to point to 1.2.3.4.
- When I flush the cache and do a regular A record lookup for ns.test.com, I get the proper IP of 4.3.2.1.
I can see that BIND 9.4 has a parameter of acache-enabled (set to no) which looks to give me exactly I want.
Does anybody know the best way to disable additional-section caching on BIND 9.3.4?
Also... What's the best way to disable caching on a server that has recursion enabled? Would it be just to set the max-cache-ttl to something really low, like 5 seconds? That's my backup plan.
Any help appreciated - thanks!
I've been trying to find a way to disable caching of records provided in the additional-section from a regular DNS query.
So, as an example:
- I query the proper result gets returned, but in the additional section is the glue for the delegation.
- The glue in the delegation is incorrect (long story why), so ns.test.com points to 1.2.3.4, when it should point to 4.5.6.7.
- BIND caches ns.test.com to point to 1.2.3.4.
- When I flush the cache and do a regular A record lookup for ns.test.com, I get the proper IP of 4.3.2.1.
I can see that BIND 9.4 has a parameter of acache-enabled (set to no) which looks to give me exactly I want.
Does anybody know the best way to disable additional-section caching on BIND 9.3.4?
Also... What's the best way to disable caching on a server that has recursion enabled? Would it be just to set the max-cache-ttl to something really low, like 5 seconds? That's my backup plan.
Any help appreciated - thanks!