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

When DCHP enabled then DNSBL is terminating Python mode....

Scheduled Pinned Locked Moved pfBlockerNG
11 Posts 3 Posters 1.5k 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.
  • C
    Cool_Corona
    last edited by Mar 18, 2021, 11:47 AM

    @BBcan177

    [pfBlockerNG]: Terminating DNSBL Python mode due to DNS Resolver DHCP Registration option enabled!

    If I disable it, then DHCP clients doesnt get a DNS but have to manually set it everytime.

    What to do?

    R G 2 Replies Last reply Mar 18, 2021, 5:57 PM Reply Quote 0
    • R
      RonpfS @Cool_Corona
      last edited by Mar 18, 2021, 5:57 PM

      @cool_corona Use Static DHCP instead.

      2.4.5-RELEASE-p1 (amd64)
      Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
      Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

      C 2 Replies Last reply Mar 18, 2021, 6:44 PM Reply Quote 0
      • C
        Cool_Corona @RonpfS
        last edited by Mar 18, 2021, 6:44 PM

        @ronpfs For every client??

        G 1 Reply Last reply Mar 19, 2021, 9:29 AM Reply Quote 0
        • G
          Gertjan @Cool_Corona
          last edited by Mar 19, 2021, 9:29 AM

          @cool_corona said in When DCHP enabled then DNSBL is terminating Python mode....:

          For every client??

          Of course not.
          The DHCP server hands out leases to every device that wants one.
          That has nothing to with 'DNS registration'.
          Only devices that you want to use with their host names, devices like servers, should have a static DHCP lease.
          So the DNS (unbound) knows about the host names and related IP addresses. So unbound can do it's DNS thing.

          This :

          @cool_corona said in When DCHP enabled then DNSBL is terminating Python mode....:

          DNS Resolver DHCP Registration option enabled!

          restarts unbound when (renew it new) lease comes in.

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          1 Reply Last reply Reply Quote 0
          • C
            Cool_Corona @RonpfS
            last edited by Mar 19, 2021, 10:51 AM

            @ronpfs said in When DCHP enabled then DNSBL is terminating Python mode....:

            @cool_corona Use Static DHCP instead.

            Yes but then DHCP is reserved and thats not the intension with DHCP since clients are coming and going all the time.

            1 Reply Last reply Reply Quote 0
            • G
              Gertjan @Cool_Corona
              last edited by Gertjan Mar 19, 2021, 11:03 AM Mar 19, 2021, 11:01 AM

              Again :

              @cool_corona said in When DCHP enabled then DNSBL is terminating Python mode....:

              If I disable it, then DHCP clients doesnt get a DNS but have to manually set it everytime.

              The "it" is "DNS Resolver DHCP Registration". Right ?

              When "DNS Resolver DHCP Registration" is disabled on the unbound settings page, then this concerns only unbound (actually : it concerns the process dhcpleases that SIGkicks around unbound).
              Not the DHCP server process, or its settings.
              So, all DHCP clients still receive their lease with the gateway, network, IPv4, DNS and anything you've set up.

              Check it out yourslef :
              type

              ipconfig /all
              

              and you'll see the DNS of your device.
              It should be the IP of the gateway, pfSense - as unbound is, by default, the local DNS resolver.
              There is no way your device has a DNS configured today, obtained by the DHCP client, and nothing configured for DNS tomorrow.

              I've disables myself "DNS Resolver DHCP Registration" a couple of yeas ago, and all my devices work just fine, can resolve local devices just fine.
              The thing is : I added some Static DHCP so I can connect to a device called 'dvr.local.net' instead of "83595947-TPE1" or whatever they then to call themselves.

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              • C
                Cool_Corona
                last edited by Mar 19, 2021, 11:27 AM

                Thanks but the DHCP clients get everything exept DNS server on their DHCP lease.

                And resolving doesnt work until I manually add pfsense IP as the resolver.

                G 1 Reply Last reply Mar 19, 2021, 1:22 PM Reply Quote 0
                • G
                  Gertjan @Cool_Corona
                  last edited by Mar 19, 2021, 1:22 PM

                  @cool_corona said in When DCHP enabled then DNSBL is terminating Python mode....:

                  the DHCP clients get everything exept DNS server on their DHCP lease.

                  That's not a normal at all.
                  When you installed pfSense the first time, your first device on LAN, the one that you used to set it up, received an IP for DNS.

                  With any PC OS (Windows 10, Win 7, Debain, etc), when I launch a DHCP renew on the client, I do have a DNS IPv4 (and IPv6).
                  I never had to change any PC IP setup. This has been plug and play. for decades.

                  On pfSEnse, I didn't even bother to change DHCP server settings.
                  Because it works out of the box.

                  So, the question has to be asked : what did you do to break this ?
                  Don't say 'nothing' as the default pfSense - we have both the same code - on my differs for our settings. These settings are, by default : identically.

                  edit : use a packet capture, inspect DHCP OFFER packets, check the options present, and see for yourself that a DNS -at least one - is present.
                  And if not,maybe the DHCP client amuses that the gateway == the DNS.
                  Leaving a system without DNS and an OS like windows will show that it's not connected to the Internet.

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  C 1 Reply Last reply Mar 19, 2021, 1:57 PM Reply Quote 0
                  • C
                    Cool_Corona @Gertjan
                    last edited by Mar 19, 2021, 1:57 PM

                    @gertjan said in When DCHP enabled then DNSBL is terminating Python mode....:

                    @cool_corona said in When DCHP enabled then DNSBL is terminating Python mode....:

                    the DHCP clients get everything exept DNS server on their DHCP lease.

                    That's not a normal at all.
                    When you installed pfSense the first time, your first device on LAN, the one that you used to set it up, received an IP for DNS.

                    With any PC OS (Windows 10, Win 7, Debain, etc), when I launch a DHCP renew on the client, I do have a DNS IPv4 (and IPv6).
                    I never had to change any PC IP setup. This has been plug and play. for decades.

                    On pfSEnse, I didn't even bother to change DHCP server settings.
                    Because it works out of the box.

                    So, the question has to be asked : what did you do to break this ?
                    Don't say 'nothing' as the default pfSense - we have both the same code - on my differs for our settings. These settings are, by default : identically.

                    edit : use a packet capture, inspect DHCP OFFER packets, check the options present, and see for yourself that a DNS -at least one - is present.
                    And if not,maybe the DHCP client amuses that the gateway == the DNS.
                    Leaving a system without DNS and an OS like windows will show that it's not connected to the Internet.

                    I configured it with a fixed IP address.

                    So I didnt notice it until I turned DHCP on. Which for testing purposes happened a week ago.

                    G 1 Reply Last reply Mar 19, 2021, 4:17 PM Reply Quote 0
                    • G
                      Gertjan @Cool_Corona
                      last edited by Mar 19, 2021, 4:17 PM

                      @cool_corona said in When DCHP enabled then DNSBL is terminating Python mode....:

                      I configured it with a fixed IP address.

                      Fire your admin.

                      A fixed IP is not only a fixed IP (and a /mask)
                      There is also a IP for the gateway.
                      There is also an IP for DNS
                      NTP while your at it.

                      The typical W10 dialog box for this names them all :

                      c0edd13d-449c-4e67-9333-b6baf7d61e36-image.png

                      ( sorry, they speak french here )

                      No "help me" PM's please. Use the forum, the community will thank you.
                      Edit : and where are the logs ??

                      C 1 Reply Last reply Mar 19, 2021, 6:54 PM Reply Quote 0
                      • C
                        Cool_Corona @Gertjan
                        last edited by Mar 19, 2021, 6:54 PM

                        @gertjan You misunderstand me...

                        Firewall has a LAN IP.

                        I installed it from a workstation with a fixed ip.... not given by DHCP

                        1 Reply Last reply Reply Quote 0
                        11 out of 11
                        • First post
                          11/11
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                          This community forum collects and processes your personal information.
                          consent.not_received