pvl/hosts/zone.py
changeset 463 2cbdb2435487
parent 462 6d699c76d75d
child 464 f1d3dbf04ca3
--- a/pvl/hosts/zone.py	Wed Feb 25 14:29:40 2015 +0200
+++ b/pvl/hosts/zone.py	Wed Feb 25 14:41:51 2015 +0200
@@ -49,7 +49,7 @@
         return
 
     if host.forward:
-        forward = pvl.dns.zone.fqdn(host.forward)
+        forward = pvl.dns.fqdn(host.forward)
 
         log.info("%s: forward: %s", host, forward)
 
@@ -108,7 +108,7 @@
     label = pvl.dns.reverse_label(prefix, ip)
    
     if host.reverse :
-        alias = pvl.dns.zone.fqdn(host.reverse)
+        alias = pvl.dns.fqdn(host.reverse)
         
         log.info("%s %s[%s]: CNAME %s", host, prefix, ip, alias)