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

    Pfsense does not resolve domain on my lan

    Scheduled Pinned Locked Moved Firewalling
    8 Posts 4 Posters 798 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.
    • T
      TheMac
      last edited by

      I have a home gitlab server in which I have applied the corresponding rules in NAT / Port Forward to be able to access from outside my Lam network.

      The problem arises when I try to enter from any computer on my Lam, when putting my domain this is not resolved I can only enter using the server's ip.
      What should I do to be able to access my server using my domain, instead of the IP of the gitlab server.

      JKnottJ 1 Reply Last reply Reply Quote 0
      • JKnottJ
        JKnott @TheMac
        last edited by

        @themac

        Have you created host overrides in the DNS resolver page?

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        T 1 Reply Last reply Reply Quote 0
        • T
          TheMac @JKnott
          last edited by

          @jknott said in Pfsense does not resolve domain on my lan:

          @themac

          Have you created host overrides in the DNS resolver page?

          Yes

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

            @themac Post a screenshot of what you did and some example output of what you see when you try to resolve.

            T 1 Reply Last reply Reply Quote 0
            • T
              TheMac @KOM
              last edited by

              @kom said in Pfsense does not resolve domain on my lan:

              @themac Post a screenshot of what you did and some example output of what you see when you try to resolve.

              resoled

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

                @themac And your solution was.....?

                T 1 Reply Last reply Reply Quote 0
                • T
                  TheMac @KOM
                  last edited by

                  @kom said in Pfsense does not resolve domain on my lan:

                  And your solution was.....?
                  Install bind as a local DNS server so my domain was not resolved locally

                  GertjanG 1 Reply Last reply Reply Quote 0
                  • GertjanG
                    Gertjan @TheMac
                    last edited by Gertjan

                    @themac

                    I never needed bind to that.
                    The default pfSense settings - two lines to edit, did that for me :

                    a076c41b-fe60-4fd7-93cf-9f3df057119d-image.png

                    And bang, now the entire network knows it's part of the domain name (see image).
                    And pfSense knows it's called pfSense.

                    Let's check :

                    677d863c-f0f6-409c-9dc1-78220815c2a5-image.png

                    More checks :

                    ad0a06d3-8a8d-4799-953b-e1ba601a8c90-image.png

                    I used a magic trick :
                    Didn't had to change anything on the Resolver setting page neither.
                    Use the default and you're good.
                    I tend to say : " don't break things if toy want it to work. "

                    Because I own (== I rent) this domain name, and because I do my own domain name server handling on a dedicated server some where on the Internet I can now do click-click install acme and hoppa, real trusted certs for me.
                    Free Dynds for all my devices with some more clicks.
                    ( DNSSEC while you're at it - but this time the mouse will abandon you, a head, some brains and a keyboard are needed)
                    The name server uses bind ,of course.

                    But why role out the tank if you can wipe the bug with a bug wiper ?

                    No "help me" PM's please. Use the forum, the community will thank you.
                    Edit : and where are the logs ??

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