From 0044e56d6ce1fe5a8307bcf6320a22e63ff94bd9 Mon Sep 17 00:00:00 2001 From: Martin Babinsky Date: Fri, 4 Dec 2015 20:07:29 +0100 Subject: [PATCH] add auto-forwarders option to standalone DNS installer https://fedorahosted.org/freeipa/ticket/5438 Reviewed-By: Martin Basti --- install/tools/ipa-dns-install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install/tools/ipa-dns-install b/install/tools/ipa-dns-install index b6b922e88..bdaffd30b 100755 --- a/install/tools/ipa-dns-install +++ b/install/tools/ipa-dns-install @@ -49,6 +49,9 @@ def parse_options(): type="ip", help="Add a DNS forwarder. This option can be used multiple times") parser.add_option("--no-forwarders", dest="no_forwarders", action="store_true", default=False, help="Do not add any DNS forwarders, use root servers instead") + parser.add_option("--auto-forwarders", dest="auto_forwarders", + action="store_true", default=False, + help="Use DNS forwarders configured in /etc/resolv.conf") parser.add_option("--reverse-zone", dest="reverse_zones", default=[], action="append", metavar="REVERSE_ZONE", help="The reverse DNS zone to use. This option can be used multiple times")