diff options
author | 2019-07-11 12:54:47 +0000 | |
---|---|---|
committer | 2019-07-11 12:54:47 +0000 | |
commit | a5c405f6d7a019e8dec46eabdcb801a8870a38a1 (patch) | |
tree | a49b7245add04f1925318ee0f6b7ef1f6c8d8a11 /plugin/rewrite | |
parent | 1ee9b534abc9b00ca336e2732c0b955dc8a185f1 (diff) | |
download | coredns-a5c405f6d7a019e8dec46eabdcb801a8870a38a1.tar.gz coredns-a5c405f6d7a019e8dec46eabdcb801a8870a38a1.tar.zst coredns-a5c405f6d7a019e8dec46eabdcb801a8870a38a1.zip |
Move to dns.Truncate (#2942)
Ditch our truncation code and use the upstream one in miekg/dns.
This saves code on our end, end upstream is also more efficient as every
RR is Len-ed only once. With our bin-search this is not guaranteed.
Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'plugin/rewrite')
0 files changed, 0 insertions, 0 deletions