From: "selvanair (Code Review)" Date: Wed, 29 Apr 2026 15:30:32 +0000 In-Reply-To: References: Reply-To: selva.nair@...277..., arne-openvpn@...1227..., heiko@...515..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="jBsQV06yw/Y="; 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: , Cc: d12fk , flichtenheld , plaisthos , openvpn-devel --jBsQV06yw/Y= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: d12fk, flichtenheld, plaisthos. selvanair has posted comments on this change by selvanair. ( http://gerrit.= openvpn.net/c/openvpn/+/1643?usp=3Demail ) Change subject: dns: correctly handle dnssec settings ...................................................................... Patch Set 1: (2 comments) File include/openvpn-msg.h: http://gerrit.openvpn.net/c/openvpn/+/1643/comment/9cac179c_8ab54db3?usp=3D= email : PS1, Line 114: nrpt_dnssec_required =3D 1 << 1, > man-page says user can set optional, and I had no idea how to provide t= hat rather than this. [=E2=80=A6] Shall we treat "optional" as "no" on Windows and document that? http://gerrit.openvpn.net/c/openvpn/+/1643/comment/e2022f21_8cd8e2bf?usp=3D= email : PS1, Line 127: nrpt_flags_t flags; > I was questioning whether it is clean to set a variable of an enum type t= o a value that is not a nam [=E2=80=A6] Aha, now I get it :) Agreed, better to make flags an int. That would need to define DNS_SECURITY= _NO, _OPTIONAL, _YES as 0, 1<<0, 1<<1, and move those to openvpn-msg.h as w= ell? -- 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: flichtenheld Gerrit-Attention: d12fk Gerrit-Comment-Date: Wed, 29 Apr 2026 15:30:32 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: flichtenheld Comment-In-Reply-To: d12fk Comment-In-Reply-To: selvanair --jBsQV06yw/Y= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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

View = Change

2 comments:

  • File include/openvpn-msg.h:

  • Patch Set #1= , Line 114: nrpt_dn= ssec_required =3D 1 << 1,

    man-page says user c= an set optional, and I had no idea how to provide that rather than this. [= =E2=80=A6]

    Shall we treat "optional" as "no= " on Windows and document that?

  • Patch Se= t #1, Line 127: nrp= t_flags_t flags;

    I was questioning whether it is clea= n to set a variable of an enum type to a value that is not a nam [=E2=80=A6= ]

    Aha, now I get it :)
    Agreed, better to make flags an = int. That would need to define DNS_SECURITY_NO, _OPTIONAL, _YES as 0, 1<= <0, 1<<1, and move those to openvpn-msg.h as well?

To view, visit change 1643. To unsubscribe, or for help writing 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: flichtenheld <frank@...2375...= 41...>
Gerrit-Attention: d12fk <heiko@...515...>= ;
Gerrit-Comment-Date: Wed, 29 Apr 2026 15:30:32= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: flichtenheld <frank@...1186...= .2641...>
Comment-In-Reply-To: d12fk <heiko@...515...= >
Comment-In-Reply-To: selvanair <selva.nair@= ...277...>
= --jBsQV06yw/Y=--