Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disabling additional cache in BIND 9.3.4

Status
Not open for further replies.

timkbcn

Technical User
Sep 23, 2008
1
CA
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!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top