-
Notifications
You must be signed in to change notification settings - Fork 259
Closed
Milestone
Description
Recently updated dnsjava from 2.1.9 to 3.0.2. After update, DDNS updates failed with invalid TSIG response from nameserver. Was using constructor of TSIG(String name, String key) with default algorithm of hmac-md5. Also tried specifying HMAC-MD5 algorithm Name with same result.
Sample code (works in v2.1.9 but fails with 3.0.2):
resolver.setTSIGKey(new TSIG(TSIG.HMAC_MD5, keyname, zone.getTsig_priv_key())); resolver.setTCP(true); response = resolver.send(update); log.trace("DDNS Response:\n{}",response.toString());
Response from (BIND 9.11.x nameserver) when using dnsjava 3.0.2:
;; ->>HEADER<<- opcode: UPDATE, status: SERVFAIL, id: 46875
;; flags: qr ; qd: 1 an: 0 au: 0 ad: 0
;; TSIG invalid
Metadata
Metadata
Assignees
Labels
No labels