| | |
| | | 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()); |
| | |
| | | $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) |