|  | @@ -1,27 +1,34 @@
 | 
		
	
		
			
			| 1 |  | -[
 | 
		
	
		
			
			| 2 | 1 |  {
 | 
		
	
		
			
			| 3 |  | -  "action": "defaults",
 | 
		
	
		
			
			| 4 |  | -  "domain": "example.com",
 | 
		
	
		
			
			| 5 |  | -  "reverse_domain": "1.168.192.in-addr.arpa",
 | 
		
	
		
			
			| 6 |  | -  "reverse_enabled": true,
 | 
		
	
		
			
			| 7 |  | -  "record_type": "A"
 | 
		
	
		
			
			| 8 |  | -},
 | 
		
	
		
			
			| 9 |  | -{
 | 
		
	
		
			
			| 10 |  | -  "action": "add_domain",
 | 
		
	
		
			
			| 11 |  | -  "domain": "1.168.192.in-addr.arpa"
 | 
		
	
		
			
			| 12 |  | -},
 | 
		
	
		
			
			| 13 |  | -{
 | 
		
	
		
			
			| 14 |  | -  "action": "del_domain",
 | 
		
	
		
			
			| 15 |  | -  "domain": "2.168.192.in-addr.arpa"
 | 
		
	
		
			
			| 16 |  | -},
 | 
		
	
		
			
			| 17 |  | -{
 | 
		
	
		
			
			| 18 |  | -  "action": "add_host",
 | 
		
	
		
			
			| 19 |  | -  "host": "my-host",
 | 
		
	
		
			
			| 20 |  | -  "record_value": "192.168.1.2",
 | 
		
	
		
			
			| 21 |  | -  "dhcp_mac": "aa:bb:cc:dd:ee:ff"
 | 
		
	
		
			
			| 22 |  | -},
 | 
		
	
		
			
			| 23 |  | -{
 | 
		
	
		
			
			| 24 |  | -  "action"; "del_host",
 | 
		
	
		
			
			| 25 |  | -  "host": "my-host"
 | 
		
	
		
			
			|  | 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 | +  },
 | 
		
	
		
			
			|  | 10 | +  "actions":[
 | 
		
	
		
			
			|  | 11 | +  {
 | 
		
	
		
			
			|  | 12 | +    "action": "add_domain",
 | 
		
	
		
			
			|  | 13 | +    "domain": "1.168.192.in-addr.arpa"
 | 
		
	
		
			
			|  | 14 | +  },
 | 
		
	
		
			
			|  | 15 | +  {
 | 
		
	
		
			
			|  | 16 | +    "action": "del_domain",
 | 
		
	
		
			
			|  | 17 | +    "domain": "2.168.192.in-addr.arpa"
 | 
		
	
		
			
			|  | 18 | +  },
 | 
		
	
		
			
			|  | 19 | +  {
 | 
		
	
		
			
			|  | 20 | +    "host": "test",
 | 
		
	
		
			
			|  | 21 | +    "record_value": "192.168.1.2",
 | 
		
	
		
			
			|  | 22 | +    "dhcp_mac": "aa:bb:cc:dd:ee:42"
 | 
		
	
		
			
			|  | 23 | +  },
 | 
		
	
		
			
			|  | 24 | +  {
 | 
		
	
		
			
			|  | 25 | +    "host": "test2",
 | 
		
	
		
			
			|  | 26 | +    "record_value": "192.168.1.3",
 | 
		
	
		
			
			|  | 27 | +    "dhcp_mac": "de:ad:de:ad:de:ad"
 | 
		
	
		
			
			|  | 28 | +  },
 | 
		
	
		
			
			|  | 29 | +  {
 | 
		
	
		
			
			|  | 30 | +    "action": "del_host",
 | 
		
	
		
			
			|  | 31 | +    "host": "badhost"
 | 
		
	
		
			
			|  | 32 | +  }
 | 
		
	
		
			
			|  | 33 | +  ]
 | 
		
	
		
			
			| 26 | 34 |  }
 | 
		
	
		
			
			| 27 |  | -]
 |