mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 02:03:20 -04:00 
			
		
		
		
	* test: fix zone file Add missing $TTL 3600 as the top. Recent change in Go DNS made this mandatory - old behavior wasn't standards compliant. * and here
		
			
				
	
	
		
			16 lines
		
	
	
		
			531 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			531 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package test
 | |
| 
 | |
| const exampleOrg = `; example.org test file
 | |
| $TTL 3600
 | |
| example.org.		IN	SOA	sns.dns.icann.org. noc.dns.icann.org. 2015082541 7200 3600 1209600 3600
 | |
| example.org.		IN	NS	b.iana-servers.net.
 | |
| example.org.		IN	NS	a.iana-servers.net.
 | |
| example.org.		IN	A	127.0.0.1
 | |
| example.org.		IN	A	127.0.0.2
 | |
| *.w.example.org.        IN      TXT     "Wildcard"
 | |
| a.b.c.w.example.org.    IN      TXT     "Not a wildcard"
 | |
| cname.example.org.      IN      CNAME   www.example.net.
 | |
| 
 | |
| service.example.org.    IN      SRV     8080 10 10 example.org.
 | |
| `
 |