diff --git a/ext/net/ops.rs b/ext/net/ops.rs index 768dd33135..c4eb56af2f 100644 --- a/ext/net/ops.rs +++ b/ext/net/ops.rs @@ -646,7 +646,7 @@ where cancel_rid, } = args; - let (config, opts) = if let Some(name_server) = + let (config, mut opts) = if let Some(name_server) = options.as_ref().and_then(|o| o.name_server.as_ref()) { let group = NameServerConfigGroup::from_ips_clear( @@ -662,6 +662,8 @@ where system_conf::read_system_conf()? }; + opts.edns0 = true; + { let mut s = state.borrow_mut(); let perm = s.borrow_mut::();