mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-13 09:41:55 -06:00
add auto-forwarders option to standalone DNS installer
https://fedorahosted.org/freeipa/ticket/5438 Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
parent
81c06327b9
commit
0044e56d6c
@ -49,6 +49,9 @@ def parse_options():
|
|||||||
type="ip", help="Add a DNS forwarder. This option can be used multiple times")
|
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",
|
parser.add_option("--no-forwarders", dest="no_forwarders", action="store_true",
|
||||||
default=False, help="Do not add any DNS forwarders, use root servers instead")
|
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",
|
parser.add_option("--reverse-zone", dest="reverse_zones",
|
||||||
default=[], action="append", metavar="REVERSE_ZONE",
|
default=[], action="append", metavar="REVERSE_ZONE",
|
||||||
help="The reverse DNS zone to use. This option can be used multiple times")
|
help="The reverse DNS zone to use. This option can be used multiple times")
|
||||||
|
Loading…
Reference in New Issue
Block a user