OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • Hostname of clinets PC [solved]
« previous next »
  • Print
Pages: [1]

Author Topic: Hostname of clinets PC [solved]  (Read 2892 times)

xseman

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Hostname of clinets PC [solved]
« on: September 17, 2017, 04:12:01 pm »
Hello friends,

is is possible to output hostnames of connected PCs in LAN to terminal?
if i use 'arp -a' instead of hostname of client i get '?'.

Thanks!
« Last Edit: September 17, 2017, 07:38:43 pm by xseman »
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2768
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Hostname of clinets PC
« Reply #1 on: September 17, 2017, 04:33:42 pm »
the DHCP server may know it as it is a field that is sent with the DHCP request.
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 1543
  • Karma: 166
    • View Profile
Re: Hostname of clinets PC
« Reply #2 on: September 17, 2017, 04:47:05 pm »
Do the IP addresses otherwise resolve to hostnames? You may be missing reverse DNS zones.

Bart...
Logged

xseman

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Hostname of clinets PC [solved]
« Reply #3 on: September 17, 2017, 07:38:24 pm »
Thank you!

 enabling DHCP Registration under Dnsmasq DNS: Settings works :)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • Hostname of clinets PC [solved]
 

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