Solved

Some errors with the DNS ?

Posted on 1998-08-03
11
226 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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: 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
PHP error function not working on AWS 10 168
can i read my emails on lamp ftp 4 70
Check for Linux process in script 7 88
SSH setup on ASA 5505 17 120
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

739 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