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

    Redirect DNS: Question.

    Scheduled Pinned Locked Moved General pfSense Questions
    35 Posts 3 Posters 3.0k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator @yogi_en
      last edited by johnpoz

      @yogi_en no I don't think so, you could run say unbound on port x, and then dnsmasq on port y and then even bind on port z I would think.

      Don't forget the control port, 953 I think is both default for bind and unbound.. So one of those needs to be changed as well.

      If it was me personally and I wanted to fire up different NS instances or software versions to be used by different things on my network. I would just fire them up on a vm or docker or a pi, etc. Vs trying to get them all to run on pfsense at the same time on different ports.

      If you don't have say a nas or something you can run some low power vms on - pi's are cheap, and they sell neat little cluster sort of racks to mount them all together and can provide power to all of them via some usb power strip... I provide power to 4 of them with a little usb power thing from anker that can provide 60w, etc. And then little short usb cables.. All of that can be setup for very low budget.. You could prob even use pi zeros for such lower requirement sort of services..

      Something like this for a bunch of pi zeros

      pizero.jpg

      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

      Y 2 Replies Last reply Reply Quote 0
      • Y
        yogi_en @johnpoz
        last edited by

        @johnpoz

        Thanks. I do have a pi which runs pihole and Unifi Controller. I do have a home assistant server ( along with frigate for camera ) which also runs 24x7. I will see whether I can use any of these devices. My NAS is not on 24x7.

        The cluster of pi zeros looks really interesting. Will explore that too.

        1 Reply Last reply Reply Quote 0
        • Y
          yogi_en @johnpoz
          last edited by

          @johnpoz
          Another related question.

          Can I configure dnsmasq in pfsense ( via Advanced Options ) so that different clients uses different DNS servers?. As I understand this is also not possible because DHCP is not done by dnsmasq in pfsense. Is that correct?

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

            @yogi_en just set in the dhcp server what dns you want clients to use.

            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
            • M
              MoonKnight @johnpoz
              last edited by

              @johnpoz

              Hi,
              Is my rule correct? My Pi-hole is on another vlan.

              0e1fc125-d5f4-437a-a0c7-f1dbaaa0b2a3-image.png

              90df7715-5897-45eb-81d5-65734e9df0fd-image.png

              --- 24.11 ---
              Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
              Kingston DDR4 2666MHz 16GB ECC
              2 x HyperX Fury SSD 120GB (ZFS-mirror)
              2 x Intel i210 (ports)
              4 x Intel i350 (ports)

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

                @MoonKnight when your pihole is on a different vlan then the client you can do that.. But if your client is on the same network as pihole you can run into problems.

                But yeah looks to be redirecting, there is no way google knows about pfsense.home.arpa ;) and sure don't think google is going to answer in 5 ms let alone 1 ;)

                btw, I am a huge fan of dig on windows that I see your running, 9.16.48 is out ;) so your bit behind there ;)

                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 Reply Quote 1
                • M
                  MoonKnight @johnpoz
                  last edited by

                  @johnpoz
                  Hi, thank you very much ;) And thanks for the info around newer Dig version. Just updated :)

                  --- 24.11 ---
                  Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
                  Kingston DDR4 2666MHz 16GB ECC
                  2 x HyperX Fury SSD 120GB (ZFS-mirror)
                  2 x Intel i210 (ports)
                  4 x Intel i350 (ports)

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

                    @MoonKnight its sad they are dropping support for dig on windows.. As my work around I just installed wlc on my windows box use that for my day to day dig needs.. This way I can easy use the features and stuff in 9.18 while windows is stuck in the 9.16 line..

                    user@i9-win:~$ dig
                    ; <<>> DiG 9.18.24-1+ubuntu22.04.1+deb.sury.org+1-Ubuntu <<>>

                    Pretty much just looks like have cmd prompt window open

                    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 Reply Quote 0
                    • M
                      MoonKnight @johnpoz
                      last edited by

                      @johnpoz
                      I was reading about the same, they are dropping support for windows :(
                      But I do have installed WSL - Ubuntu, but haven't tried it so much. For some reason I still use CMD :)

                      --- 24.11 ---
                      Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
                      Kingston DDR4 2666MHz 16GB ECC
                      2 x HyperX Fury SSD 120GB (ZFS-mirror)
                      2 x Intel i210 (ports)
                      4 x Intel i350 (ports)

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

                        @MoonKnight oh I still have my cmd window open all the time.. But I also have the wsl prompt open - I use it for whois multiple times a week for sure..

                        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
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.