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

    Staic IP keeping .local domain mapping

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 1 Posters 125 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.
    • SoloamS
      Soloam
      last edited by

      Hello, I'm using DNS Resolver and I have the option "Register DHCP leases in the DNS Resolver" selected. When a new systems requires a DHCP ip and enters the network (lets assume user1 hostname) I can DNS to user1.local and user1.home (my local domain). The problem is that when I add a static mapping to a IP (and keep the user1 in DHCP), the ip is requested to the DHCP and the static ip is assign. My problem is that when I do this I lose the .local domain, I can only go to the device from the .home domain. I tried to add the "Domain Name" in the static to local, but it does not work.

      Can I do a static mapping and keep both domains? I have some devices that require the local domain to work.

      Thank You

      1 Reply Last reply Reply Quote 0
      • SoloamS
        Soloam
        last edited by

        Ok I found the solution on debian! I should edit the /etc/nsswitch.conf file! But can anyone explain to me why if the dhcp assigns a ip the .local domain keeps working, but if the ip is static in pfsense can't!?

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