diff options
| author | Martin Babinsky <mbabinsk@redhat.com> | 2015-12-04 20:07:29 +0100 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2015-12-04 23:03:22 +0100 |
| commit | 0044e56d6ce1fe5a8307bcf6320a22e63ff94bd9 (patch) | |
| tree | 6421be9cd154cc4c3b25ec5f97b1e4dde1149ccd /install/tools | |
| parent | 81c06327b955f71cbbd89e5cfa47594157c3fcae (diff) | |
| download | freeipa-0044e56d6ce1fe5a8307bcf6320a22e63ff94bd9.tar.gz freeipa-0044e56d6ce1fe5a8307bcf6320a22e63ff94bd9.tar.xz freeipa-0044e56d6ce1fe5a8307bcf6320a22e63ff94bd9.zip | |
add auto-forwarders option to standalone DNS installer
https://fedorahosted.org/freeipa/ticket/5438
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'install/tools')
| -rwxr-xr-x | install/tools/ipa-dns-install | 3 |
1 files changed, 3 insertions, 0 deletions
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") |
