Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
franga2000
· 2y ago · 0 comments
I would love something like this integrated with OpenWRT so it can also get the DHCP hostname. This is usually the most useful bit of information, but the hardest one to get if you're not the router.
Comments
[–]
tomn
2y ago
OpenWrt's dnsmasq will serve PTR records corresponding to DHCP leases, so you can use reverse DNS lookups. Use something like:
dig -x ip_address_here
For me it would be ideal if the prometheus exporter would expose the actual DHCP leases, but it doesn't seem to by default.