Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    How can I enable reverse‑DNS lookups for connections in the pfSense state table / pfTop?

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 2 Posters 1.8k Views 2 Watching
    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.
    • F Offline
      Feline
      last edited by

      I’m using pfSense (latest version) and I want the state table (Diagnostics → States) and/or the live connection view (Diagnostics → pfTop) to show hostnames instead of raw IP addresses.

      Where is the “Resolve IP addresses to hostnames” (or similar) option located?
      Does the feature require any additional package or service (e.g., DNS Resolver, DNS Forwarder) to be enabled?
      Are there any performance considerations or caching settings I should be aware of when enabling reverse DNS lookups?

      Thanks in advance!

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

        @Feline not aware of anyway to just have it auto lookup or click a button like firewall log to resolve in the state table. But you could just copy paste the IP and do a dig -x for the IP to lookup the PTR. Keep in mind not all IPs have a PTR.

        example here is a state in my table

        209.snipped:30233 (192.168.4.51:15459) -> 16.144.187.96:8883
        
        $ dig -x 16.144.187.96 +short
        ec2-16-144-187-96.us-west-2.compute.amazonaws.com.
        

        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 26.03.1 | Lab VMs 2.8.1, 26.03.1

        1 Reply Last reply Reply Quote 0
        • F Offline
          Feline
          last edited by Feline

          Thanks but I was looking for an automated function that translates all the ip's, like you have on openwrt and fortigate.
          Isn't there a package I can download that has that function?

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

            @Feline not that I am aware no..

            You able to do it with ntop pretty sure - but that wouldn't be doing it in pfsense state table - but in its own listing of traffic.

            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 26.03.1 | Lab VMs 2.8.1, 26.03.1

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