The Ultimate Business Machine - Archives
List of Categories : Database * Technology * Commentary * Singapore * Travel *
Sun 28 Aug 2005
DNS Enabler and Slave Name Servers
Category : Technology/slaveNameServer.txt
I'm almost done with this. This is DNS Enabler setting up a slave (secondary) name server :
Everything works exactly the same as before except that the radio button allows you to indicate that this is going to be a back-up (slave) name server that reads its zone data from a primary (master) name server.
Hit the Run DNS button and this slave will keep itself synchronised with the master, updating its zone data files whenever the master changes.
Neat. If your primary name server goes down, there's still this backup.
Except that the slave saves the zone data in the "shortened" $ORIGIN format, below, and I've been using the "long" (probably archaic) format up to now.
So I've had to re-write a large chunk of code to parse the data in this $ORIGIN alternate format. I decided I might as well as standardise on this one format when I'm writing out the zone files for the primary name server. That's why it's taking a little bit longer than I thought. But it's better for the long run.
I can't wait to get this over with to get back to Postfix Enabler Part 2 (or whatever it's going to be called).
Next week, we'll also have the SQLite/Objective-C version of Luca ready. (Luca rhymes with lucre. Apt for an accounting system? Hopefully not in a pejorative way.)
DNS, Web, Mail, and an accounting/financial management system that integrates with all these. They form the foundation of every modern-day business system. We're going to make the Mac the ultimate business machine by the time we're through. Or die trying? In any case, it won't be for want of trying.