mirror of
				https://github.com/StackExchange/dnscontrol.git
				synced 2024-05-11 05:55:12 +00:00 
			
		
		
		
	* Integrate @nlowe's documentation and tests * Use filepath.Clean() instead of filepath.Abs() * Use a stackless implementation
		
			
				
	
	
		
			38 lines
		
	
	
		
			686 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			686 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
  "registrars": [],
 | 
						|
  "dns_providers": [],
 | 
						|
  "domains": [
 | 
						|
    {
 | 
						|
      "name": "foo.com",
 | 
						|
      "registrar": "none",
 | 
						|
      "dnsProviders": {},
 | 
						|
      "records": [
 | 
						|
        {
 | 
						|
          "type": "A",
 | 
						|
          "name": "@",
 | 
						|
          "target": "1.2.3.4"
 | 
						|
        },
 | 
						|
        {
 | 
						|
          "type": "CNAME",
 | 
						|
          "name": "A",
 | 
						|
          "target": "foo.com."
 | 
						|
        },
 | 
						|
        {
 | 
						|
          "type": "CNAME",
 | 
						|
          "name": "C",
 | 
						|
          "target": "foo.com."
 | 
						|
        },
 | 
						|
        {
 | 
						|
          "type": "CNAME",
 | 
						|
          "name": "D",
 | 
						|
          "target": "foo.com."
 | 
						|
        },
 | 
						|
        {
 | 
						|
          "type": "CNAME",
 | 
						|
          "name": "B",
 | 
						|
          "target": "foo.com."
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  ]
 | 
						|
} |