Hi, I'm trying to build an automated update system for OPENPGPKEY records with BIND 9 9.9.6-P2 and "nsupate".
I've verified the TSIG keys, I can add and remove TXT records with the key under the domain name. Adding a 6K PGP key as OPENPGPKEY does fail with 21-Feb-2015 13:24:19.714 dns_rdata_fromtext: buffer-0x7f04662e14f0:1: near eof: unexpected end of input invalid rdata format: unexpected end of input Below is the debug output from nsupdate: setup_system() Creating key... namefromtext keycreate reset_system() user_interaction() do_next_command() do_next_command() do_next_command() update_addordelete() do_next_command() start_update() recvsoa() About to create rcvmsg show_message() Reply from SOA query: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44542 ;; flags: qr aa; QUESTION: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1 ;; QUESTION SECTION: ;f437b55d4fb40f93bbfa04802a6a2bcf8b69d5ee93d1b53259e6e4fc._openpgpkey.sys4.de. IN SOA ;; AUTHORITY SECTION: _openpgpkey.sys4.de. 900 IN SOA danens1.sys4.de. hostmaster.sys4.de. 1000003 7200 3600 3542400 900 ;; TSIG PSEUDOSECTION: f437b55d4fb40f93bbfa04802a6a2bcf8b69d5ee93d1b53259e6e4fc._openpgpkey.sys4.de. 0 ANY TSIG hmac-sha256. 1424521459 300 32 1e+FXn+fpeSOtiwXfC4KsDQwyGYO8q5VtS95aqhwJGw= 44542 NOERROR 0 Found zone name: _openpgpkey.sys4.de The master is: danens1.sys4.de send_update() Sending update to 5.45.109.212#53 show_message() Outgoing update query: ;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 10928 ;; flags:; ZONE: 1, PREREQ: 0, UPDATE: 1, ADDITIONAL: 1 ;; UPDATE SECTION: f437b55d4fb40f93bbfa04802a6a2bcf8b69d5ee93d1b53259e6e4fc._openpgpkey.sys4.de. 0 ANY ANY ;; TSIG PSEUDOSECTION: f437b55d4fb40f93bbfa04802a6a2bcf8b69d5ee93d1b53259e6e4fc._openpgpkey.sys4.de. 0 ANY TSIG hmac-sha256. 1424521459 300 32 BoYO8mOklQiZXgOvcM0zGpw+wzuhVQj0Qx1yOBvCu3s= 10928 NOERROR 0 Out of recvsoa update_completed() tsig verification successful show_message() Reply from update query: ;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 10928 ;; flags: qr; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 1 ;; ZONE SECTION: ;_openpgpkey.sys4.de. IN SOA ;; TSIG PSEUDOSECTION: f437b55d4fb40f93bbfa04802a6a2bcf8b69d5ee93d1b53259e6e4fc._openpgpkey.sys4.de. 0 ANY TSIG hmac-sha256. 1424521459 300 32 LAa1ANz/k/B+TwEfMSjw2A+OMPxQQgHZRuvM6uY8WMY= 10928 NOERROR 0 done_update() reset_system() user_interaction() do_next_command() update_addordelete() 21-Feb-2015 13:24:19.714 dns_rdata_fromtext: buffer-0x7f04662e14f0:1: near eof: unexpected end of input invalid rdata format: unexpected end of input syntax error Is there an error in the "generic RR" syntax (generated by hash-slinger)? Might this be an buffer issue? -- Carsten Strotmann Email: c...@strotmann.de Blog: strotmann.de _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users