Manual Version : 34205
For suggestions regarding this manual contact: docs@4psa.com
Copyright © 2002-2008 Rack-Soft, LLC
All rights reserved.
Distribution of this work or derivative of this work is prohibited unless prior written permission is obtained from the copyright holder.
4PSA is a Registered Trademark of Rack-Soft, LLC.
Linux is a Registered Trademark of Linus Torvalds.
All other trademarks and copyrights are property of their respective owners.
Table of Contents
4PSA DNS Manager 3 uses a new and improved format for importing DNS zones from other servers. On 4PSA DNS Manager 1.x series, two formats existed, a complete and a simple format. One was used to import full zone files and the second one to import slave zone names. In 4PSA DNS Manager 3, the new dump file format supports both operations.
Most important dump file improvements are described below:
Dump record examples:
domain.ltd.|master {|REFRESH| |108002| || ||
|RETRY| |36002| || ||
|EXPIRE| |604802| || ||
|MIN_TTL| |86402| || ||
|DEFAULT_TTL| |86402| || ||
|ALLOW_TRANSFER| |4.3.2.1| || ||
|NS| |domain.ltd.| |ns1.domain.ltd.| ||
|NS| |aa.domain.ltd.| |ns.domain.ltd.| ||
|CNAME| |cname.domain.ltd.| |canonical.name.| ||
|CNAME| |somedir.domain.ltd.| |domain.ltd.| ||
|CNAME| |ftp| |domain.ltd.| ||
|A| |mail.domain.ltd.| |192.168.10.32| ||
|MX| |zone.domain.ltd.| |email.exchanger| |10|
|TXT| |txt.domain.ltd.| |v=spf1 exists:%{ir}.%{v}.arpa -all | |||TXT| |some-text.domain.ltd.| |any text| ||
|TXT| |domain.ltd.| |sometext| ||
|TXT| |private._domainkey.domain.ltd.| |k=rsa; p=MEwwDQYerwqEWwE| ||
}
testdomain.com.|master {|$ORIGIN| |com.| || ||
|TXT| |testdomain| |v=spf1 a mx ptr mx:mail.testdomain.com ~all| ||
|NS| || |ns1.test-web| ||
|NS| || |ns2.test-web| ||
|A| || |64.85.2.56| ||
}
If the zone type is missing, it is assumed to be a master zone definition.
domain.ltd.{|REFRESH| |108002| || ||
|RETRY| |36002| || ||
|EXPIRE| |604802| || ||
|MIN_TTL| |86402| || ||
|DEFAULT_TTL| |86402| || ||
|ALLOW_TRANSFER| |4.3.2.1| || ||
|NS| |domain.ltd.| |ns1.domain.ltd.| ||
|NS| |aa.domain.ltd.| |ns.domain.ltd.| ||
|CNAME| |cname.domain.ltd.| |canonical.name.| ||
|CNAME| |somedir.domain.ltd.| |domain.ltd.| ||
|CNAME| |ftp| |domain.ltd.| ||
|A| |mail.domain.ltd.| |192.168.10.32| ||
|MX| |zone.domain.ltd.| |email.exchanger| |10|
|TXT| |txt.domain.ltd.| |v=spf1 exists:%{ir}.%{v}.arpa -all | |||TXT| |some-text.domain.ltd.| |any text| ||
|TXT| |domain.ltd.| |sometext| ||
|TXT| |private._domainkey.domain.ltd.| |k=rsa; p=MEwwDQYerwqEWwE| ||
}
Slave zones are defined as follows:
3.2.1.in-addr.arpa.|slave {|MASTER| |6.7.8.9| || ||
}
aa.com.|slave {|MASTER| |6.7.8.9| || ||
}
The rules mentioned above also apply to the reverse DNS zones. Below are explained full DNS zones wih /24 /28 and /32 subnet mask.
4.3.2.in-addr.arpa.|master {|REFRESH| |10800| || ||
|RETRY| |36000| || ||
|EXPIRE| |604800| || ||
|MIN_TTL| |86400| || ||
|DEFAULT_TTL| |86400| || ||
|NS| |4.3.2.in-addr.arpa.| |ns1.name.com.| ||
|NS| |0/25.4.3.2.in-addr.arpa.| |ns.domain.com.| ||
|PTR| |5.4.3.2.in-addr.arpa.| |zone.name.| ||
|PTR| |5.4.3.2.in-addr.arpa.| |dom1.com.| ||
|PTR| |5.4.3.2.in-addr.arpa.| |dom2.com.| ||
|PTR| |5.4.3.2.in-addr.arpa.| |dom3.com.| ||
|CNAME| |10.4.3.2.in-addr.arpa.| |10.0/25.4.3.2.in-addr.arpa.| ||
|TXT| |host.4.3.2.in-addr.arpa.| |value| ||
|TXT| |4.3.2.in-addr.arpa.| |sometext| ||
}
4/28.3.2.1.in-addr.arpa.|master {|REFRESH| |10800| || ||
|RETRY| |3600| || ||
|EXPIRE| |60480| || ||
|MIN_TTL| |86400| || ||
|DEFAULT_TTL| |86400| || ||
|ALLOW_TRANSFER| |7.8.9.10| || ||
|NS| |4/28.3.2.1.in-addr.arpa.| |aa.com.| ||
|PTR| |6.4/28.3.2.1.in-addr.arpa.| |zone.c.om.| ||
|PTR| |6.4/28.3.2.1.in-addr.arpa.| |dom1.com.| ||
|PTR| |6.4/28.3.2.1.in-addr.arpa.| |dom2.com.| ||
|TXT| |a.4/28.3.2.1.in-addr.arpa.| |text value| ||
|TXT| |4/28.3.2.1.in-addr.arpa.| |sometext| ||
}
4.3.2.1.in-addr.arpa.|master {|REFRESH| |10800| || ||
|RETRY| |3600| || ||
|EXPIRE| |60480| || ||
|MIN_TTL| |86400| || ||
|DEFAULT_TTL| |86400| || ||
|ALLOW_TRANSFER| |7.8.9.10| || ||
|NS| |4.3.2.1.in-addr.arpa.| |aa.com.| ||
|PTR| |4.3.2.1.in-addr.arpa.| |zone.c.om.| ||
|TXT| |abc.4.3.2.1.in-addr.arpa.| |sometext| ||
}
The "@" character is accepted when defining zones.
testdomain.com.|master {|NS| |@| |ns.isdomain.com.| ||
|NS| || |new| ||
|MX| |@| |mail.testdomain.com.| |10|
|MX| |test| |mail1.testdomain.com.| |15|
|TXT| |@| |this is not a test| ||
|CNAME| |*.new| |newtest.com.| ||
}
The "-" character is also accepted when defining reverse zones.
4-28.3.2.1.in-addr.arpa.|master {|REFRESH| |10800| || ||
|RETRY| |3600| || ||
|EXPIRE| |60480| || ||
|MIN_TTL| |86400| || ||
|DEFAULT_TTL| |86400| || ||
|ALLOW_TRANSFER| |7.8.9.10| || ||
|NS| |4-28.3.2.1.in-addr.arpa.| |aa.com.| ||
|PTR| |6.4-28.3.2.1.in-addr.arpa.| |zone.com.| ||
|PTR| |6.4-28.3.2.1.in-addr.arpa.| |dom1.com.| ||
|PTR| |6.4-28.3.2.1.in-addr.arpa.| |dom2.com.| ||
|TXT| |a.4-28.3.2.1.in-addr.arpa.| |text value| ||
|TXT| |4-28.3.2.1.in-addr.arpa.| |sometext| ||
}
If the SOA records are not found in the zone definition, they are inherited from the client, if the client has SOA records defined. If the client has no SOA records defined, the system wide SOA settings defined by the administrator are used.
domain.ltd.|master {|ALLOW_TRANSFER| |4.3.2.1| || ||
|NS| |domain.ltd.| |ns1.domain.ltd.| ||
|NS| |aa.domain.ltd.| |ns.domain.ltd.| ||
|CNAME| |cname.domain.ltd.| |canonical.name.| ||
|CNAME| |somedir.domain.ltd.| |domain.ltd.| ||
|CNAME| |ftp| |domain.ltd.| ||
|A| |mail.domain.ltd.| |192.168.10.32| ||
|MX| |zone.domain.ltd.| |email.exchanger| |10|
|TXT| |txt.domain.ltd.| |v=spf1 exists:%{ir}.%{v}.arpa -all | |||TXT| |some-text.domain.ltd.| |any text| ||
|TXT| |private._domainkey.domain.ltd.| |k=rsa; p=MEwwDQYerwqEWwE| ||
|TXT| |domain.ltd.| |text value| ||
}
4/28.3.2.1.in-addr.arpa.|master {|NS| |4/28.3.2.1.in-addr.arpa.| |aa.com.| ||
|PTR| |6.4/28.3.2.1.in-addr.arpa.| |zone.com.| ||
|PTR| |6.4/28.3.2.1.in-addr.arpa.| |dom1.com.| ||
|PTR| |6.4/28.3.2.1.in-addr.arpa.| |dom2.com.| ||
|TXT| |a.4/28.3.2.1.in-addr.arpa.| |text value| ||
|TXT| |4/28.3.2.1.in-addr.arpa.| |sometext| ||
}
plesk_complete.sh
plesc_zones.sh
plesk_export.sh
# Dump type can be <masters/slaves/both>
dump="both"
# Converts master zones to slaves in dump (for DNS Manager 3 acting as slave for a bind server)
# Works only when
# dump=masters/both
# dump_allow_transfers=yes/no
# dump_masters=yes/no
masters2slaves="no"
# Dump 'master' records from existing slave zones and includes them in the dump
# Works only when:
# dump=slaves/both
# masters2slaves=yes/no (Zones transformed from master2slave can not have a masters record because it does not exist in database!)
# dump_allow_transfers=yes/no
dump_masters="yes"
# Dump 'allow-transfer' servers from existing zones and includes them in the dump
# Works only when:
# dump=master/both
# dump_masters=yes/no
# masters2slaves=yes/no
dump_allow_transfers="yes"
# Dump reverse zones
dump_reverse="yes"
# Ignore the zone status in the Plesk database (zone and/or domain can be disabled in Plesk)
ignore_dns_zones_status="no"
# Dump SOA records from Plesk database
dump_soa="no"
Some variables might not be present on some of the scripts
(like ignore_dns_zones_status, dump_soa
e.t.c.)
4PSA DNS Manager 3 comes with powerful new import daemons that replace the old cron scripts. Below you can find a list of all daemons on a DNS Manager 3 server.
/etc/init.d/dnsmanager/etc/init.d/zonemngd/etc/init.d/updateurld/etc/init.d/namedAll daemons and locations based on Redhat Enterprise Linux 5.1 paths and naming conventions.
/usr/sbin/rrmonitd4PSA DNS Manager 3 comes with a dedicated HTTP interface. In order to login to the 4PSA DNS Manager 3 web interface you must point the browser to:
https://your_server_ip:8550
To login to the interface for the first time you must supply these login credentials:
user: admin
password: welcome
The new interface can now be found in:
DNSMANAGER_ROOT_D /admin/htdocs/
The skin directory can be found in:
DNSMANAGER_ROOT_D/admin/htdocs/skins
The language pack directory can be found in:
DNSMANAGER_ROOT_D/admin/htdocs/language
All important paths are defined in
/etc/dnsmanager/dnsmanager.conf
4PSA DNS Manager 3 is now packed in RPM files. The supplied installed has the only role to ease the installation/upgrade by resolving dependencies and fixing most common issues. For more details check the Command Line Installation Guide.
Development office:
| Rack-Soft SRL |
| DCL Office Building, 20-22 Bilciuresti Street, sector 1 |
| Bucharest, 014012 |
| ROMANIA |
| Phone: 646-957-8997 (US), 021-3130165 (Romania) |
| Fax: 270-638-0988 (US), 021-3130165 (Romania) |
E-mail: