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

    System\GeneralSetup\DNS Server Settings

    Scheduled Pinned Locked Moved General pfSense Questions
    18 Posts 6 Posters 1.8k 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.
    • B
      BobL4002
      last edited by

      When I enter DNS Server and the accompanying hostname (optional) and Save, it shows successful. However, if I return to Home Page then return to System/General/DNS Server Settings, the Hostname box is blank. Is it being retained and just not displayed?

      I am using v.23.05

      S V johnpozJ 3 Replies Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @BobL4002
        last edited by

        @BobL4002 seems to save for meโ€ฆ

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote ๐Ÿ‘ helpful posts!

        1 Reply Last reply Reply Quote 0
        • V
          viragomann @BobL4002
          last edited by

          @BobL4002
          Entering the host name only makes sense if the server supports DNS over TLS.
          Does it?

          B 1 Reply Last reply Reply Quote 0
          • B
            BobL4002 @viragomann
            last edited by

            @viragomann Using 1.1.1.1 -- 8.8.8.8 -- 9.9.9.9
            I think these all would use DNS over TLS

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

              @BobL4002 seems to be working here as well

              put in whatever I wanted, hit save at bottom of the page - it says it saves - then log out even and go back and its there.

              workingherejpg.jpg

              using 23.05

              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

                Are you logged in as admin or another user?

                If it's another user, does that user have access to make config changes?

                Check the logs to see if it's logging a failure when you save.

                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!

                B 1 Reply Last reply Reply Quote 1
                • B
                  BobL4002 @jimp
                  last edited by

                  @jimp I login under another user name, with full Admin privileges. No issues with changes in any other areas of pfSense+

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

                    @BobL4002 I still can not reproduce this. Created a testuser, put it in the admins group and added dns with a fqdn and saves and leave and come back and still there.

                    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

                      @BobL4002 said in System\GeneralSetup\DNS Server Settings:

                      @jimp I login under another user name, with full Admin privileges. No issues with changes in any other areas of pfSense+

                      By "full admin privileges" do you mean you made them only a member of the admins group?

                      Or did you select all privileges manually and add them to the user?

                      If the latter, the user would have also been assigned the "Deny Config Write" privilege and it would behave as you describe.

                      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!

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        BobL4002 @jimp
                        last edited by

                        @jimp I am member of Admin group with full privileges. I even logged out and back in as Admin and issue still persists.

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

                          @BobL4002 could it be something in your browser.. If you look at your config history, do you see that the value gets written?

                          example.. here is diff on the config when I added new dns and fqdn as testuser

                          config.jpg

                          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

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            BobL4002 @johnpoz
                            last edited by

                            @johnpoz I toyed around with the System\GeneralSetup\DNS Server Settings and resolved issue. I had to provide Hostname for the topmost DNS server 127.0.0.1 "localhost.com" and then all entries were retained/displayed even after logout/login. I guess there needs to be entry for each DNS server for system to hold/display the info. Strangely enough, even if it is not displayed when I saved the .xml file to my desktop and examined it, the Hostnames were saved, even though they did not display.

                            Thanks for assist.

                            johnpozJ 1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              That seems like unexpected behaviour. A regression of this maybe?: https://redmine.pfsense.org/issues/9898

                              Do you have multiple gateways?

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

                                @BobL4002 why should you even have a 127.0.0.1 listed there.. You don't need to put that there..

                                nodns.jpg

                                I don't forward, only resolve - only place 127.0.0.1 is listed is on behavior dropdown

                                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

                                B 1 Reply Last reply Reply Quote 0
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  If it was upgraded from a much earlier version it might have had localhost set there. At one time that was a valid setting.

                                  B 1 Reply Last reply Reply Quote 0
                                  • B
                                    BobL4002 @stephenw10
                                    last edited by

                                    @stephenw10
                                    I did upgrade from earlier versions, not sure if "localhost" was input then or not.

                                    Thanks

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      BobL4002 @johnpoz
                                      last edited by

                                      @johnpoz
                                      I believe it was there by default when I first started with pfSense and I have seen it listed in various articles/videos I watched, just assumed it was required in the listing in order to be "defaulted" to.

                                      Thanks for input.

                                      1 Reply Last reply Reply Quote 0
                                      • stephenw10S
                                        stephenw10 Netgate Administrator
                                        last edited by

                                        Yes, this is likely to have been hitting this: https://redmine.pfsense.org/issues/14288

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