--- a/bin/pvl.hosts-dns Mon Mar 17 17:31:45 2014 +0200
+++ b/bin/pvl.hosts-dns Mon Mar 17 17:36:59 2014 +0200
@@ -73,6 +73,9 @@
if host.alias6 :
yield pvl.dns.zone.ZoneRecord.AAAA(label.ALIAS6_FMT.format(host=host), host.ip6)
+ if host.location :
+ yield process_hosts_alias(options, origin, host.domain, host.location, label)
+
for alias in host.alias :
yield process_hosts_alias(options, origin, host.domain, alias, label)
@@ -80,7 +83,7 @@
yield process_hosts_alias(options, origin, host.domain, alias4, host.ALIAS4_FMT.format(host=label))
for alias6 in host.alias6 :
- yield process_hosts_alias(options, origin, host.domain, alias6, host.ALIAS6_FMT.format(host=label))
+ yield process_hosts_alias(options, origin, host.domain, alias6, host.ALIAS6_FMT.format(host=label))
def process_hosts_forward (options, hosts, origin) :
"""