mirror of
https://github.com/NLnetLabs/dnst.git
synced 2026-09-30 21:55:01 +02:00
Merge pull request #57 from NLnetLabs/dont-send-opt-with-notify
Don't send EDNS(0) OPT record with NOTIFY.
This commit is contained in:
@@ -267,6 +267,10 @@ impl Notify {
|
||||
let mut config = dgram::Config::new();
|
||||
config.set_max_retries(self.retries);
|
||||
|
||||
// Prevent sending of an EDNS(0) OPT record as it causes OpenDNSSEC 2.1.14 to crash.
|
||||
// See: https://github.com/opendnssec/opendnssec/pull/865
|
||||
config.set_udp_payload_size(None);
|
||||
|
||||
let dgram_connection = dgram::Connection::with_config(env.dgram(socket), config);
|
||||
|
||||
let connection: Box<dyn SendRequest<_>> = if let Some(k) = tsig_key {
|
||||
|
||||
Reference in New Issue
Block a user