pvl/hosts/zone.py
changeset 471 e4b4458d8061
parent 470 ac334a55eebc
child 472 814cc88c531b
--- a/pvl/hosts/zone.py	Wed Feb 25 15:12:55 2015 +0200
+++ b/pvl/hosts/zone.py	Wed Feb 25 15:24:49 2015 +0200
@@ -37,6 +37,7 @@
     else:
         raise HostZoneError("{name}: fqdn {fqdn} out of zone {origin}".format(name=name, fqdn=fqdn, origin=origin))
 
+# TODO: generate location alias CNAMEs even if host itself is outside origin?
 def host_forward (host, origin) :
     """
         Yield ZoneRecords for hosts within the given zone origin
@@ -73,7 +74,7 @@
 
     if host.location:
         location_alias, location_domain = host.location
-
+        
         yield pvl.dns.ZoneRecord.CNAME(resolve(origin, location_domain, location_alias), label)
 
     for alias in host.alias: