Solved

Is there a way to prevent DNS lookups?

Posted on 2011-03-14
10
218 Views
Last Modified: 2012-05-11
I have a system that a previous administrator "disabled" internet access on. Now we want it to have internet access, but I can't figure out how they did it. Here are the symptoms:

PC is configured for DHCP and receives an IP address and correct DNS entries.
PC can ping and tracert to any IP address.
PC cannot ping or trace to an external hostname: "could not find host XXXX"
PC can use nslookup to resolve domain names.

I'm thinking there is a registry key or some connection specific setting that was changed to prevent this. I can't figure out what is causing this issue.
0
Comment
Question by:leviatdr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
10 Comments
 
LVL 3

Expert Comment

by:vervenetworks
ID: 35132375
The easiest way to prevent internet access is the use of a proxy server in Internet Explorer.  Open IE, find Internet Options, typically under Tools or Privacy depending on the version.  Then to to Connections tab, and LAN Settings.  Uncheck the proxy if checked, and test.
0
 

Author Comment

by:leviatdr
ID: 35132451
I already checked that and there is no proxy set.
0
 
LVL 3

Expert Comment

by:vervenetworks
ID: 35132474
Is the primary DNS server on the PC internal to the network?  It may be using some type of DNS proxy through forwarding, such as OpenDNS.  You could try setting DNS to an external server, and test from there to see if the problem lies with the server.
0
Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

 

Author Comment

by:leviatdr
ID: 35132809
Primary DNS is on the same network. I set the DNS server to both the local dns server and resolver1 at opendns. Same results. I can nslookup but not ping by hostname.
0
 
LVL 3

Expert Comment

by:vervenetworks
ID: 35133170
Does the server exhibit the same behavior as the workstation?
0
 

Author Comment

by:leviatdr
ID: 35133258
No, the server and other local workstations resolve names just fine.

After digging through the event viewer, I'm finding Userenv ID 1054: "cannot obtain the domain controller name for your network, an invalid argument was supplied". I know this is a DNS issue, but I can't figure out why nslookup works but standard resolution doesn't. Does NSLookup bypass the local resolver?
0
 
LVL 3

Accepted Solution

by:
vervenetworks earned 250 total points
ID: 35133289
You may try to reset the TCP/IP stack using WinSockFix http://www.softpedia.com/get/Tweak/Network-Tweak/WinSockFix.shtml

NSLOOKUP does bypass the local DNS cache, and directly queries the primary DNS server.  You can specify an alternate server by using the command "server <servername or IP>"  My bet is a broken stack.  Any antivirus software or local firewall software you could try disabling as well temporarily.
0
 
LVL 26

Assisted Solution

by:akahan
akahan earned 250 total points
ID: 35134969
If you go to

Control Panel / Network Connections , right-click on the NIC you're using, choose Properties, choose Internet Protocol (TCP/IP), click the Properties button, click the Advanced button, and then the DNS tab, do you see anything unusual?

Tried uninstalling and reinstalling the NIC?  Uninstalling and reinstalling the TCP/IP protocol?
Ensuring that the firewall is not blocking UDP packets to port 53?
0
 

Author Comment

by:leviatdr
ID: 35138640
Winsock fix did not resolve the issue. I'm going to try reinstalling the NIC to see if that helps.
0
 

Author Closing Comment

by:leviatdr
ID: 35159608
Issue unresolved. User formatted machine. Thanks for trying.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Device browser and/or dns client cache update through web page 7 44
DNS Issues With Machines 2 53
Master-Master-Slave BIND setup 2 69
external website is 16 30
I wrote this article to explain some important DNS concepts that should be known to avoid some typical configuration errors I often see in forums. I assume that what is described here is the typical behavior of Microsoft DNS client. I don't know …
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question