Jim Carey wrote: > Could sks please give me an example of how I could call the cobalt > dns index.cgi to delete a dns entry from within Perl or PHP. I > need to run through a lot of entries and delete those that are no > longer on the system. That would be a lot easier from a PHP or Perl > script (also have to update a database etc)
Jim, My guess is is it would be a lot easier to write a simple shell script (probably a one-liner <smile>) to find lines containing "domain.com" in /etc/named/records and delete them. Then go to DNS section of the gui, and click on "save changes". That'll do it for every RaQ except the XTR; I don't know about the XTR. Jeff -- Jeff Lasman <[EMAIL PROTECTED]> Linux and Cobalt/Sun/RaQ Consulting nobaloney.net P. O. Box 52672, Riverside, CA 92517 voice: (909) 778-9980 * fax: (702) 548-9484 _______________________________________________ cobalt-developers mailing list [EMAIL PROTECTED] http://list.cobalt.com/mailman/listinfo/cobalt-developers
