Admin-Ahead Community

Linux => Control Panels => DirectAdmin => Topic started by: Jithin on December 27, 2013, 09:22:58 pm

Title: DNSSEC API for DirectAdmin
Post by: Jithin on December 27, 2013, 09:22:58 pm
Hi Guys,

This is a new feature added in Version 1.442 released on 12/26/13


Uses the standard command:

CMD_API_DNS_ADMIN
Method: GET or POST

-----------------------------------------------

Show dnssec data for a given zone:
domain=domain.com
action=dnssec
value=get_keys

Returns encoded url array:
DLV = #the 2 raw DLV records from the zone, including a newline
DS = #the 2 raw DS records from the zone, including a newline
expiry = 1389449842
ksk_activate = Tue Nov 12 04:29:26 2013
ksk_created = Tue Nov 12 04:29:26 2013
ksk_id = 26236
ksk_publish = Tue Nov 12 04:29:26 2013
ksk_type = key-signing
signed_on = 1386407843
zsk_activate = Tue Nov 12 04:29:26 2013
zsk_created = Tue Nov 12 04:29:26 2013
zsk_id = 2721
zsk_publish = Tue Nov 12 04:29:26 2013
zsk_type = zone-signing

-----------------------------------------------

Generate Keys:
generate_keys=anything
domain=domain.com

-----------------------------------------------

Sign Zone:
sign_zone=anything
domain=domain.com

You must generate the keys before signing the zone.