Solved

nslookup returns non-existing domain

Posted on 2016-10-03
5
78 Views
Last Modified: 2016-10-12
I'm working on a standalone PC Windows 7 32-bit. I need to fix my hosts file for an Oracle installation.
I installed a loopback adapter as required so now I have 2 network cards, one static IP for the loopback adapter and one DHCP for dynamic DNS resolution. For my Oracle Forms, I need to test the Forms in my own browser, so DNS must be able to resolve back to my PC.
If I ping, I get correct answers, but if I do a nslookup, it fails on all my hosts file entries due to 'non-existing domain'. In nslookup the IP address returned is my ISP IP address and then follows the message that the ISP server could not find the domain. One exception is that when I nslookup the loopback adapter, the DNS request times out.
 I am not working on a Windows server so I cannot configure my DNS locally. Instead, my DNS name resolution is done via my ISP. They do not supply DNS server IP addresses and told me to use 8.8.8.8 and 8.8.4.4, apparently belonging to Google. That did not work.
Everywhere on the web the solutions are for Windows Servers to configure a reverse lookup zone and create a PTR record. Is there a solution for Windows 7 Professional and a Belkin router? I am not a network person so I feel really lost. All help will be appreciated!
0
Comment
Question by:Yvette
  • 2
  • 2
5 Comments
 
LVL 2

Expert Comment

by:Richard G
ID: 41826425
I am not sure I correctly understand the question.  

Anytime you have an entry in the HOSTS (LMHOSTS) file it will supersede the DNS entries.  So using HTTP://yourhostentryhere will point to that IP address.  If your application is pointing to an entry that differs than what is in your HOSTS file it will go look for that at the DNS level.  This is why your application is pingable.  Are you running a proxy server though?  What browser are you using?  I believe Chrome will go out and attempt to check it's own DNS for entries before LMHOSTS to prevent browser hijacks.  I would try IE as another option and make sure you have no configuration scripts or proxy servers enabled.
0
 
LVL 40

Accepted Solution

by:
footech earned 250 total points
ID: 41826769
Nslookup doesn't care about your hosts file.  It uses its own DNS resolver and sends queries directly to a DNS server.  This is different than the ping utility which uses the OS resolver for DNS.
0
 

Author Comment

by:Yvette
ID: 41827577
Hi all, thanks for the feedback. Some of the web enquiries are confusing regarding the difference between ping and nslookup. I am not running a proxy server. With my certification matrix provided by Oracle I was forced to downgrade IE11 to IE 10.
When Oracle installs Fusion Middleware, it wants you to be able to launch a web page from your pc to your pc, something like https:/localhost:1158/em. Unfortunately, this is exactly where I get stuck. I have no control over choosing the URL, and it does not launch. Then I placed a Service Request to Oracle and they told me to see if nslookup works and they told me to change my etc/hosts file entries. Of course I thought nslookup checks the etc/hosts file. I will get back to Oracle with your helpful information.
0
 
LVL 2

Assisted Solution

by:Richard G
Richard G earned 250 total points
ID: 41839274
footech discusses the nslookup in his comment.  This will never look at the HOSTS file.  It is like a connection directly to a DNS server.  Which is what is an easy way to check for DNS records because you can specify different DNS servers instead.  More for a different post.  

The https://localhost:port isn't a bad deal.  If you are launching the webpage with the URL it should have the port number.  Change the URL to "https:.//localhost:port".  So if your URL is https://cookiesforrich:1581/em try changing it to "https://localhost:1581/em".  Most times the page doesn't load the custom URL when you go.  I am not an Oracle person so I am only guessing.
0
 

Author Closing Comment

by:Yvette
ID: 41839612
Thanks all contributors. Oracle Support is sorting out the problem.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
hp scanner L2683A and L2683B 3 26
Doing AD cleanup with Powershell 9 53
gawk solution to extract this ? 2 16
Citrix App 7 22
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

679 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