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

    Hosts file

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 Posters 1.8k 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.
    • J
      JonH
      last edited by

      On my prior firewall & os the firewall read the hosts file and used that info.

      Is there a way in pfSense to define lan hosts so that when reading the firewall log my lan hosts show up by name instead of ip?

      1 Reply Last reply Reply Quote 0
      • RonpfSR
        RonpfS
        last edited by

        You can use Host Overrides in DNS resolver and DNS forwarder.

        2.4.5-RELEASE-p1 (amd64)
        Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
        Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

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

          I don't think that will resolve names in the firewall log. I can't see resolving names before they are placed in the log as being a good idea. This is probably something better done by an external logging and presentation facility.

          You can attempt resolution of an entry that interests you by clicking the i next to the IP address.

          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
          • RonpfSR
            RonpfS
            last edited by

            Yeah you still have to hit the "+" icons to resolve them, on the bright side, once the hosts is resolved it updates all entries that have the hosts.

            pfBlockerNG logs have the option to Auto Resolve IPs.

            2.4.5-RELEASE-p1 (amd64)
            Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
            Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

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