From: Amith Varghese (amith_at_xalan.com)
Date: Fri Sep 06 2002 - 01:06:18 CEST
I'm trying to set up tinydns to use opportunistic encryption and i've
seen a couple messages saying that the generic record format should be
used for the KEY records. So on
http://cry.yp.to/djbdns/tinydns-data.html it says
:fqdn:n:rdata:ttl:timestamp:lo
Generic record for fqdn. tinydns-data creates a record of type n for
fqdn showing rdata. n must be an integer between 1 and 65535. The proper
format of rdata depends on n. You may use octal \nnn codes to include
arbitrary bytes inside rdata.
So, what I've done is done the following
:<my fqdn>:25:<output from ipsec showhostkey>
the 25 i got from the RFC 2535 which says
The type number for the KEY RR is 25.
Now the part that I have a question on is the rdata field. What I've
done is wrote a little script that takes the output of ipsec showhostkey
and converts all the characters to octal values. Will this work for
ipsec if everything is in octal? Or does it all have to be ascii
values.
Any help is appreciated.
Thanks
Amith Varghese
_______________________________________________
Users mailing list
Users_at_lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/users
This archive was generated by hypermail 2.1.5 : Wed Oct 30 2002 - 05:20:33 CET