[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Moving web server to new IP



On Thu, Jul 27, 2006 at 10:06:56AM +1000,
 Craig Sanders <cas@taz.net.au> wrote 
 a message of 53 lines which said:

> (*) especially true for an ISP or virtual hosting service where most
> zone files are identical (or at least 99% the same) except for the
> actual domain name.

In that case, you do not even need Perl / Python / Haskell / awk /
shell. Just edit a master zone file, containing only relative names:


@ IN  SOA bortzmeyer.netaktiv.com. hostmaster.bortzmeyer.org. (
        2006071901
...
  IN MX 0 bortzmeyer.netaktiv.com.

www  IN A  192.0.2.1
...


and then setup symbolic links to this file (or use this file name in
named.conf).



Reply to: