Project

General

Profile

Draft 20 version of DNS API » History » Version 3

Brian Gupta, 05/09/2011 03:42 AM
fixed whitespace

1 1 Brian Gupta
h1. Draft 20 version of DNS API, with working notes
2
3
_.DNS |
4
|/dns|POST|Create a new DNS record|@{"fqdn":string(name/ip), "value":string(ip/reverse), "type":string(A/PTR)}@|
5
|/dns/value|DELETE|remove value(ip or reverse) DNS record||
6
7 2 Brian Gupta
h2. Record types
8 1 Brian Gupta
9 2 Brian Gupta
h3. Should be implemented in next version of DNS API
10 3 Brian Gupta
11 1 Brian Gupta
/dns/zone/A (supports multiple records)
12
/dns/zone/PTR (Does not support multiple records)
13
/dns/zone/CNAME (Bind 9 doesn't support roundrobin cnames, so we should at first limit CNAMEs to a single record)
14
/dns/zone/AAAA (supports multiple records)
15
/dns/zone/TXT (supports multiple records)
16
/dns/zone/SPF (supports multiple records)
17
/dns/zone/MX (Needs an extra preference number field, supports multiple records)
18
19 2 Brian Gupta
h3. Deferred:
20 3 Brian Gupta
21 1 Brian Gupta
/dns/zone/SOA (Can not be dynamically deleted, and needs extra code to handle)
22
/dns/zone/NS (Needs manual serial number increment
23
/dns/zone/SRV (Needs more research.. It might be easy enough, but isn't a priority yet)
24
25 2 Brian Gupta
h2. Ohad notes
26 3 Brian Gupta
27 1 Brian Gupta
GET /dns -> list of dns zones managed by that proxy
28
GET /dns/zone -> list of all zone records
29
GET /dns/zone/record_type list of all dns records with a given type, for
30
example all CNAME would be /dns/1.2.3.4/CNAME
31
GET /dns/zone/record -> details of the specific record.
32
33
POST /dns/zone -> creates a new record
34
DELETE /dns/zone/record -> deletes a record
35
36 2 Brian Gupta
h3. Brian notes
37 3 Brian Gupta
38 1 Brian Gupta
Dynamic DNS RFC http://tools.ietf.org/html/rfc2136
39
Howto: http://caunter.ca/nsupdate.txt
40
41
SOA: https://lists.isc.org/pipermail/bind-users/2003-November/047015.html
42
MX: http://forums.devshed.com/dns-36/using-nsupdate-to-add-an-mx-record-326788.html
43
NS: http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1304925290721+28353475&threadId=702920