You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "defaults": {
  3. "action": "add_host",
  4. "domain": "example.com",
  5. "reverse_domain": "1.168.192",
  6. "reverse_enabled": true,
  7. "record_type": "A",
  8. "dhcp_mac": "",
  9. "record_ttl": 600,
  10. "soa_ns": "ns.example.com",
  11. "soa_mail": "root.example.com",
  12. "soa_refresh": 600,
  13. "soa_retry": 7200,
  14. "soa_expire": 3600000,
  15. "soa_ttl": 172800
  16. },
  17. "actions":[
  18. {
  19. "action": "add_domain",
  20. "domain": "1.168.192.in-addr.arpa"
  21. },
  22. {
  23. "action": "del_domain",
  24. "domain": "2.168.192.in-addr.arpa"
  25. },
  26. {
  27. "host": "test",
  28. "record_value": "192.168.1.2",
  29. "dhcp_mac": "aa:bb:cc:dd:ee:42"
  30. },
  31. {
  32. "host": "test2",
  33. "record_value": "192.168.1.3",
  34. "dhcp_mac": "de:ad:de:ad:de:ad"
  35. },
  36. {
  37. "action": "del_host",
  38. "host": "badhost"
  39. }
  40. ]
  41. }