Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!samsung!zaphod.mps.ohio-state.edu!swrinde!ucsd!ucbvax!van-bc.UUCP!skl From: skl@van-bc.UUCP (Samuel Lam) Newsgroups: comp.protocols.tcp-ip.ibmpc Subject: Re: Does the latest KA9Q use HOSTS.NET ? Message-ID: <34798@mirror.UUCP> Date: 10 Jan 90 06:20:33 GMT Sender: usenet@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 42 In article <661@fred.UUCP>, bill@fred.UUCP (Bill Poitras) wrote: >Does the latest version of KA9Q (v9000105A NOS) do static host table lookups? >When I have the HOSTS.NET in my root directory on C:\ and then I type >'ftp fred', I get 'Unknown host fred', but fred is in my HOSTS.NET. If KA9Q >doesn't do static host table lookups, does it do name resolving through domain >servers? The NOS version no longer uses HOSTS.NET, however, you can use both a static host table or domain name servers with it. To use domain name servers, add some "domain addserver SERVER" commands to the AUTOEXEC.NET file to declare the your domain name servers. To use a static host table, simply don't declare any domain name servers in AUTOEXEC.NET but instead create a file named DOMAIN.TXT in the root directory with lines of the form: (NAME) 99999999 IN A (IP) where (NAME) is a remote host's domain name, with the trailing dot. (IP) is that remote host's IP address, without the []'s. For example: van-bc.wimsey.bc.ca. 99999999 IN A 128.189.233.155 Additonally, You could also use a mixture of the two methods. i.e. Have a static host table and use the domain name servers if the domain name is not in the static table. For example, you can put your domain name servers' IP addresses in the static table so that you can refer to them using their domain names instead of their IP addresses in your "domain addserver" commands. ...Sam -- Internet: UUCP: {van-bc,ubc-cs,uunet}!wimsey.bc.ca!skl