in german/auf Deutsch


SET Use_Hosts_First

If Use_Hosts_First is set up, tcp/ip will first look in the local file ..\Etc\Hosts for the dotted IP address for a specific Hostname on the internet. Let me explain - Whenever you connect to the internet and you access a host ( for example www.netlabs.org ), your browser must know the dotted IP address ( for example 195.65.67.48 ) for the host. So the Browser contact a Domain name Server (DNS) and ask for the IP address. This takes some time, to speed up internet connection you can define in the Hosts file the hostnames and the IP addresses. OS/2 will only use Hosts file if Use_Hosts_First is set to 1. You can define all kind of hosts www-server, mail-server, news-server, ftp-server or whatever else. To get the IP address for a host type "host" and the hostname in an OS/2 window. The actual Path for the host file is defined by the Etc environment variable.

SET Use_Hosts_First=1


Platform Support:
OS/2 2.x OS/2 3.0 OS/2 4.0
Yes Yes Yes


SET Statements
MPTS and TCP/IP
  <<< Previous
Config.sys Home
Next >>>  


Last modified 1 Aug 1999 by Joerg Sievers at jogi@warpsite.de. - This page can be found from http://www.warpsite.de/en/csdp/SET_Use_Hosts_First.htm
Copyright © 1998-2000 Oliver Poggensee, © 2000 Joerg Sievers