Hi,
I’m trying to update records with TSIG keys:
nsupdate -d
> server ns1.dynv6.com
> zone myhost.v6.rocks
> update delete myhost.v6.rocks A
> update add myhost.v6.rocks 60 A xxx.xxx.xxx.xxx
> key hmac-sha256:tsig-123.dynv6.com MySHAREDsecret==
> send
Sending update to 95.216.144.82#53
Outgoing update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 6196
;; flags:; ZONE: 1, PREREQ: 0, UPDATE: 2, ADDITIONAL: 1
;; ZONE SECTION:
;myhost.v6.rocks. IN SOA
;; UPDATE SECTION:
myhost.v6.rocks. 0 ANY A
myhost.v6.rocks. 60 IN A xxx.xxx.xxx.xxx
;; TSIG PSEUDOSECTION:
tsig-123.dynv6.com. 0 ANY TSIG hmac-sha256. 1628541072 300 32 kvGyBB/0twqVABRreMs/YbufHjYvYAfwU5aoAykwmZs= 6196 NOERROR 0
; TSIG error with server: tsig verify failure
Reply from update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOTIMP, id: 6196
;; flags: qr; ZONE: 1, PREREQ: 0, UPDATE: 2, ADDITIONAL: 1
;; ZONE SECTION:
;myhost.v6.rocks. IN SOA
;; UPDATE SECTION:
myhost.v6.rocks. 0 ANY A
myhost.v6.rocks. 60 IN A xxx.xxx.xxx.xxx
;; TSIG PSEUDOSECTION:
tsig-123.dynv6.com. 0 ANY TSIG hmac-sha256. 1628541072 300 32 kvGyBB/0twqVABRreMs/YbufHjYvYAfwU5aoAykwmZs= 6196 NOERROR 0
Unfortunately I get a TSIG error with server: tsig verify failure
and the record isn’t updated. What am I doing wrong here?
BR