View Single Post
  #5   (View Single Post)  
Old 19th November 2008
bigb89 bigb89 is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 69
Default

Code:
So we already have a slight problem here Houston

Do you keep those zone files in a directory you can do something like what I did in my first post: use the files in a loop calling the extracting script.
WOW!! You're being a huge help.

To answer your question: Yes, all of the zone files are kept in a directory called /var/named/ . And all of the zone files has the file extension .db .

So how could I run your second script so that it pretty much looks for all the zone files inside /var/named/ (or any other directory for that matter), and replace any VirtualHost IP in httpd.conf, that does not match the ip with the zone file?

We're getting close! (Well, YOU are getting close would be the correct term. )
Reply With Quote