Knowledge Base ISC Main Website Ask a Question/Contact ISC
What does 'rndc nta' do and when should I use it?
Author: Brian Conry Reference Number: AA-01418 Views: 362 Created: 2016-09-06 13:49 Last Updated: 2016-10-04 20:52 0 Rating/ Voters

Question:

I've heard that there's a new rndc command in BIND 9.11.0 - 'rndc nta'.  What does it do?

Answer:

'rndc nta' is used to temporarily disable DNSSEC validation for a domain, allowing unsigned and/or non-validating signed data to be returned by an otherwise-validating resolver.  This is called a 'negative trust anchor', or 'nta' for short.

Question:

Great!  So when should I use it?

Answer:

You probably shouldn't.

Question:

Okay... so why did you implement it?

Answer:

DNSSEC exists so that resolvers can choose to verify that the results they received have been properly signed by a a key that can be proven to be the 'correct' key by a chain of signed keys traceable all the way up to the known key for the root zone.  The purpose of doing this validation is so that no one unauthorized can tamper with the zone data without DNSSEC detecting it, so that the modified and/or spoofed data can be discarded.  In theory that's the only time that DNSSEC validation will fail.

In practice, sometimes things don't work smoothly.  For example, a key might not get replaced before it expires, or signatures get published for the wrong key, or the parent zone publishes corrupted DS records, or any of a number of other issues (some human, some technical) can cause a zone to fail validation by breaking the chain of signatures up to the known root zone key.

The 'rndc nta' command exists to allow the operator of a resolver to specify that they want to disable DNSSEC validation for a particular domain for a limited period of time.  During this time unvalidated answers will be used and returned to queries, and (it is hoped) the issues causing the validation failure will be fixed.

It is important to note that while validation is turned off that the domain in question will be no more secure than any unsigned zone.  If the zone is failing to validate due to human error or accident then this generally won't pose a significant threat.  If, on the other hand, the zone is failing to validate due to an an attack, on either the owner of the zone or the operator of the resolver on which 'rndc nta' will be run, then it is possible that disabling validation will be of more help to the attacker than it will be to anyone else.

It is therefore the responsibility of the server operator to verify the cause of the validation failures and ensure that those failures are due to acknowledged issues, all based on information obtained from trustworthy sources, before issuing the 'rndc nta' command.

To put it another way, a validation failure is DNSSEC successfully detecting data with unverifiable provenance and preventing it from being used.  That is what DNSSEC was created and designed to do.  All of the other details for managing keys, signature records, provable non-existence, chains of trust, etc. exist only to support the goal of preventing suspect data from being sent to innocent DNS clients.

If an operator chooses to blindly disable validation for a zone 'in trouble' without ensuring that there are confirmed legitimate reasons for the failures then they are preventing DNSSEC from fulfilling the purpose for which it was created.


© 2001-2016 Internet Systems Consortium

Please help us to improve the content of our knowledge base by letting us know below how we can improve this article.

If you have a technical question or problem on which you'd like help, please don't submit it here as article feedback.

For assistance with problems and questions for which you have not been able to find an answer in our Knowledge Base, we recommend searching our community mailing list archives and/or posting your question there (you will need to register there first for your posts to be accepted). The bind-users and the dhcp-users lists particularly have a long-standing and active membership.

ISC relies on the financial support of the community to fund the development of its open source software products. If you would like to support future product evolution and maintenance as well having peace of mind knowing that our team of experts are poised to provide you with individual technical assistance whenever you call upon them, then please consider our Professional Subscription Support services - details can be found on our main website.

Feedback
  • There is no feedback for this article
Info Submit Feedback on this Article
Nickname: Your Email: Subject: Comment:
Enter the code below:
Quick Jump Menu