DNSFSD

Synopsis

DNSFSD [/?] [/SERVERIP address] [/SERVERPORT port] [/DOMAIN string]

Description

DNSFSD is a server dæmon that provides fixed-data content DNS service, that does not use a database to look up its response. It provides opaque name service and name service for dotted-decimal names. It serves clients with two-way mappings between IP addresses and domain names, and with one-way mappings from oft-used but non-existent domain names to IP addresses. It calculates the domain names from the IP addresses directly.

Such a service has three major uses and one minor one:

The mappings that DNSFSD provides are as follows:

For any other types of queries for the aforementioned domain names, DNSFSD provides empty resource record sets, indicating that the name exists but no records of the appropriate type exist. For any other domain names, DNSFSD will return a "no such name" response, with the following exceptions:

Some examples:

The specially constructed SOA resource records exist solely because of a design flaw in the DNS protocol, which requires the use of such resource records in order to convey TTL information for the empty-set and "no such name" answers that DNSFSD yields. It is not expected in normal practice that these resource records will be looked up themselves, explicitly. Moreover, it is expected in normal practice that proxy DNS servers will discard them as cache poison.

The TTL for all information that DNSFSD publishes is fixed at 7 days.

Because the special SOA records only serve one function, only their "MINIMUM" fields contain useful data. Their other fields, for database replication, DDNS Update, and administrative contact, are given zero values. (The latter has long since fallen into desuetude anyway.) In normal operation, none of this information should be used by anything. Anything that uses any information in these SOA resource records apart from the negative/empty TTL information is either incorrectly designed or misconfigured.

DNSFSD does not publish any resource records at all other than PTR, A, AAAA, or SOA resource records.

DNSFSD does not provide name service over TCP. All responses will easily fit into a 512 byte UDP packet, and hence the overhead of TCP simply isn't worth the effort.

Example RUN file

DNSFSD would be invoked under RUNSVC, the Service Manager in the OS/2 Command Line Utilities version 2.2, with a run file similar to:

  program %APPS%\JdeBP\IU\bin\DNSFSD.exe
  chdir %_BOOT%:\Config\Apps\JdeBP\IU\DNS\
  argument DNSFSD
  argument /serverip:127.0.0.7
  argument /domain:"opaque.local."

Command-specific options

/DOMAIN
Specify the top-level domain for opaque service, if that is not to be the defaults.

The Internet Utilities are © Copyright Jonathan de Boyne Pollard. "Moral" rights are asserted.