From: Luke W. <lu...@ad...> - 2003-10-01 05:24:01
|
I have a question regarding changing some of the DNS module in webmin. when you create a new master zone, and leave the option "Records file" as automatic, it makes a file called "zonename.hosts" in the default directory specified in the named.conf. I have been asked to change this to the naming convention we use here in our office "pri.zonename". I have found it to be quite difficult as I am not much of a perl programmer, but have hacked a few things together in the past. Now I found what I am guessing is the line in question in create_master.cgi, so I changed it from: $in{'file'} = $base."/$in{'zone'}.hosts"; to: $in{'file'} = $base."/pri.$in{'zone'}"; and: $in{'file'} = $base."/pri.'$in{'zone'}'"; and have NFI - it still uses the filename "zonename.hosts" - I would have at least expected an error...... Also I have been asked to setup our DNS so that when someone enters in the master information on one server, it automatically creates the entries on the backup server, without having to do any more "clicking". Any ideas about how to do this? At the moment I have to go into the backup server and change the named.conf file to add in the requested entry :) Thankyou, Luke |