Q.
Is there a way to make new hosts entered in the hosts. file immediately available?A. When TCPware starts, the information from the hosts. file is read by the TCPware_DNS process (DNS_CLIENT) and cached. Then, when a host name or address is looked up, the DNS_CLIENT is able to look in cache for the information instead of having to look in the hosts. file. This improves the performance of the lookups. TCPware checks for changes in the hosts. file every 10 minutes and if there are changes, reloads the information from the hosts. file into cache. Use the following command to stop and start the DNS_CLIENT to force changes to the hosts. file to be read into cache:
$ NETCU STOP/DNS
$ @TCPWARE:STARTUP_RESOLVER DETACH