Solved

Some errors with the DNS ?

Posted on 1998-08-03
11
224 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AWS RDS 3 83
Debug VNC connection on CentOS7 server 22 83
Virtualizing very old guest OS 4 94
CentOS 7 Installation 7 72
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

813 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

14 Experts available now in Live!

Get 1:1 Help Now