mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-30 17:53:21 -04:00 
			
		
		
		
	Pr 586 tweaks (#594)
* add proxy tcp * add truncated for tcp to udp response * move truncation to scrubbing * add test that executes upstream over tcp * middleware/proxy: some tweaks rename force-tcp to force_tcp to be inline with the rest and use a dnsOptions struct to put the options in to allow it to be extended. Add some parse tests as well. * Fix test and rename dnsOptions Options
This commit is contained in:
		| @@ -198,6 +198,13 @@ proxy . 8.8.8.8:53 { | ||||
| 		}, | ||||
| 		{ | ||||
| 			` | ||||
| proxy . 8.8.8.8:53 { | ||||
| 	protocol dns force_tcp | ||||
| }`, | ||||
| 			false, | ||||
| 		}, | ||||
| 		{ | ||||
| 			` | ||||
| proxy . 8.8.8.8:53 { | ||||
| 	protocol grpc a b c d | ||||
| }`, | ||||
| @@ -262,6 +269,13 @@ proxy . 8.8.8.8:53 { | ||||
| 			` | ||||
| proxy . 8.8.8.8:53 { | ||||
| 	health_check | ||||
| }`, | ||||
| 			true, | ||||
| 		}, | ||||
| 		{ | ||||
| 			` | ||||
| proxy . 8.8.8.8:53 { | ||||
| 	protocol dns force | ||||
| }`, | ||||
| 			true, | ||||
| 		}, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user