pvl.hosts: make host.forward/reverse just fqdns...
--- a/bin/pvl.hosts-dns Thu Dec 26 13:20:09 2013 +0200
+++ b/bin/pvl.hosts-dns Thu Dec 26 14:54:02 2013 +0200
@@ -51,7 +51,7 @@
if host.forward is None :
pass
elif host.forward :
- forward = pvl.dns.zone.fqdn(host, host.forward, host.domain)
+ forward = pvl.dns.zone.fqdn(host.forward)
log.info("%s: forward: %s", host, forward)
@@ -206,7 +206,7 @@
yield host, ip, pvl.dns.zone.ZoneRecord.PTR(label, fqdn)
elif host.reverse :
- alias = pvl.dns.zone.fqdn(label, host.reverse, host.domain)
+ alias = pvl.dns.zone.fqdn(host.reverse)
log.info("%s %s[%s]: CNAME %s", host, prefix, ip, alias)