From: "flichtenheld (Code Review)" Date: Thu, 30 Apr 2026 12:07:48 +0000 In-Reply-To: References: Reply-To: frank@...2641..., arne-openvpn@...1227..., heiko@...515..., selva.nair@...277..., openvpn-devel@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="7yL/jE5nq8k="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: dns: correctly handle dnssec settings List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: selvanair Cc: d12fk , plaisthos , openvpn-devel --7yL/jE5nq8k= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: d12fk, plaisthos, selvanair. flichtenheld has posted comments on this change by selvanair. ( http://gerr= it.openvpn.net/c/openvpn/+/1643?usp=3Demail ) Change subject: dns: correctly handle dnssec settings ...................................................................... Patch Set 1: (1 comment) File src/openvpn/dns.h: http://gerrit.openvpn.net/c/openvpn/+/1643/comment/cfa08e49_08aa2a52?usp=3D= email : PS1, Line 32: DNS_SECURITY_UNSET, > As "dns server n dnssec foo" is not a mandatory option, UNSET is useless = and error-prone. [=E2=80=A6] "UNSET is not handled anywhere." I looked into that and this is not true. W= e never use `DNS_SECURITY_UNSET` explicitly in the code. But a lot of the D= NS options code does things like `if (s->dnssec)` so we have actually a lot= of implicit checks for it. E.g. when running the dns script we put nothing= in the environment when it is UNSET, and only put "yes", "no", "optional" = if explicitly set. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1643?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: comment Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Id514b06223cb55295c92b1fa6727f03d6e06befe Gerrit-Change-Number: 1643 Gerrit-PatchSet: 1 Gerrit-Owner: selvanair Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: d12fk Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: d12fk Gerrit-Attention: selvanair Gerrit-Comment-Date: Thu, 30 Apr 2026 12:07:48 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: d12fk Comment-In-Reply-To: selvanair --7yL/jE5nq8k= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: d12fk, plaisthos, selvanair.

View = Change

1 comment:

    =
  • File src/openvpn/dns.h:

    • Patch Set #1, Lin= e 32: DNS_SECURITY_= UNSET,

      As "dns server n dnssec foo" is not = a mandatory option, UNSET is useless and error-prone. [=E2=80=A6]

      "UNSET is not handled anywhere." I looked into that and t= his is not true. We never use `DNS_SECURITY_UNSET` explicitly in the code. = But a lot of the DNS options code does things like `if (s->dnssec)` so w= e have actually a lot of implicit checks for it. E.g. when running the dns = script we put nothing in the environment when it is UNSET, and only put &qu= ot;yes", "no", "optional" if explicitly set.

To view, visit change 1643. To unsubscribe, or for help wr= iting mail filters, visit settings.

=
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Id514b06223cb55295c92b1fa672= 7f03d6e06befe
Gerrit-Change-Number: 1643
Gerrit-PatchSet: 1
Gerrit-Owner: selvanair <selva.nair@...1354...= ..>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: d12fk <heiko@...515...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: d12fk <heiko@...515...>= ;
Gerrit-Attention: selvanair <selva.nair@...493...= 277...>
Gerrit-Comment-Date: Thu, 30 Apr 2026 12:07:48= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: d12fk <heiko@...515...= >
Comment-In-Reply-To: selvanair <selva.nair@= ...277...>
= --7yL/jE5nq8k=--