home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!psgrain!ee.und.ac.za!daisy.ee.und.ac.za!barrett
- From: barrett@daisy.ee.und.ac.za (Alan P Barrett)
- Newsgroups: comp.protocols.tcp-ip.ibmpc
- Subject: Re: Do most PC's use DNS or a local hosts file?
- Date: 9 Sep 1992 13:32:27 GMT
- Organization: Univ. Natal, Durban, S. Africa
- Lines: 38
- Message-ID: <18kudbINNmlg@lucy.ee.und.ac.za>
- References: <dank.715727727@blacks>
- NNTP-Posting-Host: daisy.ee.und.ac.za
-
- In article <dank.715727727@blacks>,
- dank@blacks.jpl.nasa.gov (Daniel R. Kegel) writes:
- > I'm writing a freeware tcp/ip application for the PC, and wonder if
- > I can rely on people to have DNS support for looking up IP addresses
- > from hostnames.
-
- RFC1123 section 6.1.1 says:
-
- " Every host MUST implement a resolver for the Domain Name System
- " (DNS), and it MUST implement a mechanism using this DNS
- " resolver to convert host names to IP addresses and vice-versa
- " [DNS:1, DNS:2].
-
- However, in the real world, you cannot rely on DNS being available.
-
- > If I can, my life is simpler, I can just distribute
- > hostnames; otherwise, I'll have to distribute IP addresses, too.
-
- Your application should permit users to specify numeric addresses.
-
- RFC1123 section 2.1 says:
-
- " be possible to enter either (1) a host domain name or (2) an IP
- " address in dotted-decimal ("#.#.#.#") form. The host SHOULD check
- " the string syntactically for a dotted-decimal number before
- " looking it up in the Domain Name System.
-
- > Does your site support DNS for its pc's? Are they configured to
- > use it, or do they use a static hosts file?
-
- We certainly have nameservers that will answer queries that originate
- on PCs. Whether or not a PC is able to make DNS queries depends on the
- software run on the PC, and I suggest that you build the ability to use
- DNS into your application.
-
- --apb
- Alan Barrett, Dept. of Electronic Eng., Univ. of Natal, Durban, South Africa
- RFC822: barrett@ee.und.ac.za Bang: m2xenix!undeed!barrett
-