aboutsummaryrefslogtreecommitdiff
path: root/test/file_reload_test.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2016-10-28 07:50:16 +0100
committerGravatar GitHub <noreply@github.com> 2016-10-28 07:50:16 +0100
commitba26f47d5c65295342402d2c9996eb74884935e0 (patch)
treef401e63018e4262b5cb7e3b8a8a59555b48721b6 /test/file_reload_test.go
parent039596f319c40622293f883317c9d35d7bb79e0c (diff)
downloadcoredns-ba26f47d5c65295342402d2c9996eb74884935e0.tar.gz
coredns-ba26f47d5c65295342402d2c9996eb74884935e0.tar.zst
coredns-ba26f47d5c65295342402d2c9996eb74884935e0.zip
middleware/caching (#360)
Add the rcode to the cached item and use this when we synthesize the answer again. We could also infer the rcode from the reassembled message, but this seems easier and is only an integer. Also set the autoritative bit to 0 for all from-cache answers. Fixes 357
Diffstat (limited to 'test/file_reload_test.go')
0 files changed, 0 insertions, 0 deletions