Christopher Stacy implemented DNS support for ITS, which I later (ca 2005) hacked to get it working in my setup. The advantage is of course that you don't need to keep SYSHST;H3TEXT updated, but instead use the standard domain name system. Drawbacks are that programs need to be recompiled, and that some aren't yet fully compatible with the RESOLV library.
So: all this is optional!!
A tape file can be found here, including the diffs from original files. [Updated 1028-02-13.]
Compile DQDEV and install it as a “driver” for the DOMAIN: device.
:midas device;jobdev domain_hack;dqdev
Optional: Update the domain search list in VICTOR;RESOLV (see below).
Recompile programs which use SYSNET;RESOLV to instead use VICTOR;RESOLV (or where you choose to put it).
HACK;NAME >
. To install the new version, do :midas hack;name
name$j
$l
[followed by Enter]debug[0
$g
First you need to create a new “database” (do this once, don't mess with it):
:print domain:xyzzy;..new. (dat)
When you have recompiled the programs, they will use DNS automatically.
Print “database” (never really updated):
:print domain:foo;.file. (dir)
Dig in the DNS:
:dig in;a;ftp.its.os.org :dig ch;hinfo;up.update.uu.se
See notes in files but also note in particular:
The root server is hardcoded at ROOHST/ROOADR to J.ROOT-SERVERS.NET with address 192.58.128.30. If you set up your firewall as (strongly!) suggested above, this doesn't matter. A simpler idea might be to change this to 1.1.1.1 (Cloudflare) or 8.8.8.8 (Google).
The “main domain list” is set after MAKD10 to ITS.OS.ORG (instead of AI.MIT.EDU), both rather useless (but doesn't matter since RESOLV has its own search list).
The Chaosnet address-to-domain translation domain is hardcoded to CH-ADDR.NET after label RCHADR and after HSTB10. This only matters if you use Chaosnet.
The domain search list hardcoded to “.update.uu.se” and “.aosnet.ch” at DOMS just before HSTADN.
You probably want to update this, at least change “.aosnet.ch” to “.chaosnet.net”, since aosnet.ch has been replaced by chaosnet.net. An updated version can be found here. (Then remember to recompile NAME.)
The Chaosnet address-to-domain translation domain is hardcoded to CH-ADDR.NET after HSTSRC (see note above).