Solved

Some errors with the DNS ?

Posted on 1998-08-03
11
222 Views
Last Modified: 2013-12-15
Hi

I use Linux as the gateway and Win95 as working PC. I use masquerading to run more PC than I have IP's. But the problem is :
When I setup domain delphi....may site... than I can't access Delphi page on the Ex-Ex !!!! from win95. However I can access this page from the Linux. I don't know why and whats happened. What the horrible Win95 doing when I put url with delphi at the end ?
0
Comment
Question by:mirek071497
  • 6
  • 5
11 Comments
 
LVL 3

Expert Comment

by:marcelofr
ID: 1629123
If you used an existing real internet domain in your intranet, when your win box ask DNS to obtain the ip number to connect to, your box gets local ip numbers... If your linux  can access the page, I think that it is not using intranet domain or DNS to obtain ip numbers.

I think your painless solution is to use a proxy... and squid is the best... When you use a proxy, it takes care of name services and squid does it the best... You still can access any other service through masquerading... (any service not belonging to delphi domain ;-)

In any case you can proxy almost everything or use socks5...

Good luck
0
 
LVL 3

Author Comment

by:mirek071497
ID: 1629124
Unfortunatelly I have delphi.magsoft.com.pl. This domain can't exest anywhere on the net because I am the owner of magsoft.com.pl. If MS Windows parse the url from page "delphi" to the delphi.magsoft.com.pl I need to receive the delphi.magsoft.com.pl page ! But I dont receiving this.

Sorry for my english.
0
 
LVL 3

Expert Comment

by:marcelofr
ID: 1629125
I'm not sure if I understand what you mean by "parse the url from page delphi" (I speak spanish so my english is not good enough), but if you don't use proxies, and you type http://delphi/some.html your M$Win will try to resolve "delphi" using DNS. In the properties of TCP/IP protocol you have given an IP number, default gateway and DNS server. You must also specify in the list of "search domains" (I don't have an M$ box to look at) magsoft.com.pl and anything you think may fit. And when you specify delphi, it will try to resolve:

1) delphi  -> will fail: no such domain
2) delphi.magsoft.com.pl  -> success and connect...

On the other hand, you may be using DHCP to assing IPs dinamically... But DHCP can be filled with this information also.

And last: you can use a file named /windows/hosts "ala" /etc/hosts...

Good Luck
0
 
LVL 3

Author Comment

by:mirek071497
ID: 1629126
Yes I know.
I have unknown error and this can be at ex-ex site.
Today I was set in My WIn95 primary DNS other than my and I can't access the delphi page from win, but at my linux lynx I can !!!! I don't have any idea why.
I use Msie 3.02 and masquerading on Linux side.

My dns is setup properly (i think) and I can reach this pages many many times. This happened 2 weeks ago for the first time and I can't acess this page now.
0
 
LVL 3

Accepted Solution

by:
marcelofr earned 200 total points
ID: 1629127
Have a look at last box in win95 DNS configuration (setup -> TCP/IP properties). There you should find your domain. It's the same info you probably have in your /etc/resolv.conf in the domain or search entry...

Can you access the page giving the FQDN of the server in your URL (delphi.magsoft.com.pl)?
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 3

Author Comment

by:mirek071497
ID: 1629128
I can't understand What you think when you remember me the settings of Win95 DNS.
However I can give you more info :
1.I can acess my delphi.magsoft.com.pl
2. I can't access http://www.experts-exchange.com/comp/lang/delphi/
3 I can access page from point 2 with this address : http://www.experts-exchange.com/browsing/comp/lang/delphi/
4. I can access this pages from my Linuxwithout problems.
5. I was try to setup DNS of my win95 to other machines.
6 I can't understand what's happened and how to solve this.
0
 
LVL 3

Expert Comment

by:marcelofr
ID: 1629129
Ok... Let's try to diagnose it. I hope you have a working tcpdump on your linux box (it depends a lot on the kernel). Do the following:

tcpdump -s 128 -n -i eth0 host win_machine

and then try to connect. You'll see the exact description of the DNS requests. tcpdump man page explains the field meaning... This will help us to solve this problem...
0
 
LVL 3

Author Comment

by:mirek071497
ID: 1629130
Hi
I have a masquerade on linux so How can I use the tcpdump ?
when i wrote tcpdump -s 128 -n -i eth0:0 host 192.168.1.2 then I receive nothing.
0
 
LVL 3

Expert Comment

by:marcelofr
ID: 1629131
That's what I said previously, you need a WORKING tcpdump... try 2 things: remove "host 192.168.1.2" and remove ":0"... if you have nothing, we will need to search deeply...
0
 
LVL 3

Author Comment

by:mirek071497
ID: 1629132
Hi marcelofr - I just accept this answer but the problem was in ...

ehhhhhh

cache of Msie !!!!

cache was broken and when I was clear cache all works fine - so the problem was not in the dns. However you place me at good way so the points is your.

thx.

0
 
LVL 3

Expert Comment

by:marcelofr
ID: 1629133
Why didn´t I realize that... I find this kind of problem daily and I didn´t ask you to clean your cache... Thanks anyway...
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now