Solved

Some errors with the DNS ?

Posted on 1998-08-03
11
225 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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
 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

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…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

820 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