size limit on RDATA in nsupdate

2015-02-21 Thread Carsten Strotmann
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_fr

Re: size limit on RDATA in nsupdate

2015-02-21 Thread Carsten Strotmann
Addition: this is how the nsupdate line for the record looks like add f437b55d4fb40f93bbfa04802a6a2bcf8b69d5ee93d1b53259e6e4fc._openpgpkey.sys4.de. IN TYPE61 \# 3340 99020d[] The RDATA size after "\#" seems to be correct. -- Carsten Strotmann Email: c...@strotmann.de Blog: strotmann.de ___

Re: size limit on RDATA in nsupdate

2015-02-21 Thread Mark Andrews
I doubt that it is a buffer issue. The input text buffer is 128K which should be big enough for a 64K rdata. Mark In message <86d253zbl1@strotmann.de>, Carsten Strotmann writes: > Hi, > > I'm trying to build an automated update system for OPENPGPKEY records > with BIND 9 9.9.6-P2 and "nsup

Re: size limit on RDATA in nsupdate

2015-02-21 Thread Mukund Sivaraman
On Sun, Feb 22, 2015 at 12:20:28AM +1100, Mark Andrews wrote: > > I doubt that it is a buffer issue. The input text buffer is 128K which > should be big enough for a 64K rdata. At the top of nsupdate.c, MAXCMD is (128 * 1024) in master and v9_10 whereas it is (4 * 1024) in v9_9. This is probably

Re: size limit on RDATA in nsupdate

2015-02-21 Thread Shumon Huque
On Sat, Feb 21, 2015 at 7:35 AM, Carsten Strotmann wrote: > 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 P

Re: size limit on RDATA in nsupdate

2015-02-21 Thread Carsten Strotmann
Hello Mukund, Mukund Sivaraman writes: > On Sun, Feb 22, 2015 at 12:20:28AM +1100, Mark Andrews wrote: >> >> I doubt that it is a buffer issue. The input text buffer is 128K which >> should be big enough for a 64K rdata. > > At the top of nsupdate.c, MAXCMD is (128 * 1024) in master and v9_10

Re: size limit on RDATA in nsupdate

2015-02-21 Thread Carsten Strotmann
Hello Shumon, Shumon Huque writes: > On Sat, Feb 21, 2015 at 7:35 AM, Carsten Strotmann > wrote: > > 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