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

    Resolution of the router's own hostname

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 571 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.
    • R Offline
      reinderien
      last edited by

      DNS using unbound is working more or less like I want it to. It is able to respond to queries for hostnames of machines on the LAN with the LAN's configured DNS suffix.

      There's a quirk - pfSense refuses queries from LAN clients to resolve the router's own hostname. I've worked around this by adding a host override in the resolver configuration page. Why should this be necessary? Shouldn't pfSense already be able to respond to queries about its own hostname?

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

        No. Setting the hostname does not put anything in DNS. You need the host override if you want to resolve the name.

        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
        • R Offline
          reinderien
          last edited by

          OK. Well that's good to know. I would propose that this is "surprising" behaviour, and at the least, an option should be introduced to the UI such as "Add entry in DNS to resolve router hostname". This is a common-enough problem, I'm sure, that it would be a useful feature.

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