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

DNS and DHCP -> using different domains for each network - Bug #1819 - $150

Scheduled Pinned Locked Moved Bounties
40 Posts 21 Posters 11.6k 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.
  • D
    Derelict LAYER 8 Netgate
    last edited by Sep 23, 2019, 11:21 AM

    If the pfSense DHCP server does not meet your needs use a different DHCP server.

    C C 2 Replies Last reply Sep 23, 2019, 1:26 PM Reply Quote 1
    • C
      CubedRoot @Derelict
      last edited by Sep 23, 2019, 1:26 PM

      @Derelict said in DNS and DHCP -> using different domains for each network - Bug #1819 - $150:

      If the pfSense DHCP server does not meet your needs use a different DHCP server.

      Wow, that's a pretty crummy answer. Sadly I am having to use a different DHCP server because pfSense has neglected this 8 year old bug. This sort of shows the attitude of the "new pfsense' since the whole negate change a few years back.

      1 Reply Last reply Reply Quote 1
      • C
        crond @CubedRoot
        last edited by crond Sep 23, 2019, 6:29 PM Sep 23, 2019, 6:29 PM

        @CubedRoot yeah run in the same problem during evaluation and after googling was surprise to find that it's been reported 8years ago.

        1 Reply Last reply Reply Quote 0
        • C
          crond @Derelict
          last edited by Sep 23, 2019, 6:56 PM

          @Derelict Thank you for such comprehensive answer, it really helps to understand complexity of the problem on netgate side and timeline for resolution.

          1 Reply Last reply Reply Quote 0
          • D
            Derelict LAYER 8 Netgate
            last edited by Derelict Aug 19, 2020, 12:31 PM Sep 24, 2019, 2:56 AM

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • S
              samtap
              last edited by May 27, 2020, 3:54 PM

              Bumping this to let devs know a fix would be very much appreciated.

              1 Reply Last reply Reply Quote 2
              • M
                MrManor
                last edited by Aug 9, 2020, 4:47 PM

                +1 I have quite a few SG1100 around at remote customer sites. It would simplify my usecase considerably if this quite natural way automation between DHCP and DNS was implemented.

                1 Reply Last reply Reply Quote 0
                • P
                  p4-k4
                  last edited by Aug 19, 2020, 5:47 AM

                  A young boy waits...

                  1 Reply Last reply Reply Quote 0
                  • R
                    renatoer @CubedRoot
                    last edited by renatoer Oct 28, 2020, 8:37 PM Oct 28, 2020, 8:33 PM

                    @CubedRoot
                    Probably your issue is solved already, but for anyone looking at this, I am using pfsense 2.4.5 and have only 2 ethernet ports one for WAN and one for LAN and a VLAN.

                    In the pfsense GUI go to :
                    -Services/DHCP Server/LAN
                    -Other options, the second option is "Domain Name" in my case lan.internal

                    -Services/DHCP Server/IOT (in my case this is my VLAN)
                    -Other options, the second option is "Domain Name" in my case crap.internal

                    -If you wanna test them just disable and enable your adapter options on your computer
                    -run cmd "ipconfig /all" and you should see the new domain name.

                    Leave the default domain of pfsense as localdomain, since that will tell you that something is wrong for other devices.

                    H 1 Reply Last reply Apr 24, 2021, 8:07 AM Reply Quote 0
                    • M
                      MrManor
                      last edited by Nov 1, 2020, 3:58 PM

                      @cubedRoot I am not sure what the difference is, but it is not working for me. Maybee a limit on how many sub leves the resolver can handle, or am I not allowed to use a real domain?

                      I have my real domain as vink-slott.dk and would like my internal stuff on [device].int.vink-slott.dk and guests computers on [guestdevice].guests.vink-slott.dk and so on. I have set Other option -> Domain name as described - and under General only the main domain. Everything stil end up under the main domain set under general.

                      1 Reply Last reply Reply Quote 0
                      • K
                        Kick
                        last edited by Dec 3, 2020, 11:06 PM

                        This issue is still present in 2.4.5_p1.

                        I have three interfaces, WAN, LAN, and OPT with DHCP Server enabled on LAN and OPT with different domains provided in the options. All leases still resolve as the domain provided in the general system setup, ignoring the DHCP Server settings.

                        Why provide the option if it is not respected?

                        1 Reply Last reply Reply Quote 0
                        • H
                          hockeyfreak @renatoer
                          last edited by hockeyfreak Apr 24, 2021, 8:24 AM Apr 24, 2021, 8:07 AM

                          @renatoer

                          I've been wondering this the last couple days why this wasn't working, and did what you said, and bingo, it's all showing now!

                          Well done!

                          Edit: I think it may just take a long time to propagate. I changed all my subnet domain names now, and reset all the states, and rebooted the router, and it's still not showing. I'll bet it starts showing sometime in the morning...

                          H 1 Reply Last reply Apr 24, 2021, 9:32 PM Reply Quote 0
                          • H
                            hockeyfreak @hockeyfreak
                            last edited by Apr 24, 2021, 9:32 PM

                            I can confirm if anyone else is having this issue that the new domains did propagate overnight and are now showing correctly in pihole and ipconfig /all. It just took a while.

                            Now if I can just get my domain names to show on the VPN clients that connect to my OpenVPN server, I'd be a happy camper (at least as far as pfSense is concerned...)

                            V 1 Reply Last reply May 12, 2021, 4:34 PM Reply Quote 0
                            • V
                              vc6SfV8 @hockeyfreak
                              last edited by May 12, 2021, 4:34 PM

                              @hockeyfreak I think you misread the post. This original issue wasn't about the DNS hostname on the DHCP lease, but rather the registration of the host and domain in the DNS resolver. This doesn't appear to work as the OP suggested is should.

                              S 1 Reply Last reply May 12, 2021, 5:27 PM Reply Quote 1
                              • S
                                snow @vc6SfV8
                                last edited by snow May 12, 2021, 5:27 PM May 12, 2021, 5:27 PM

                                @vc6sfv8 said in DNS and DHCP -> using different domains for each network - Bug #1819 - $150:

                                @hockeyfreak I think you misread the post. This original issue wasn't about the DNS hostname on the DHCP lease, but rather the registration of the host and domain in the DNS resolver. This doesn't appear to work as the OP suggested is should.

                                I can confirm it's still not working in current 2.5 Release.

                                W 1 Reply Last reply Nov 2, 2021, 12:33 PM Reply Quote 1
                                • W
                                  wollems @snow
                                  last edited by Nov 2, 2021, 12:33 PM

                                  still not working... i have several sub-domains on my vlans and need a working reverse-lookup.. right now reverse-lookup returns general domain-name from settings..

                                  D 1 Reply Last reply Nov 11, 2021, 4:07 AM Reply Quote 2
                                  • D
                                    dkyyz @wollems
                                    last edited by dkyyz Nov 11, 2021, 4:14 AM Nov 11, 2021, 4:07 AM

                                    @wollems

                                    +1 here.... I just want to have a subdomain for my VLAN, and even specified in the DHCP, it still only resolve as the primary domain in general setting.

                                    I checked /var/dhcpd/etc/dhcpd.conf, it has my subdomain specified under the subnet group.

                                    [ADDED]

                                    I just tested by specifying a static IP/MAC mapping with the subdomain. Doing nslookup now report correctly...

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      scsirob
                                      last edited by Mar 26, 2022, 8:06 AM

                                      • No go in 2.6, old guy still hoping for a solution
                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        andrewcz
                                        last edited by andrewcz Jul 24, 2023, 3:23 AM Jul 24, 2023, 3:22 AM

                                        I wonder what that $150 should be now after inflation 🤔

                                        Either way, also not having any luck with this. I'd love to see this as it'd be a big boon to treating servers as cattle rather than pets, which DHCP enables. and appropriately accessing servers that need interfaces in multiple networks for network segmentation.

                                        johnpozJ 1 Reply Last reply Jul 24, 2023, 10:19 AM Reply Quote 0
                                        • bingo600B
                                          bingo600
                                          last edited by Jul 24, 2023, 7:30 AM

                                          Since ISC-DHCP Server is EOL , i'd not expect Netgate to spend a lot of time o adapt it to "multi domains".
                                          The "obvious" replacement would be ISC KEA, and probably what Netgate would implement in a future release.

                                          Maybe they'll look at "multi domain", when implementing the new DHCP server.

                                          /Bingo

                                          If you find my answer useful - Please give the post a 👍 - "thumbs up"

                                          pfSense+ 23.05.1 (ZFS)

                                          QOTOM-Q355G4 Quad Lan.
                                          CPU  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                                          LAN  : 4 x Intel 211, Disk  : 240G SAMSUNG MZ7L3240HCHQ SSD

                                          M 1 Reply Last reply Jul 26, 2023, 9:57 AM Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received