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

    names for static host inside network

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 4 Posters 391 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.
    • I
      IvanRom
      last edited by

      Hello! I have 30 computers inside my network that have my netbios names. Since netbios is constantly buggy with re-election, I want to write in pfsense direct links "name", "address", as in hosts. for example
      "comuser 192.168.0.5"
      "comuser2 192.168.0.6"

      This is necessary so that other computers can ping them using the commands ping comuser2, etc.

      I went into dns - domain overrides and registered bundles, but even pfsense itself does not ping them by name. How can this be done in pfsense?

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

        You would use a host override, not a domain override. You provide the host, the domain and the IP address it should resolve to. It just works.

        1 Reply Last reply Reply Quote 0
        • bmeeksB
          bmeeks
          last edited by

          First, are all of your 30 computers assigned static IP addresses? If not, your overrides will be worthless the next time a computer reboots and gets some other IP address from DHCP.

          If you use DHCP from your pfSense box, you can have the DHCP server register the hostnames in the DNS Resolver of pfSense.

          If you use static IP addressing for your computers, then you can enter Host Overrides in the DNS Resolver. You would only use a domain override if you have an actual fully qualified domain. If you were formerly depending on NetBIOS, I'm thinking you don't have an actual registered domain. What you want sounds like you need Host Overrides to sort of replicate what NetBIOS did for you.

          By the way, Microsoft has sort of abandoned NetBIOS names. That's why it appears buggy to you.

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

            You need to pick a domain name to use.. pfsense default to like localdomain I believe..

            But you can use whatever you want - pick something that is not public and does not resolve on the public.. say ivan.lan or something..

            Now all your machines can resolve other machines via the fqdn comuser.ivan.lan

            If you don not want to type the fqdn, then setup search suffix, normally windows will use the domain handed out by the dhcp server for the domain as search suffix.

            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.