github.com/StackExchange/dnscontrol/v4@v4.11.0/pkg/js/parse_tests/036-dextendcf.json (about) 1 { 2 "dns_providers": [ 3 { 4 "name": "Cloudflare", 5 "type": "CLOUDFLAREAPI" 6 } 7 ], 8 "domains": [ 9 { 10 "dnsProviders": { 11 "Cloudflare": -1 12 }, 13 "name": "foo.com", 14 "records": [ 15 { 16 "name": "test1.foo.com.sub", 17 "subdomain": "sub", 18 "target": "10.2.3.1", 19 "type": "A" 20 }, 21 { 22 "name": "test2.foo.com.sub", 23 "subdomain": "sub", 24 "target": "10.2.3.2", 25 "type": "A" 26 }, 27 { 28 "name": "test3.foo.com.sub", 29 "subdomain": "sub", 30 "target": "10.2.3.3", 31 "type": "A" 32 }, 33 { 34 "name": "@", 35 "target": "test1.foo.com,https://goo.com/$1", 36 "type": "CF_REDIRECT" 37 }, 38 { 39 "name": "@", 40 "target": "test2.foo.com,https://goo.com/$1", 41 "type": "CF_TEMP_REDIRECT" 42 }, 43 { 44 "name": "@", 45 "target": "test3.foo.com,test-worker", 46 "type": "CF_WORKER_ROUTE" 47 } 48 ], 49 "registrar": "Third-Party" 50 } 51 ], 52 "registrars": [ 53 { 54 "name": "Third-Party", 55 "type": "NONE" 56 } 57 ] 58 }