mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
DNS: allow to add forward zone to already broken sub-domain
Errors during DNS resolution might indicate that forwarder is the necessary configuration which is missing. Now we disallow adding a forwarder only if the zone is normally resolvable without the forwarder. https://fedorahosted.org/freeipa/ticket/6062 Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
parent
5776f1e900
commit
b73ef3d7f9
@ -2097,7 +2097,7 @@ class DNSZoneBase_add(LDAPCreate):
|
||||
|
||||
if not options['skip_overlap_check']:
|
||||
try:
|
||||
check_zone_overlap(keys[-1])
|
||||
check_zone_overlap(keys[-1], raise_on_error=False)
|
||||
except ValueError as e:
|
||||
raise errors.InvocationError(e.message)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user