NethServer Version: NethServer release 7.6.1810 (final) Module: Web Proxy Stats
Hiya,
I am having an issue with PC names showing on the report if NethServer is not the DHCP server or the PC has a static IP address. I have made sure my first DNS is the domain controller and the second 8.8.8.8. But it seems that ip2name help does not pick up the actual PC name.
What are DNS of NethServer and DNS of your PCs?
Check that NS is configured with DNS of DHCP server.
Why donât pass DHCP control to NethServer that is also Proxy?
The 8.8.8.8 is for external sites that need to be resolved. If I set the DNS to the Nethservers IP, how will it get the names of the DHCP is handled externally?
Hi Federico, The issue with NethServer as the DHCP server is that it does not give enough control of controlling Ip addresses. The current DHCP has a subnet of 255.255.254.0 and is handling router and gateway info etc.
NethServer DHCP just does not give that sort of control.
Yes, I understand what you mean, and I have these settings in the current DHCP server. Unfortunately, the DHCP is not negotiable. I should have said that up front. The sites DHCP has to be on another server.
What I need is for the ip2name to be able to translate the Ip to a PC name on the Stats report.
thanks for all your suggestions so far. I have already restarted the dnsmasq service after the dns change. I am just waiting for the lightparser.pl to finish and will check from there.
I am concerned that the nslookup resolves to 127.0.0.1 as a default. Is it possible I have got the network configured incorrectly? Internet is working fine but maybe the machine needs a tweek.
Let me know
Itâs correct that nslookup shows 127.0.0.1 because dns service is execute directly on NethServer. You have to check if it solve local names through nslookup command.
No, it does not seem to resolve local IP address to names. So if I do nslookup 192.168.0.3 (which is the server dns and dhcp server) it does not resolve to a name.