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

    How to run DHCP on pfSense, but register DNS in Win2k3 server

    Scheduled Pinned Locked Moved DHCP and DNS
    16 Posts 6 Posters 3.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.
    • KOMK
      KOM
      last edited by

      Everything I've read says that if you're using an AD domain, you should let Windows handle DNS/DHCP.  That's also how I do things here.  If your DC goes down, you've got bigger fish to fry anyway.  I assume you're running a BDC as well?

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

        ^ Exactly!!!  Other than the fact there are no BDCs any more, those went away after NT ;)  But sure more than 1 DC should be a given.

        There is really no point in running dhcp/dns on pfsense if you have Active Directory running..

        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.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • M
          muswellhillbilly
          last edited by

          Assuming you have just one Windows DNS server acting as your DC, you can set your DHCP scope on the DHCP server to use the DC as the primary name server and then set the pfSense address as the secondary. This way, you keep your Windows domain happy and will still have use of a backup name server if your DC goes down. Though - as already stated - I would have thought internet access would be the least of your worries if your Windows domain controller packs up.

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

            "use the DC as the primary name server and then set the pfSense address as the secondary"

            Sorry but no this is not how it should be done..  The ONLY dns listed for member of AD should be AD dns..  You do not know when the client might use the secondary dns, if fist one times out on a query (doesn't answer fast enough). It could ask the secondary - and now that answered stick with that one, etc..

            Members of AD should only point to AD dns PERIOD!!!  If you want more than one, then there should be more than one AD dns..

            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.7.2, 24.11

            1 Reply Last reply Reply Quote 0
            • KOMK
              KOM
              last edited by

              Other than the fact there are no BDCs any more, those went away after NT ;)

              Hush up!  You're making me feel old.

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

                hehe, yeah you can tell the old admins that still use the term bdc ;)  I catch myself doing it as well - so don't feel too old.  I wonder if I have a copy of NT laying around - fire up an old domain ;)

                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.7.2, 24.11

                1 Reply Last reply Reply Quote 0
                • KOMK
                  KOM
                  last edited by

                  I have an active Windows NT 4.0 Server box sitting about 15 feet away from me.  In a previous life we did optical drive & jukebox software, so I still to this day need a system that I can read & write NTFS4 for optical media data recovery purposes.

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

                    Well I just fired up a VM, stroll down memory lane on the setup process.  Sure went a lot faster on a vm than I remember on real hardware ;)

                    Had to find sp6 to be able to install the nic drivers from vmtools - but its up and running and on the network ;)  Hmm should I setup a domain is the question… hehe  But it does ask you when you run through setup if you want it to be primary or BDC ;)

                    setupnt4.png
                    setupnt4.png_thumb
                    memorylane.png
                    memorylane.png_thumb

                    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.7.2, 24.11

                    1 Reply Last reply Reply Quote 0
                    • KOMK
                      KOM
                      last edited by

                      Did oyu have a product key for it or did you remember the old 111-111111111 trick?

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

                        I remember the 111 thing now that you mention it ;)  But I just did a quick google, there was cdkey on archive.org for that matter.  The OS is so old I think its public domain anyway.

                        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.7.2, 24.11

                        1 Reply Last reply Reply Quote 0
                        • M
                          muswellhillbilly
                          last edited by

                          Ah, yes - slapping my forehead now. Windows DNS for AD is specific to AD, of course - with all those wonderful proprietary entries which make AD work (badly). You're right Johnpoz - I should sometimes engage my brain before typing. Ignore my previous bad advice.

                          1 Reply Last reply Reply Quote 0
                          • K
                            kejianshi
                            last edited by

                            Now I want to install windows 95…  Where did I put that 20 pound stack of install disks....

                            1 Reply Last reply Reply Quote 0
                            • T
                              ttblum
                              last edited by

                              Hi,

                              I'm basing my setup on section 21.3.1.5 "Domain Overrides" of the first pfSense book.  I need internet connectivity to stay up if there is a PDC failure because I have many mission-critical apps that are hosted over the internet.

                              As suggested there, my DHCP server is the pfSense router, primary DNS is the PDC, and secondary DNS is the pfSense.

                              Does setting it up this way usually register the correct workstation names in the PDC's DNS?

                              1 Reply Last reply Reply Quote 0
                              • DerelictD
                                Derelict LAYER 8 Netgate
                                last edited by

                                Your solution is another DC, not pfSense.  I would give DHCP duties to the windows server.

                                A BIND server with slave copies of the windows DC/DNS master zones should be good enough as a secondary in a pinch if you're looking for a free software solution - as long as AD is maintaining the contents of the zone files and you refresh early and often.  Unless AD has DNS record types or something that nobody else uses - wouldn't surprise me.

                                As has been said, ALL of the name servers given to a client have to behave the same way and have the same content.

                                ETA: Hmm.  Thinking about it, shouldn't it work if he domain overrides his AD DNS zone and in-addr zone(s) over to his DC? (with DHCP moved over to windows, of course)

                                Chattanooga, Tennessee, USA
                                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                1 Reply Last reply Reply Quote 0
                                • T
                                  ttblum
                                  last edited by

                                  It looks like the issue was that we decommissioned workstations without removing them from Active Directory.

                                  The DNS records of the old workstations stayed on the domain controller while the new workstations were joining, and I ended up with multiple DNS records pointing to a single IP address.

                                  The DNS/ActiveDirectory forwarding is working fine with pfSense, I have a similar setups at other sites.

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