mirror of
				https://github.com/StackExchange/dnscontrol.git
				synced 2024-05-11 05:55:12 +00:00 
			
		
		
		
	* MSDNS: Improve reliability of zone dump * Update tests * MSDNS: Add initial NAPTR support * Update * fix tests * fix tests * Fixing integration tests for NAPTR * Handle bad JSON. Handle NAPTR TTLs
		
			
				
	
	
		
			54 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
  "dns_providers": [],
 | 
						|
  "domains": [
 | 
						|
    {
 | 
						|
      "dnsProviders": {},
 | 
						|
      "name": "foo.com",
 | 
						|
      "records": [
 | 
						|
        {
 | 
						|
          "name": "@",
 | 
						|
          "naptrflags": "U",
 | 
						|
          "naptrorder": 100,
 | 
						|
          "naptrpreference": 10,
 | 
						|
          "naptrregexp": "!^.*$!sip:customer-service@example.com!",
 | 
						|
          "naptrservice": "E2U+sip",
 | 
						|
          "target": "example",
 | 
						|
          "type": "NAPTR"
 | 
						|
        },
 | 
						|
        {
 | 
						|
          "name": "@",
 | 
						|
          "naptrflags": "U",
 | 
						|
          "naptrorder": 102,
 | 
						|
          "naptrpreference": 10,
 | 
						|
          "naptrregexp": "!^.*$!mailto:information@example.com!",
 | 
						|
          "naptrservice": "E2U+email",
 | 
						|
          "target": "example",
 | 
						|
          "type": "NAPTR"
 | 
						|
        },
 | 
						|
        {
 | 
						|
          "name": "@",
 | 
						|
          "naptrflags": "U",
 | 
						|
          "naptrorder": 103,
 | 
						|
          "naptrpreference": 10,
 | 
						|
          "naptrregexp": "!^.*$!mailto:information@example.com!",
 | 
						|
          "naptrservice": "E2U+email",
 | 
						|
          "target": "",
 | 
						|
          "type": "NAPTR"
 | 
						|
        },
 | 
						|
        {
 | 
						|
          "name": "@",
 | 
						|
          "naptrflags": "U",
 | 
						|
          "naptrorder": 104,
 | 
						|
          "naptrpreference": 10,
 | 
						|
          "naptrregexp": "!^.*$!mailto:information@example.com!",
 | 
						|
          "naptrservice": "E2U+email",
 | 
						|
          "target": ".",
 | 
						|
          "type": "NAPTR"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "registrar": "none"
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "registrars": []
 | 
						|
}
 |