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

    Dns forwarde domain override did not save

    Scheduled Pinned Locked Moved DHCP and DNS
    7 Posts 2 Posters 487 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.
    • A
      Antibiotic
      last edited by

      Hello, DNS forwarder did not save any options in domain override. I want to do like this:

      Domain = 168.192.in-addr.arpa
      IP address = 192.168.20.1
      Source IP = Empty
      Description = Reverse forwarder

      But nothing to save. I want to use forwarding for one of pfSense interface with Wireguard client and may rule redirect from port 53 unbound to port 5353. All working except this. Any ideas?

      Pfsense 24.11

      pfSense plus 24.11 on Topton mini PC
      CPU: Intel N100
      NIC: Intel i-226v 4 pcs
      RAM : 16 GB DDR5
      Disk: 128 GB NVMe
      Brgds, Archi

      A 1 Reply Last reply Reply Quote 0
      • A
        Antibiotic @Antibiotic
        last edited by

        @Antibiotic said in Dns forwarde domain override did not save:

        168.192.in-addr.arpa

        Hello, is it a bug? ANYONE

        pfSense plus 24.11 on Topton mini PC
        CPU: Intel N100
        NIC: Intel i-226v 4 pcs
        RAM : 16 GB DDR5
        Disk: 128 GB NVMe
        Brgds, Archi

        patient0P 1 Reply Last reply Reply Quote 0
        • patient0P
          patient0 @Antibiotic
          last edited by

          @Antibiotic there was a thread about it but I can find it anymore. But there's an open bug report that sound like it may be your issue:

          Unable to change domain overrides in DNSMasq

          The corresponding fix seems easy enough for a patch:

          https://redmine.pfsense.org/projects/pfsense/repository/2/revisions/aac5bb5d396a1f1b18d59a532ad262a4d1085a40/diff

          diff --git a/src/usr/local/pfSense/include/www/services_dnsmasq.inc b/src/usr/local/pfSense/include/www/services_dnsmasq.inc
          index 9777298f1b..23659ad9aa 100644
          --- a/src/usr/local/pfSense/include/www/services_dnsmasq.inc
          +++ b/src/usr/local/pfSense/include/www/services_dnsmasq.inc
          @@ -457,9 +457,9 @@ function saveDomainOverride($post, $id, $json=false) {
                   $doment['descr'] = $post['descr'];
           
                   if (isset($id) && config_get_path("dnsmasq/domainoverrides/{$id}") && ($id != -1)) {
          -            config_get_path("dnsmasq/domainoverrides/{$id}", $doment);
          +            config_set_path("dnsmasq/domainoverrides/{$id}", $doment);
                   } else {
          -            config_get_path('dnsmasq/domainoverrides/', $doment);
          +            config_set_path('dnsmasq/domainoverrides/', $doment);
                   }
           
                   $retval = services_dnsmasq_configure();
          
          A 2 Replies Last reply Reply Quote 0
          • A
            Antibiotic @patient0
            last edited by

            @patient0 Oh , thank you buddy. This patch was applied and everything is working now)))

            pfSense plus 24.11 on Topton mini PC
            CPU: Intel N100
            NIC: Intel i-226v 4 pcs
            RAM : 16 GB DDR5
            Disk: 128 GB NVMe
            Brgds, Archi

            1 Reply Last reply Reply Quote 0
            • A
              Antibiotic @patient0
              last edited by

              @patient0 But, where did you get this? By this link not as a patch, like you present me.

              pfSense plus 24.11 on Topton mini PC
              CPU: Intel N100
              NIC: Intel i-226v 4 pcs
              RAM : 16 GB DDR5
              Disk: 128 GB NVMe
              Brgds, Archi

              patient0P 1 Reply Last reply Reply Quote 0
              • patient0P
                patient0 @Antibiotic
                last edited by

                @Antibiotic the link just above the patch is the link to the diff (https://redmine.pfsense.org/projects/pfsense/repository/2/revisions/aac5bb5d396a1f1b18d59a532ad262a4d1085a40/diff)

                Or on the website of the first link there an comment Applied in changeset aac5bb5d396a1f1b18d59a532ad262a4d1085a40 which leads to the same page.

                A 1 Reply Last reply Reply Quote 0
                • A
                  Antibiotic @patient0
                  last edited by

                  @patient0 said in Dns forwarde domain override did not save:

                  https://redmine.pfsense.org/projects/pfsense/repository/2/revisions/aac5bb5d396a1f1b18d59a532ad262a4d1085a40/diff

                  Ah understood need to export in Unified diff

                  pfSense plus 24.11 on Topton mini PC
                  CPU: Intel N100
                  NIC: Intel i-226v 4 pcs
                  RAM : 16 GB DDR5
                  Disk: 128 GB NVMe
                  Brgds, Archi

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