Why all Application connect to DNS server during they Starts?

P

Prabhat

Hi All,

I have Windows XP SP2. I have ZoneAlarm Firewall on my PC and the Builtin
Windows Firewall is disabled. I have Cable Internet Connection. I have gaven
the IP Address (ex: 202.30.10.65) by the Internet Provider.

When ever I start any program (ex: Oracle, SQL Server, or any Program) the
ZoneAlarm say the Program is trying to connect to the DNS server. Why all
program try to connect to DNS server (DNS Server Address given in my PC
under TCP/IP Settings)?

How can I prevent (I think it should not go to DNS server as the I am not in
a NETWORK) the programs to lookup the DNS server.
I came to know that I can resolve the problem (the program will not look for
the dns server any more) using Host file. But How. Or Suggest the BEST way.

Thanks
Prabhat
 
P

Patrick Keenan

Prabhat said:
Hi All,

I have Windows XP SP2. I have ZoneAlarm Firewall on my PC and the Builtin
Windows Firewall is disabled. I have Cable Internet Connection. I have gaven
the IP Address (ex: 202.30.10.65) by the Internet Provider.

When ever I start any program (ex: Oracle, SQL Server, or any Program) the
ZoneAlarm say the Program is trying to connect to the DNS server. Why all
program try to connect to DNS server (DNS Server Address given in my PC
under TCP/IP Settings)?

Perhaps these applications expect to use TCP/IP to communicate with their
data stores or database servers and (prudently) verify the settings at
startup, rather than waiting till a query is made. The documentation for
the apps may tell you.
How can I prevent (I think it should not go to DNS server as the I am not in
a NETWORK)

Above, you mention that you have a cable internet connection and an IP
address from the ISP. Your system is most definitely on a network.

If you want to prevent network communications, consult the documentation for
the applications. Note that this may impair program operation if done
incorrectly.

the programs to lookup the DNS server.
I came to know that I can resolve the problem (the program will not look for
the dns server any more) using Host file. But How. Or Suggest the BEST
way.

You might contact the support groups for those applications, as these aren't
XP questions.

I will suggest that if you globally redirect queries to the DNS servers
somewhere else, you may find there are side effects.

HTH
-pk
 
P

Prabhat

Hi,

In my Host file can I add a line below the line
127.0.0.1 localhost
with: 127.0.0.1 <my actaul computer name>

So that the applications will look for the local system instead of looking
for the DNS route? Please suggest.

Thanks
Prabhat
 
J

Jim

Prabhat said:
Hi,

In my Host file can I add a line below the line
127.0.0.1 localhost
with: 127.0.0.1 <my actaul computer name>

So that the applications will look for the local system instead of looking
for the DNS route? Please suggest.

Thanks
Prabhat
No because localhost is just another way to specify <my actual computer
name>.
Jim
 
P

Prabhat

Hi,

I am not sure If I understood the text given in the "Oracle 9i
PreInstallation Task" PDF file as below:

Other Cleanup Tasks:
1. You also need to set up your environment so that the local host name can
be resolved without the need to look up DNS. To do this, edit the
C:\WINNT\System32\Drivers\Etc\Hosts file. Add the IP address and fully
qualified host name for your computer after the localhost line
currently in the file. Save your work and close the file.
2. If you have used a previous version of this OBE before, you must remove
your NTOEM user from User Manager.
3. Reboot your machine.

I am confused the Item# 1, So I was thinking that way to edit the host file.
Please advice

Thanks
Prabhat
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top