What is DNSSEC and how does it work?
DNSSEC authenticates DNS queries and responses by using cryptographic digital signatures. Learn more and how BlueCat can help to make implementation easier.
Read moreTSIG (Transaction Signature) is a DNS security mechanism that authenticates DNS messages between two known parties using a shared secret key and keyed hash, primarily protecting zone transfers and dynamic updates. It replaces weak source IP-based validation with cryptographic authentication, ensuring that only parties holding the correct key can perform sensitive DNS operations. Proper implementation requires synchronized clocks, careful key management, secure key distribution, and explicit binding of keys to access rules to avoid operational failures and security exposure.
TSIG uses a shared secret key and a keyed hash to prove that a DNS message came from a party holding the key and was not altered in transit. Both sides must be configured with the same key name, algorithm and secret beforehand.
TSIG authenticates and protects the integrity of messages but does not encrypt them. Because it relies on a shared secret, it fits communication between known parties, not public resolution, and clocks on both sides need to stay reasonably synchronized.
TSIG includes a timestamp, and the receiver rejects messages outside an allowed time window. If server clocks drift, transfers or updates fail with a bad time error even though the key is correct. Synchronizing both sides with NTP usually resolves it.
The key name, algorithm and secret must all match on both sides. A typo in the secret, a different algorithm or a differently spelled key name causes a bad signature or unknown key error, and the request is refused.
Defining a key does not by itself require it. If the zone still allows transfers or updates by source IP address, unsigned requests can succeed. The access rule must name the key explicitly.
Secrets pasted into tickets, shared across many zones or never rotated widen the exposure if one is leaked. Using a separate key per relationship and rotating it on a schedule limits the damage.
TSIG signs messages but does not encrypt them. Zone contents sent during a transfer can still be read on the wire unless the transport is also protected, for example with TLS.