Skip to content

Instantly share code, notes, and snippets.

@rgarrigue
Created April 5, 2017 14:32
Show Gist options
  • Save rgarrigue/9beab2652481a592287b4046634557c2 to your computer and use it in GitHub Desktop.
Save rgarrigue/9beab2652481a592287b4046634557c2 to your computer and use it in GitHub Desktop.
[root@ns01 named]# nsupdate -d
> server 127.0.0.1
> zone build.company.net
> key hmac-md5:local DowgVbhDayyW7jJGq6+scE1I3/E6NCAAAAAA7wRnijkjN4jKWdL5uIIfxsVg1VKZfEdfw82eLPvAwOf/UI666A==
> update add www 86400 a 10.210.10.123
> send
Sending update to 127.0.0.1#53
Outgoing update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 12959
;; flags:; ZONE: 1, PREREQ: 0, UPDATE: 1, ADDITIONAL: 1
;; ZONE SECTION:
;build.company.net. IN SOA
;; UPDATE SECTION:
www. 86400 IN A 10.210.10.123
;; TSIG PSEUDOSECTION:
local. 0 ANY TSIG hmac-md5.sig-alg.reg.int. 1491402433 300 16 r3hCARXg/9yHqWbed5YixA== 12959 NOERROR 0
Reply from update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOTAUTH, id: 12959
;; flags: qr ra; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 1
;; ZONE SECTION:
;build.company.net. IN SOA
;; TSIG PSEUDOSECTION:
local. 0 ANY TSIG hmac-md5.sig-alg.reg.int. 1491402433 300 16 AKCMZ7FU0fdSyNFLR9V5hw== 12959 NOERROR 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment