[Talk] Bleah

Kwan Lowe talk@flux.org
Thu, 5 Oct 2006 23:17:12 -0400 (EDT)


I need to get some sleep. After nearly two days of waking I decided to convert my
old BIND4/BIND8 nameservers to the 9.2 format...  I wrote a script to generate the
named.conf files and the corresponding zone files. I put the script in my home
directory  under ~/dns and ran the file against the domainlist. A second later a
bunch of db.acmesite.com files were in that directory. I su'd to root, cd'd to
/var/named/pz and copied the zonefiles.  Ran named-checkzone against the first
domain (e.g., named-checkzone acmesite.com db.acmesite.com). Got a weird error.
Opened another window in the ~/dns directory and edited the generate script and
reran. It created another set of zone files in ~/dns.  Went back to the other window
and re-ran the checkzone by recalling the previous command.  Same error.  Went back
to the other window and fixed that I thought was wrong. Re-generated the zonefiles.
Went back to the other window and ran checkzone. Same error. Lather. Rinse. Repeat.

Of course, if you're halfway awake you'll realize that I'm generating the files in
one directory and running the checkzone against the same file in another directory.
Repeat about a dozen times. I'm running checkzone against a file that's not
changing. It never occurs to me that even a completely borked syntax works.

I bring a laptop into another room. Login to the server and check the zone file.
Huh? Where are my changes... At that point the obvious hits me like a Mack truck.

I gotta get some sleep.

-- 
* The Digital Hermit   http://www.digitalhermit.com
* Unix and Linux Solutions   kwan@digitalhermit.com