ARP Table: hostname uses reverse DNS lookup as fallback#6016
ARP Table: hostname uses reverse DNS lookup as fallback#6016AdSchellevis merged 6 commits intoopnsense:masterfrom
Conversation
|
A similar construction as used for the routes might be acceptable, putting the burden to resolve (with timeouts for everyone) isn't, so if you're up for it, please change the PR to include the option to the endpoint, either as uri part or as parameter (latter might make more sense at the moment). For some inspiration, the following code blocks are being used in the route dialog. ps: removing the |
|
Hi thanks for the fast review! You're perfectly right. I wrongly assumed that the ARP table should typically be only filled with LAN IP addresses where DNS timeout is usually not an issue for in-addr.arpa zones. But for cases where OPNsense is used mainly with publically routables ip addresses, that obviously would create timeout issues. Thanks for the inspiration examples (helps a LOT): I'm gonna fix the PR to make DNS resolving optionnal, like in routes. |
|
Here it is. Notice that:
HTH |
|
@AdSchellevis Thank you for the fast merge & cleanup. 👍 Happy to contribute! 😎 |
Arp table only relies on dhcp-leases entries to get the hostname. So when using an external DHCP server, or for IP addresses that are not assigned by DHCP, the displayed hostnames are always blank.
Features added:
HTH