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

    "filterdns: host_dns: failed looking up",Using hostname in alias,cosmetic error?

    Scheduled Pinned Locked Moved NAT
    3 Posts 2 Posters 1.9k 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.
    • V
      vmikalinis
      last edited by

      Hello,
      I am getting the an error in my logs while using an alias containing a hostname rather than an IP for a port forwarding rule.  Pfsense seems to be able to use the hostname since the rule works and the right IP is listed in Diagnostics, Tables.  I am wondering if this is just a cosmetic error and is safe to ignore?

      Dec 18 00:20:54 filterdns: host_dns: failed looking up "server.domain": hostname nor servname provided, or not known
      Dec 18 03:36:46 filterdns: host_dns: failed looking up "server.domain": hostname nor servname provided, or not known
      Dec 18 16:52:59 filterdns: host_dns: failed looking up "server.domain": hostname nor servname provided, or not known
      Dec 18 18:39:12 filterdns: host_dns: failed looking up "server.domain": hostname nor servname provided, or not known
      Dec 19 06:10:07 filterdns: host_dns: failed looking up "server.domain": hostname nor servname provided, or not known

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Where is that hostname defined? The error just means that it tried to resolve it via DNS and failed. If it eventually worked, then the error is likely temporary for one reason or another.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • V
          vmikalinis
          last edited by

          The alias contains the hostname, then the alias is used to forward a port.  Just in case the IP of the hostname changes.

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