diff --git a/configs/scripts/wg-genzone.py b/configs/scripts/wg-genzone.py index 2698e02..337b1f6 100755 --- a/configs/scripts/wg-genzone.py +++ b/configs/scripts/wg-genzone.py @@ -130,11 +130,11 @@ def main() -> int: # Add forward and reverse records for address in addresses: if isinstance(address, ipaddress.IPv4Address): - print(f"{host}. IN A {args.ttl} {address}") - print(f"{address.reverse_pointer}. {args.ttl} IN PTR {host}") + print(f"{host}. IN A {address}") + print(f"{address.reverse_pointer}. IN PTR {host}") elif isinstance(address, ipaddress.IPv6Address): - print(f"{host}. {args.ttl} IN AAAA {address}") - print(f"{address.reverse_pointer}. {args.ttl} IN PTR {host}") + print(f"{host}. IN AAAA {address}") + print(f"{address.reverse_pointer}. IN PTR {host}") return 0