aboutsummaryrefslogtreecommitdiff
path: root/middleware/proxy/grpc_test.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-06-01 12:33:40 +0100
committerGravatar GitHub <noreply@github.com> 2017-06-01 12:33:40 +0100
commit30ecb83dce02491a22eb64674354dbd9b1fa08c7 (patch)
tree98fc9d813a6df9f33b40112b7c2ae1d2b2bfad78 /middleware/proxy/grpc_test.go
parente261ac1a6e64077e288ca95fbb805c9ce7aafba0 (diff)
downloadcoredns-30ecb83dce02491a22eb64674354dbd9b1fa08c7.tar.gz
coredns-30ecb83dce02491a22eb64674354dbd9b1fa08c7.tar.zst
coredns-30ecb83dce02491a22eb64674354dbd9b1fa08c7.zip
middleware/secondary: fix crash with no zone (#680)
When CoreDNS starts up and can't get a zone transfer going the Apex is empty. This `nil` is then transformed into wireformat, which fails with a nil pointer dereference in Go DNS. In this case we should just return SERVFAIL, because we don't have any info (yet). Note the lookup code returned NXDOMAIN, which is correct from a lookup standpoint, but also invalidates every name in the future loaded zone. Anyway, look for an apex before doing the lookup and return SERVFAIL if nothing is found. Fixes #679
Diffstat (limited to 'middleware/proxy/grpc_test.go')
0 files changed, 0 insertions, 0 deletions
42ee84886c1d&follow=1'>implement the Resource trait for owned resourcesGravatar Jorge Aparicio 11-220/+278 2017-12-09drop the Static wrapperGravatar Jorge Aparicio 8-26/+28 2017-12-09make resource proxies not SyncGravatar Jorge Aparicio 2-3/+2 2017-12-09also cache the Xargo directoryGravatar Jorge Aparicio 1-1/+4 2017-12-09deny warnings and unsafe code in tests and examplesGravatar Jorge Aparicio 24-0/+24 2017-12-09make resource proxies !SendGravatar Jorge Aparicio 2-2/+58 2017-12-09fix the "generics" exampleGravatar Jorge Aparicio 1-2/+2 2017-12-09rename LateResourceValues to LateResourcesGravatar Jorge Aparicio 4-9/+9 2017-12-09remove special case around peripherals from codegenGravatar Jorge Aparicio 1-209/+114 2017-12-09peripherals as scoped singletonsGravatar Jorge Aparicio 7-30/+68 2017-12-08ci: switch back to a recent nightlyGravatar Jorge Aparicio 1-2/+1 2017-12-08fix cfail testsGravatar Jorge Aparicio 2-2/+2 2017-11-22use older nightly for the x86_64 linux targetGravatar Jorge Aparicio 1-1/+2 2017-11-22fix ciGravatar Jorge Aparicio 3-4/+2 2017-11-22v0.2.2v0.2.2Gravatar Jorge Aparicio 10-61/+161 2017-10-02fix the exampleGravatar Jorge Aparicio 1-2/+2 2017-10-02fix `idle::Resources::new`Gravatar Jorge Aparicio 2-2/+13 2017-09-22Use `true` as the armv6 linkerGravatar Jonas Schievink 1-2/+2 2017-09-22Pin Travis to Xargo 0.3.8Gravatar Jonas Schievink 1-2/+2 2017-09-22Use rtfm-syntax 0.2.0Gravatar Jonas Schievink 1-2/+1