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

    Newbie question 2 DNS pfsense

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 238 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.
    • R
      routernewbie
      last edited by routernewbie

      For a test in large LOCAL network not connected to internet i want to test with 2 pfsense vm's . ( in total 100 ip's are used)
      In both vm's the domain is set to MyLan.tst
      nslookup to pfsense01 is ok, but not to Pfsense02, only if i add it to both pfsense01 and 02 manually.

      Pfsense01 main DNS DHCP and fixed IP's are used
      Manually added fixed ip's in the PFsense dns works
      PFsense01 10.10.10.10 for the Lan as main DNS 10.10.10.0/24

      PFsense02 10.10.10.11 for the lan as secondary DNS 10.10.10.0/24

      In windows/linux i can set 2 DNS primary /secondairy.
      Is there a simple way to sync the 2 pfsense01 and 02 to each other, so if 1 fails or shutdown the other 1 has all data.

      Or is this not going to work ?

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

        Doesn't work that way..

        Why do you think you need 2 dns? exactly? In case one fails? So your going to setup these pfsenses in carp?

        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

        1 Reply Last reply Reply Quote 0
        • R
          routernewbie
          last edited by routernewbie

          In the test we have 2 location ~ 500 meters apart. In both buildings we have 1 EXSI machine. Our first plan was to install 1 pfsense on each location.

          If have read about carp, and i think that we should use that.
          I have to add 1 extra Vlan to sync the both pfsense units.
          AS i have read 1 pfsense should be master the other slave.

          10.10.10.0/24 With Vlan 10
          So we make the virtual DNS 10.10.10
          Pfsense01 10.10.10.11
          Pfsense02 10.10.10.12

          For the sync we use then Vlan 99
          Pfsense01 10.10.99.11
          Pfsense02 10.10.99.12

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