Reply To: Twitt-arrrr!

Home › Forums › JoCo Cruise › Twitt-arrrr! › Reply To: Twitt-arrrr!

#89914
BrettGlass
Participant

The owner of a domain can set the time-to-live of DNS records in one of the authoritative server’s configuration files (it’s usually called a “zone file”).

Caching, with a good long TTL, is actually desirable in this case. It would make the shipboard resolver retain the records for a long time after they were first accessed. If the ship’s Internet died (as it is wont to do), the names would still resolve on the local intranet until the TTL expired or the local resolver’s maximum TTL was exceeded.

P.S. — Just for the heck of it, I’ve registered the domain “twit-arr.com” so that we can experiment with all of this. I can now do everything I’ve mentioned for you from the authoritative server in my basement! Just let me know what numeric IP addresses you would like the eponymous FQDN (twit-arr.com) and any hosts within the domain (e.g. hopeful.twit-arr.com or you-are-a.twit-arr.com) to resolve to, and I will make it so. I can also set up an MX record for e-mail (though private messaging via a Web-based message board may be preferable because it doesn’t require an e-mail client).

For demonstration purposes, I’ve made the three FQDNs mentioned in the paragraph above resolve to 192.168.1.1 (the unregistered internal address used by most home routers). So, if you access http://twit-arr.com right now, you will, more likely than not, be directed to the login screen of the router on your own home network. This shows that one can serve private, unregistered intranet addresses via public DNS. When the actual server that will be going on the boat is up and running, I can change the records to point to it for pre-cruise testing. And when the ship sails, I can change the addresses to the internal ones RCI gives us and bump the TTL up to as much as 8 days (691200 seconds).

We just need to confirm that the DNS resolver on the ship will correctly resolve domain names even for users who are not accessing the Internet. This is something that @Scarface could test in a minute with his laptop during the site inspection cruise.