diff options
author | 2016-10-28 07:50:16 +0100 | |
---|---|---|
committer | 2016-10-28 07:50:16 +0100 | |
commit | ba26f47d5c65295342402d2c9996eb74884935e0 (patch) | |
tree | f401e63018e4262b5cb7e3b8a8a59555b48721b6 /test/file_reload_test.go | |
parent | 039596f319c40622293f883317c9d35d7bb79e0c (diff) | |
download | coredns-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