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.
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?
=
li>
To view, visit change 1643. To unsubscribe, or for help writing mail=
filters, visit =
settings.