diff --git a/scripts/knotctl b/scripts/knotctl index 601cfbe..da0b84c 100755 --- a/scripts/knotctl +++ b/scripts/knotctl @@ -136,6 +136,8 @@ def setup_url( ) -> str: url = baseurl + "/zones" if zone: + if not zone.endswith("."): + zone += "." url += "/{}".format(zone) if name and zone: url += "/records/{}".format(name)