)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1000002,"name":"cron2","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"change_message_id":"523c35953ddf97b7e1db2f10f58c404a7ce42cd6","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"27a88e56_992f4cda","updated":"2025-09-14 19:54:50.000000000","message":"I have tested this on win11 24h2 / arm64.\n\nWith 2.6.14 \"standard\" and DCO, setting DNS domain does not work (no useful error log findable though, see github #842).  Stopping the service, replacing openvpnsrv.exe with one from Lev\u0027s repo, and restarting, makes DNS domain work.\n\nDid not test running openvpn.exe in privileged mode.\n\nFor a +2 someone who understands this better should do an actual review ;-)","commit_id":"4433900ed95426bb1d2f0115c1fad4eee5d98267"},{"author":{"_account_id":1000006,"name":"d12fk","display_name":"Heiko Hund","email":"heiko@openvpn.net","username":"d12fk"},"change_message_id":"13271364a473aea72616edf09ecaae45d45bd90c","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"6b2f18f5_355a6a87","updated":"2025-09-14 20:45:53.000000000","message":"Tested with and without interactive service. In both cases the DOMAIN is set on connect and removed on disconnect.","commit_id":"4433900ed95426bb1d2f0115c1fad4eee5d98267"}],"src/openvpn/tun.c":[{"author":{"_account_id":1000001,"name":"flichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"change_message_id":"1c87ff61d6c4ecc8213e1081aa933a2f214135e7","unresolved":true,"context_lines":[{"line_number":392,"context_line":""},{"line_number":393,"context_line":"    struct argv argv \u003d argv_new();"},{"line_number":394,"context_line":"    argv_printf(\u0026argv,"},{"line_number":395,"context_line":"                \"%s%s -NoProfile -NonInteractive -Command Set-DnsClient -InterfaceIndex %ld -ConnectionSpecificSuffix \u0027%s\u0027\","},{"line_number":396,"context_line":"                get_win_sys_path(),"},{"line_number":397,"context_line":"                POWERSHELL_PATH_SUFFIX,"},{"line_number":398,"context_line":"                tt-\u003eadapter_index,"}],"source_content_type":"text/x-csrc","patch_set":1,"id":"6b713ade_eaa76213","line":395,"updated":"2025-09-12 14:05:19.000000000","message":"adapter_index is DWORD, so please use %lu","commit_id":"38bc79904619d5809dd69256f53e42bc7b6699d6"}],"src/openvpnserv/interactive.c":[{"author":{"_account_id":1000001,"name":"flichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"change_message_id":"1c87ff61d6c4ecc8213e1081aa933a2f214135e7","unresolved":true,"context_lines":[{"line_number":1165,"context_line":""},{"line_number":1166,"context_line":"    openvpn_swprintf(argv0, _countof(argv0), L\"%ls\\\\%ls\", get_win_sys_path(), L\"WindowsPowerShell\\\\v1.0\\\\powershell.exe\");"},{"line_number":1167,"context_line":""},{"line_number":1168,"context_line":"    const wchar_t *fmt \u003d L\"-NoProfile -NonInteractive -Command Set-DnsClient -InterfaceIndex %ld -ConnectionSpecificSuffix \u0027%s\u0027\";"},{"line_number":1169,"context_line":""},{"line_number":1170,"context_line":"    size_t ncmdline \u003d wcslen(fmt) + 20 + /* max 20 for ifindex */ (data ? wcslen(data) + 1 : 1);"},{"line_number":1171,"context_line":"    cmdline \u003d malloc(ncmdline*sizeof(wchar_t));"}],"source_content_type":"text/x-csrc","patch_set":1,"id":"ea152e05_3903c18c","line":1168,"range":{"start_line":1168,"start_character":28,"end_line":1168,"end_character":37},"updated":"2025-09-12 14:05:19.000000000","message":"NET_IFINDEX is ULONG, so please use %lu","commit_id":"38bc79904619d5809dd69256f53e42bc7b6699d6"}]}
