HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2019-06-18 9493c780f4a079308c8d0f4861e56c63727821f5
fix zonefile
2 files modified
3 ■■■■ changed files
hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java 1 ●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/pac/pac-zonefile.vm 2 ●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java
@@ -141,6 +141,7 @@
        final Map<String, Object> zonefileTemplateVars = new HashMap<String, Object>();
        zonefileTemplateVars.put("sio", Long.toString(System.currentTimeMillis()/1000L));
        zonefileTemplateVars.put("pac", pac.getName()); 
        zonefileTemplateVars.put("hive", pac.getHiveName());
        zonefileTemplateVars.put("inet4Addr", pac.getCurINetAddr().getInet4Addr()); 
        try {
            zonefileTemplateVars.put("inet6Addr", pac.getCurINetAddr().getInet6Addr());
hsarback/src/de/hsadmin/mods/pac/pac-zonefile.vm
@@ -1,5 +1,5 @@
$TTL 6H
${pac.name}.hostsharing.net. IN SOA ${hive}.hostsharing.net. hostmaster.hostsharing.net. (
${pac}.hostsharing.net. IN SOA ${hive}.hostsharing.net. hostmaster.hostsharing.net. (
        ${sio}  ; serial secs since Jan 1 1970
        6H    ; refresh (>=10000)
        1H    ; retry (>=1800)