OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • How to Resolve Local Client Names with opnSense
« previous next »
  • Print
Pages: [1]

Author Topic: How to Resolve Local Client Names with opnSense  (Read 102 times)

rmoggia

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
How to Resolve Local Client Names with opnSense
« on: December 02, 2024, 04:38:17 pm »
Good morning everyone. As you can tell from the object, I have a basic need. Allow each computer on the network to resolve the names of the other computers on the LAN. I have read several articles, but honestly I am confused about the right path to follow. Can someone direct me? Thank you
Logged

dseven

  • Sr. Member
  • ****
  • Posts: 337
  • Karma: 36
    • View Profile
Re: How to Resolve Local Client Names with opnSense
« Reply #1 on: December 02, 2024, 06:05:05 pm »
If you want it to be predictable, the usual practice would be to use DHCP reservations for your important hosts, and configure OPNsense to register those reservations with the Unbound DNS service, then you can use names like "mypc.localdomain" (or whatever you choose "localdomain" to be  - "lan" is fairly common). Dynamic DHCP leases can be registered with Unbound too, but you're dependent on the client requesting a meaningful hostname....
Logged

EricPerl

  • Full Member
  • ***
  • Posts: 108
  • Karma: 4
    • View Profile
Re: How to Resolve Local Client Names with opnSense
« Reply #2 on: December 02, 2024, 09:31:41 pm »
You can start with Services > Unbound DNS > General : Register ISC DHCP4 Leases
You might need to adjust your devices host names (OS dependent).

If the outcome does not meet your expectations, you can add host overrides:
Services > Unbound DNS > Overrides.
The DHCP dynamic assignments might be stable enough. If they aren't, there's always reservations.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • How to Resolve Local Client Names with opnSense
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2