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

    DNS Instead of LAN IP

    Scheduled Pinned Locked Moved DHCP and DNS
    8 Posts 2 Posters 1.3k 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.
    • A Offline
      AYSMAN
      last edited by

      Hi guys,

      Can anyone help me on this.. I want to access  the database on specific PC on my local network but instead of using the LAN IP Address of the PC, I want to use a DNS instead. E.G. mycomputer.office.com instead of 192.168.1.3 How to I set this up on my pfsense version 2.3?

      Thanks in advance guys.

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

        Services > DNS Resolver Host override

        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
        • A Offline
          AYSMAN
          last edited by

          Noob question here. But does the DNS should be a verified working DNS or it can be something I made up.

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

            You can host override any hostname/domain name (FQDN).  Most people use something like host.local if they don't have a registered domain.

            Of course it'll only work locally.

            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
            • A Offline
              AYSMAN
              last edited by

              I'm really sorry. But can you give me a sample set up say i have this IP 192.168.1.3 and i want to access its datebase using this dns server.office.com

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

                Like this:

                (edited to replace donkey image)

                ![Screen Shot 2016-04-21 at 8.40.47 PM.png_thumb](/public/imported_attachments/1/Screen Shot 2016-04-21 at 8.40.47 PM.png_thumb)
                ![Screen Shot 2016-04-21 at 8.40.47 PM.png](/public/imported_attachments/1/Screen Shot 2016-04-21 at 8.40.47 PM.png)

                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
                • A Offline
                  AYSMAN
                  last edited by

                  already did the same set up. I should have a ping on server.office.com right?

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

                    Your LAN hosts need to be pointed at pfSense for DNS.

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