Windows pc's hostname missing from arp
-
why do none of the windows machines have a hostname in arp but ios mac osx do ?
-
What version of windows are you seeing this?
Is this useful? https://forum.pfsense.org/index.php?topic=38143.0
-
windows 7 and windows 8 machines
-
That means they don't have reverse DNS entries. Do they show up with hostnames under Status>DHCP leases?
-
I've got 2 win7 machines here std consumer setup onto the net via pfsense, ie no AD server or anything, one shows the hostname in the arp, the other doesnt.
The one that doesnt show the hostname in the arp, has an ip address assigned to it via Services, DHCP Server, add DHCP Static Mappings for this interface. Thats the only difference I can see. Nothing in the client identifier, but the host name minus the domain field is filled in for the static mapping entry.
Should static mapped hostnames appear in the arp?
-
okay looks like the its only my static windows machines that dont have host names
-
they should show up, yeah. You using DNS Forwarder or DNS Resolver?
-
using the resolver
-
was using forwarder at one point dont think ive ever seen it work till added some apple devices
-
using the resolver
Make sure in the DNS Resolver settings that the option Register DHCP static mappings in the DNS Resolver is checked. This will have all of your static DHCP entries added to Unbound. Also check the setting above it to have your dynamic hosts also added to Unbound.
-
all options on first page of resolver are ticked
-
I thought adding PTRs for static mappings must have been an oversight, but it doesn't appear that's the case. Check host_entries.conf in /var/unbound/ for local-data-ptr for the hosts in question. For instance, I have the following:
host_entries.conf:local-data-ptr: "192.168.155.11 xubuntu-test1.localdomain"
where 155.11 is a static mapping and that's the hostname of that system. It works fine.
Do you have a hostname defined in the static mapping? Without that, name resolution of those hosts won't work at all.
-
no i dont for the windows machines but neither do i for the apple products and they all show up somehow?
-
They don't have static mappings though from what you mentioned previously. If you use static mappings and want name resolution, they must contain hostnames.