From b0c4c876ade1cb2a492552393a5748836829e937 Mon Sep 17 00:00:00 2001 From: Ximon Eighteen <3304436+ximon18@users.noreply.github.com> Date: Fri, 28 Feb 2025 14:09:33 +0100 Subject: [PATCH] Update notify.rs See https://github.com/opendnssec/opendnssec/pull/865. --- src/commands/notify.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/commands/notify.rs b/src/commands/notify.rs index d9ac3e9..f10a0cb 100644 --- a/src/commands/notify.rs +++ b/src/commands/notify.rs @@ -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> = if let Some(k) = tsig_key {