diff --git a/CHANGELOG.md b/CHANGELOG.md index ade787e..0939cc4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.0.25] - 2025-05-28 + +### Changed + +- Fixed bug with not running DNS if using host mode + ## [1.0.24] - 2025-05-20 ### Changed diff --git a/ziti_router_auto_enroll.py b/ziti_router_auto_enroll.py index 37f5062..ea87e14 100755 --- a/ziti_router_auto_enroll.py +++ b/ziti_router_auto_enroll.py @@ -755,7 +755,7 @@ def create_parser(): :return: A Namespace containing arguments """ - __version__ = '1.0.24' + __version__ = '1.0.25' parser = argparse.ArgumentParser() add_general_arguments(parser, __version__) @@ -2052,7 +2052,7 @@ def main(args): # set up local dns for tunnel mode, if not skipping or host mode if args.tunnelListener or args.autoTunnelListener: - if not args.skipDNS and ('host' not in args.tunnelListener): + if not args.skipDNS and (not args.tunnelListener or 'host' not in args.tunnelListener): handle_dns(args) # start ziti