Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 05-07-2007, 07:43 PM   #1 (permalink)
 
Newb Techie

Join Date: Mar 2007

Posts: 21

aubn8r32

Default Unable to access site without DNS

Hello,
I was tasked by my manager to setup a kiosk machine that is going to be used by non-employees to take an online exam on one of our workstations. I was told to give it a static IP with no DNS or WINS entries and to edit the hosts file with the IP and website address. The site also uses Flash so I installed that.
However, I can access the site but the page does not fully load using a static IP without DNS. As soon as I add DNS entries in, you can access the page and it loads fine. The whole site uses Flash and it is installed locally. Is there a way to find out why it will not work without DNS. He wanted it setup that way so they can not browse the Internet and they can only access that particular site.
aubn8r32 is offline  
Old 05-08-2007, 01:26 AM   #2 (permalink)
Law
Law's Avatar
 
Wizard Techie

Join Date: Aug 2005

Location: the data closet

Posts: 4,172

Law is on a distinguished road

Default Re: Unable to access site without DNS

Well, most web site don't just have 1 web server, many other things are located on different servers or domain. So using a HOST file will most certainly not work unless you add every IP to domain entry. The reason you use DNS is to not deal with HOST file in the first place.

Take for example yahoo.com, if you put an entry for yahoo.com with it's associated IP address in the HOST file. When the user type www.yahoo.com into the web browser, the computer default behavior is to look at it's HOST file first before contacting a DNS server. It will try to look for an entry of www.yahoo.com and will not find it, because the only entry is yahoo.com and they are two different entry to the HOST file. If the user type yahoo.com into the browser it will work. If the user clicks on a link that goes to email.yahoo.com, it will not work, because there is no entry, you must also put an entry for every link. Good luck :eek:
__________________


Last edited by Law; 05-08-2007 at 01:30 AM.
Law is offline  
Old 05-08-2007, 01:34 PM   #3 (permalink)
 
Newb Techie

Join Date: Mar 2007

Posts: 21

aubn8r32

Default Re: Unable to access site without DNS

We thought that it might be pulling from another site like you said to get the whole page to load so we ran netstat and it only shows the one site? Our other offices are going to have to do the same thing. I will post once they find a solution if anyone is curious.
aubn8r32 is offline  
Old 05-09-2007, 05:20 PM   #4 (permalink)
 
Newb Techie

Join Date: Mar 2007

Posts: 21

aubn8r32

Default Re: Unable to access site without DNS

We found a solution finally. Installed a DNS capture software and we found the site address that it was trying to load. Added that site and IP to the hosts file and it works.
aubn8r32 is offline  
Old 05-09-2007, 06:31 PM   #5 (permalink)
Law
Law's Avatar
 
Wizard Techie

Join Date: Aug 2005

Location: the data closet

Posts: 4,172

Law is on a distinguished road

Default Re: Unable to access site without DNS

Quote:
Originally Posted by aubn8r32 View Post
We found a solution finally. Installed a DNS capture software and we found the site address that it was trying to load. Added that site and IP to the hosts file and it works.
Nslookup? ping works too. I use proxy services to filter website if you are interested to know. You can use Squid to filter website and control what user can access. It makes it more manageable you know, so you don't have to enter IP address and domain name all the time into the HOST file if you need users to access other website.

Ezproxy is free and good on individual computers if you have no need for a server. http://www.lavasoftware.net/
__________________

Law is offline  
Old 05-10-2007, 02:27 PM   #6 (permalink)
 
Newb Techie

Join Date: Mar 2007

Posts: 21

aubn8r32

Default Re: Unable to access site without DNS

Thanks for the info Law!
aubn8r32 is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
If I go to Standby, can't access internet bagelred Hardware Troubleshooting 3 05-26-2007 10:32 AM
Hosting files on your web site kmiceray Web Graphics, Design, Digital Images 7 04-30-2007 08:46 AM
Connecting my access point direct to my modem deanos63 Computer Networking & Internet Access 3 04-25-2007 01:49 PM
Legit Site? Stevo808 Browser & General Internet Questions 2 04-20-2007 06:05 PM