curveprotect software (experimental)

How to insert the CurveCP key into the DNS record

Replace domain, IP, extension, CurveCP key directory with Your domain, IP, extension, CurveCP key directory.

  • domain example.server.com
  • IP 1.2.3.4
  • extension 00000000000000000000000000000000
  • CurveCP key in directory serverkey

  • print the public key encoded in base32:

    /opt/curveprotect/bin/netcurvecpprintkey32 serverkey
    ghc5bgs73rmp6n2jzk8bm6bdc8nwz8hw9q424bvl94858fss6fh
      

    insert the nym uz7 + the CurveCP key and the extension into the DNS record as a CNAME (tinydns format):

    +uz7ghc5bgs73rmp6n2jzk8bm6bdc8nwz8hw9q424bvl94858fss6fh.00000000000000000000000000000000.server.com:1.2.3.4
    Cexample.server.com:uz7ghc5bgs73rmp6n2jzk8bm6bdc8nwz8hw9q424bvl94858fss6fh.00000000000000000000000000000000.server.com
      

    check the DNS record

    apache@apache:~$ /opt/curveprotect/bin/dq a example.server.com
    1 example.server.com - regular DNS:
    149 bytes, 1+2+0+0 records, response, noerror
    query: 1 example.server.com
    answer: example.server.com 31331 CNAME uz7ghc5bgs73rmp6n2jzk8bm6bdc8nwz8hw9q424bvl94858fss6fh.00000000000000000000000000000000.server.com
    answer: uz7ghc5bgs73rmp6n2jzk8bm6bdc8nwz8hw9q424bvl94858fss6fh.00000000000000000000000000000000.server.com 31331 A 1.2.3.4