ARP Table broken, No hostnames for LAN
I've recently updated to the latest RC3 builds. (running : 2.0-RC3 (amd64) built on Fri Jun 24 09:54:09 EDT 2011)
Since that time the page : "Diagnostics"->"ARP table" no longer shows my LAN hostnames.
I believe it's caused by the use of "host -W 1" to determine the hostname for the IP addresses.
As you can see in the attachment it works fine for my WAN.
It was implemented to fix a long DNS server time-out issue…
(If the DNS-server is faulty it won't be noticed in both occasions (before the fix and after) due to the to the added "-W 1"...)
host -W 1 84.xxx.xxx.xxx xxx.xxx.xxx.84.in-addr.arpa domain name pointer xxxxxxxxxxxxxx.dynamic.ziggo.nl.
It works OK for WAN IP numbers.
Now we enter a local IP:
host -W 1 192.168.0.1 Host 184.108.40.206.in-addr.arpa. not found: 3(NXDOMAIN)
It won't work.
Entering with the use of localhost as DNS results in a bit more complex output of the "host" command.
If the DNS is faulty, taking too long to respond, the "-W 1" will limit the time "host" waits for an answer.
host -W 1 84.xxx.xxx.xxx localhost Using domain server: Name: localhost Address: 127.0.0.1#53 Aliases: xxx.xxx.xxx.84.in-addr.arpa domain name pointer xxxxxxxxxxxxxx.dynamic.ziggo.nl.
host -W 1 192.168.0.1 localhost Using domain server: Name: localhost Address: 127.0.0.1#53 Aliases: 220.127.116.11.in-addr.arpa domain name pointer pfsense.home.
host -W 1 18.104.22.168 verybaddnsserver ;; connection timed out; no servers could be reached
Hope this helps making ARP table work in all conditions? (LAN/WAN and long DNS time-outs)
I checked this out and the host names for my systems were blank too.
I went and checked my DNS entries (System -> General Setup) and found that I had the wrong IP address for the DNS server handling my local systems. :-[
Changed the IP address to point to a working DNS server, and lo, the ARP table had hostnames! :)
Yes, I've got your method working.
You also have to turn off "Allow DNS server list to be overridden by DHCP/PPP on WAN" in order for it to work.