From Newsgroup: comp.protocols.dns.bind
--Apple-Mail=_C531FB1D-8259-42AB-9E0C-40C3151B67BB
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
I think it=E2=80=99s reasonable for nsupdate to do the chunking on =
itself. Patches are always welcome, but if you can start by creating =
issue for us, it would be very much welcome. I can=E2=80=99t offer you =
any timeframe, but at least it won=E2=80=99t get lost.
Ondrej
--
Ond=C5=99ej Sur=C3=BD
ondrej@isc.org
On 1 Jun 2020, at 12:50, Andreas S. Kerber <ask@ag-trek.de> wrote:
=20
On Mon, Jun 01, 2020 at 04:11:43AM -0400, vom513 wrote:
Can anyone point me to an example of how to do this ? I have a =
script that rotates my DKIM keys, and uses nsupdate to publish. With =
1024 bit - I must be getting by by the skin of my teeth=E2=80=A6
=20
When I try 2048 bit, the record is obviously longer. All of my =
attempts of running it through the Rube Goldberg sed machine have failed =
- nsupdate chokes on format.
=20
Yeah, I had troubles with those 2048 bit DKIM records too. nsupdate =
will need it like this:
=20
server X.X.X.X
zone ag-trek.de
update add test.ag-trek.de. 86400 IN TXT "v=3DDKIM1; =
k=3Drsa;p=3DMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3LmxUW2tnM07YbofiO= GR3T6KS/BfHmyPYe0GOEEch/abeTjaL3OtuhmVmr4QMe2HV/6n5SBiVh4PE2wZxUcS2LMNbo5H= n7KO3UsTbIxCKuM6jvUpWtJPgC0uBGNkEARQVBSjW9pqYUQYkXzXLEULbu1AThgaUvCbVzWmvT= QeEFXbBWP24O/" = "LkiprI+iKRskRv0qgIOV0CRm32tk4MP/IcZBdjZ3sHrg3myjVJPfSUBOUyISXKRtiwfIgPeCj= 4V97Q+psmHvnDz9EID0eZaKih8neroRBETYDLFYjd6Pv9JTqrY7jXOHhM4kmOZOUyNXEIz22JV= uaNSJbtXzNWTKpyQIDAQAB"
=20
=20
Break up the record in chunks of less than 255 byte, enclose each of =
these parts with "" and feed nsupdate all of these chunks seperated with =
a space on one line.
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to =
unsubscribe from this list
=20
ISC funds the development of this software with paid support =
subscriptions. Contact us at
https://www.isc.org/contact/ for more = information.
=20
=20
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
--Apple-Mail=_C531FB1D-8259-42AB-9E0C-40C3151B67BB
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename=signature.asc
Content-Type: application/pgp-signature;
name=signature.asc
Content-Description: Message signed with OpenPGP
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEEw2Gx4wKVQ+vGJel9g3Kkd++uWcIFAl7U4ahfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEMz NjFCMUUzMDI5NTQzRUJDNjI1RTk3RDgzNzJBNDc3RUZBRTU5QzIACgkQg3Kkd++u WcLyaBAAsmx/kMFGOo+4qpTqsBDCb4jzgcQ1rjj3wZjr17ZCKFAjpR3ZmMnWyLZT Vnd6FAp2MbzOI3rz+DcaIoblEDXsKHABC4+y2CiE+bDcbkpDO6l+XSjQNGmIaFEg KaC+mwHB1gwt1z8ptrTdMn9t34ks0+VA/vm5mh92x/uG0IyGKwOTbH6nxIx8/yD4 7w+vExFruHLGDpp6zqgiX5UNAGJOrYSlRKmMdN2+xkWDK3ipzXdRl9bTGiel/LsG C2yWuSXUmXwrRrktIkAig++eyylnu49O0OKWjAiZgaDhFRD8BwoGPyj80SliVCh4 zlzHnr0ihArf7hh/7/pPLEO3INNFeg13d366aYNN7Iq62T9FnLGCfUSqyfAnMPtq +vSxXFBk8dA0yM1FWDPmfFYa7QEHK5ZrSA7CAPCh0VdDCWPTCturfq7lZzdJtywA vfIGLejFG2Y3p8igR6OMpV23TAwmx4OvYEpWqNnvGnlPHd/1bM5nEUweX71q6fLb eK/QUkUnIyGBcXCR/dKlLYRRG4u/3axyS8Rcoo1o5C+yNhNbUDyhXkA23XWXjoJb dPCo71YDDPYvIJyowJHuq8PMuXDHcVyNgVY/J1NrEFFZTD6YNSFADU9jo4BkHzj5 yKlsbHe74CPOnTbIqEtnBUoAmNX2ryZs7GkuLuhZhqbX2uNoaaU=
=U234
-----END PGP SIGNATURE-----
--Apple-Mail=_C531FB1D-8259-42AB-9E0C-40C3151B67BB--
--- Synchronet 3.21d-Linux NewsLink 1.2