--- a/bin/pvl.hosts-dns Sun Dec 22 18:15:59 2013 +0200
+++ b/bin/pvl.hosts-dns Sun Dec 22 18:20:45 2013 +0200
@@ -48,7 +48,7 @@
if host.forward is None :
pass
elif host.forward :
- forward = pvl.dns.join(host, host.forward, host.domain)
+ forward = pvl.dns.zone.fqdn(host, host.forward, host.domain)
log.info("%s: forward: %s", host, forward)
@@ -196,7 +196,7 @@
yield host, ip, pvl.dns.zone.ZoneRecord.PTR(label, fqdn)
elif host.reverse :
- alias = pvl.dns.join(label, host.reverse, host.domain)
+ alias = pvl.dns.zone.fqdn(label, host.reverse, host.domain)
log.info("%s %s[%s]: CNAME %s", host, prefix, ip, alias)