-
Notifications
You must be signed in to change notification settings - Fork 636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant resolve hostnames #209
Comments
So neither seem to do anything? I had configured the custom dns already but not added the other network (in this case 192.168.4.1 is my router.. so added that one), but its not changed anything.. it was already pointing at the right corporate DNS servers, but not showing the Hostnames (different ip range to the one being shown above). Any other ideas? |
You could check with Edit: You could reset the settings by deleting the file %appdata%\NETworkManager\Settings\Settings.xml |
Can you test the "DNS Lookup" in the NETworkManager if you can resolve the PTR record for one of these ip addresses... By default, the tool detects the windows dns server (you can overwrite this option in the settings) Which DNS server are you using (Router like FritzBox or Netgear, Windows Server, etc.)??? |
@BornToBeRoot , i never got this to work, the settings you mentioned in your comment were already configured to the right dns settings for my network. I just used the old version instead, takes a bit longer but it works |
In DNS Lookup when i use the host name I do get results but when I enter the IP address a get nothing. |
Advanced IP Scanner also resolves NETBIOS. I try to replace Heijden.DNS with DnsClient in the next version. Heijden.DNS won't get any updates and i added some custom fixes to make it work with IPv6 dns servers... I post a preview version here, once i have it implemented... so you can test it in your environment. https://github.com/MichaCo/DnsClient.NET |
Thank you man, really appreciate it. |
@brucechaser @WattsC-90 Can you test this version and give me feedback? It should use the default windows dns server... user settings are ignored. |
Thanks! Ill give it a go on monday as it struggles on the work network architecture, ill try give it a go at home too just to make sure its working in a more basic environment! Thanks again for your work on this. |
does it work? |
I had forgotten.. trying it now.. |
@BornToBeRoot It appears not.. seems to hang up for me.. its just sat at 347 for a while now and still cancelling.. Ill have to kill the app NOTEIf i switch off Hostname resolution in the settings it pops all of the IPs up and breezes through the entire range. So definitely something with the hostname resolution! |
I could reproduce the issue... i upload a new version this evening... |
@WattsC-90 @brucechaser can you test this version and give me feedback? Thanks! |
So I feel like were getting somewhere... still getting errors but its failing fast. Which source file has your DNS lookup code? I was trying to find it but couldnt find the type LookupClient? I want to see what youre doing and if I can find a solution that works.. or a better idea why its not working.. |
Here is the LookupClient for the IP scanner
This is the query:
The DNS server 160.100.160.254 Port 53 and 162.118.144.233 Port 53 are correct? |
@BornToBeRoot Ta, saw the query line, cant find the LookupClient object/type is it in a nuget? or in the repo? |
Ta, had a look.. no idea why it throws these errors.. its intermittent between Can I ask, whats the downside with |
With I can add an option that Edit: At least i replaced the Heijden.DNS... it's not suported anymore... |
... not sure if WMI would allow you to |
I think it doesn't make sense to write my own dns resolver, when there are well tested libaries available. DnsClient.NET has 7 million downloads on nuget, so the most bugs are fixed and it is stable. And then i still can't test agains your dns server... With WMI you can query / set windows specific settings. The best to make it work, would be a fallback option to use DNS.GetHostEntry... But with the default .NET dns resolver, you can't set custom dns, timeout, retries... |
Hey, jumping in here out of the blue, trying to help ^^ The error There are a couple of things you can try, for example dig or nslookup Doing a reverse lookup via dig would look like this: |
@MichaCo Thanks for the jump in, im stuck! As you know from my question on DNSclient.net project it just doesnt work where the windows one does.. our DNS servers work.. theyre just corporate versions.. if DNS didnt work we would be stuffed! what I cant find any information out on is how the windows version differs to yours/others? |
@WattsC-90 did you try to query your DNS servers with tools like dig or nslookup via command line? |
Describe your issue:
I was using version 1.6.1 for a long time, with no issues (mainly used it for the IP scanner to see which hostnames/IPs were active. I thought I would update to version 1.10.0 (and now 1.11.1), but it seems like the hostname resolution has stopped working, I can no longer resolve any hostnames for IP addresses that are found in the specified ranges.
Version 1.6 (which I had downloaded and run standalone) shows the hostnames correctly when scanning.
If I right click and use DNS Lookup menu, then IPAddress is available, but Hostname is grayed out:
![image](https://user-images.githubusercontent.com/10712792/62953718-ec3b9900-bde5-11e9-9f0b-83942877d6dc.png)
Running on Windows Enterprise 1809, i dont know what other info you need.. please ask and ill update this question.
The text was updated successfully, but these errors were encountered: