DNSCreator.sh
DNSCreator FAST
Current version: 0.8
- Standard PSoft DNSCreator.class is very useful tool, but it is VERY SLOW.
That is why we've created this shell script for fast zone update/create procedure.
Warning:
Script is working only on Bind version 9.
Run it only on H-Sphere control panel server.
[root@localhost root]# ./DNSCreator.sh
SYNOPSIS:
DNSCreator.sh [OPTION]
OPTIONS:
-a|-z zone|-l l_server_id|-p p_server_id
[-r] [-t ttl_value] [-s step]
DESCRIPTION:
-a - Update all zones
-z zone - Update one zone
-l l_server_id - Update all master zones on logical server
-p p_server_id - Update all master zones on physical server
-r - Full DNS zone recreate (recommended)
-t ttl_value - Custom TTL value (default 86400)
-s 1|2 - Execute only step (1 or 2)
Step 1 - Collecting information
Step 2 - Zone update
EXAMPLES:
DNSCreator.sh -a
DNSCreator.sh -a -r
DNSCreator.sh -z example.com -r
DNSCreator.sh -z example.com -t 3600
DNSCreator.sh -l 23 -r
DNSCreator.sh -p 20 -r
DNSCreator.sh -p 24 -r -s 2
COPYRIGHT:
www.root0.net 2005
SEE ALSO:
More information http://www.root0.net/script/
[root@localhost root]#
Home