1234567891011121314151617181920212223242526272829303132333435363738394041 |
- {
- "defaults": {
- "action": "add_host",
- "domain": "example.com",
- "reverse_domain": "1.168.192",
- "reverse_enabled": true,
- "record_type": "A",
- "dhcp_mac": "",
- "record_ttl": 84600,
- "soa_ns": "ns.example.com",
- "soa_mail": "root.example.com",
- "soa_refresh": 86400,
- "soa_retry": 7200,
- "soa_expire": 3600000,
- "soa_ttl": 172800
- },
- "actions":[
- {
- "action": "add_domain",
- "domain": "1.168.192.in-addr.arpa"
- },
- {
- "action": "del_domain",
- "domain": "2.168.192.in-addr.arpa"
- },
- {
- "host": "test",
- "record_value": "192.168.1.2",
- "dhcp_mac": "aa:bb:cc:dd:ee:42"
- },
- {
- "host": "test2",
- "record_value": "192.168.1.3",
- "dhcp_mac": "de:ad:de:ad:de:ad"
- },
- {
- "action": "del_host",
- "host": "badhost"
- }
- ]
- }
|