• 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.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.
  • 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.

          J 1 Reply Last reply Jul 24, 2023, 10:19 AM Reply Quote 0
          • B
            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
            • J
              johnpoz LAYER 8 Global Moderator @andrewcz
              last edited by Jul 24, 2023, 10:19 AM

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

              servers that need interfaces in multiple networks for network segmentation.

              That is almost always a bad idea. Unless this other network on the multihomed server is just a SAN network.

              Servers with legs in multiple segments pretty much defeat the whole purpose of firewall between your segments.

              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

              M 1 Reply Last reply Jul 26, 2023, 10:53 AM Reply Quote 0
              • M
                MrManor @bingo600
                last edited by Jul 26, 2023, 9:57 AM

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

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

                I hope that it taken into consideration when ISC-DHCP is replaced. ISC-DHCP in it self, has been able to handle multiple domain all the time.
                Anyway, all my SG-1100 boxes are nearing end off life to, so I maybe I should look into alternatives.

                1 Reply Last reply Reply Quote 0
                • M
                  MrManor @johnpoz
                  last edited by Jul 26, 2023, 10:53 AM

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

                  That is almost always a bad idea. Unless this other network on the multihomed server is just a SAN network.

                  Well I see several relevant use cases:

                  • subdomains: Say in a branch office you would like to name technical equipment in one subdomain, office PC's in another and public guest equipment in another.
                  • multi DMZ: if I have a duplicates of webserver and database in small dmz zones, I think it is convenient to have names reflecting there purpose, like wwww.somesite.dk, db.somesite.dk and in another zone www.anothersite.net and db.anothersite.net
                  J 1 Reply Last reply Jul 26, 2023, 11:18 AM Reply Quote 0
                  • J
                    johnpoz LAYER 8 Global Moderator @MrManor
                    last edited by johnpoz Jul 26, 2023, 11:27 AM Jul 26, 2023, 11:18 AM

                    @MrManor Not saying subdomains are a bad idea.. What I was saying is a bad idea is multihoming some box.

                    If I have network A for servers, and network B for user pcs.. Why for example would my server have an interface in both A and B. This leads to asymmetrical traffic flow. And you pretty much makes any rules you put on the firewall between networks A and B useless.

                    You can for sure have different subdomains for your different networks.

                    Here I have entries on my different interfaces in pfsense - so I can just easy do a ptr query and know what "network" that is by my naming of them..

                    $ dig -x 192.168.9.253 +short
                    sg4860.local.lan.
                    
                    $ dig -x 192.168.3.253 +short         
                    sg4860.dmz.local.lan.                 
                    
                    $ dig -x 192.168.2.253 +short         
                    sg4860.wlan.local.lan.                
                    

                    ass.jpg

                    Even if the pc uses the 192.168.1.x address to talk to the server, since the server has a leg in 192.168.2 he would answer via that connection it would be asymmetrical

                    And since the server has an IP in 192.168.2 - the pc can just talk directly to the server without going through pfsense and bypass any firewall rules you might have set, etc..

                    Multihoming devices - unless you know exactly what you are doing can lead to all kinds of problems. It normally should really be avoided..

                    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

                    M 1 Reply Last reply Jul 28, 2023, 8:15 AM Reply Quote 1
                    • M
                      MrManor @johnpoz
                      last edited by Jul 28, 2023, 8:15 AM

                      @johnpoz I agree on that, but multihoming is not why I have been supporting this tread. I would just like the subdomain/multible domain dns update to work.

                      I would like to use dhcp to assign ip to my servers, and subsequently update dns (I admit I have not testet lately, but I still don't think dhcp/dns update allows for more that one domain).

                      1 Reply Last reply 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