Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [FIXED] "Infinitely resolve server" checkbox doesn't change anything. Bug?

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 4 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      Finger79
      last edited by

      On 2.3.4 Release.

      In OpenVPN client configuration, there's a checkbox labeled "Server hostname resolution - Infinitely resolve server" but it seems to make no difference to the configuration whether it's checked or not.

      Looking at /var/etc/openvpn/client1.conf:

      When not checked:

      resolv-retry infinite

      ^ You'd think this directive would be removed when the checkbox is unchecked.

      When checked:

      resolv-retry infinite

      ^ Directive is there as expected.

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        My guess is that gui option is being removed and they forgot to remove it from the gui ;)

        I am on the 2.4 beta and while

        resolv-retry infinite

        Is in the client config.. There is no checkbox in the client gui config to check or uncheck that I see?

        clientgui.png
        clientgui.png_thumb

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          It was fixed recently: https://redmine.pfsense.org/issues/7572

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • F
            Finger79
            last edited by

            Honestly, it'd be nice for more granular control of the .ovpn config file via the GUI (i.e., the entire config).  For example, persist-key and persist-tun and resolv-retry-infinite are simply hard-coded now, and if we manually edit the text file, it gets overwritten whenever the Service restarts.

            My pipe dream would be a GUI that dynamically builds the config file, but there's a drop-down element for "every" possible directive.  This would take a lot of coding probably.

            Or an easier option:  Simply create an "Advanced Mode" in the GUI that lets us have 100% control over the config file without inserting anything.

            1 Reply Last reply Reply Quote 0
            • N
              NOYB
              last edited by

              @Finger79:

              Honestly, it'd be nice for more granular control of the .ovpn config file via the GUI (i.e., the entire config).  For example, persist-key and persist-tun and resolv-retry-infinite are simply hard-coded now, and if we manually edit the text file, it gets overwritten whenever the Service restarts.

              My pipe dream would be a GUI that dynamically builds the config file, but there's a drop-down element for "every" possible directive.  This would take a lot of coding probably.

              Or an easier option:  Simply create an "Advanced Mode" in the GUI that lets us have 100% control over the config file without inserting anything.

              My sentiments exactly.

              One of my pet peeves is partially implemented features/capabilities etc.  That's why I did the advanced option for DHCP client a few years ago.  Nearly everything is settable via the GUI advanced options.  But for the rare cases of something not being there or a bug, etc.  A config file override option is available to put a DHCP client config file anywhere you please and point the GUI config at it.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.