summaryrefslogtreecommitdiff
path: root/source4/scripting/bin/samba_upgradedns
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2012-09-11 09:07:47 +0200
committerStefan Metzmacher <metze@samba.org>2012-09-12 16:51:29 +0200
commit56058ea597836ed61a8abcd3c26732f2829ee641 (patch)
tree86cda9ded42617cee9a3e6d76307011ebaa91699 /source4/scripting/bin/samba_upgradedns
parent2af8129085042b51ac052653942116ad5998f701 (diff)
downloadsamba-56058ea597836ed61a8abcd3c26732f2829ee641.tar.gz
samba-56058ea597836ed61a8abcd3c26732f2829ee641.tar.bz2
samba-56058ea597836ed61a8abcd3c26732f2829ee641.zip
s4 dns: use the internal DNS server per default
Diffstat (limited to 'source4/scripting/bin/samba_upgradedns')
-rwxr-xr-xsource4/scripting/bin/samba_upgradedns6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/scripting/bin/samba_upgradedns b/source4/scripting/bin/samba_upgradedns
index c1220bcc26..efda448d48 100755
--- a/source4/scripting/bin/samba_upgradedns
+++ b/source4/scripting/bin/samba_upgradedns
@@ -238,8 +238,8 @@ if __name__ == '__main__':
parser.add_option_group(credopts)
parser.add_option("--dns-backend", type="choice", metavar="<BIND9_DLZ|SAMBA_INTERNAL>",
- choices=["SAMBA_INTERNAL", "BIND9_DLZ"], default="BIND9_DLZ",
- help="The DNS server backend, default BIND9_DLZ")
+ choices=["SAMBA_INTERNAL", "BIND9_DLZ"], default="SAMBA_INTERNAL",
+ help="The DNS server backend, default SAMBA_INTERNAL")
parser.add_option("--migrate", type="choice", metavar="<yes|no>",
choices=["yes","no"], default="yes",
help="Migrate existing zone data, default yes")
@@ -248,7 +248,7 @@ if __name__ == '__main__':
opts = parser.parse_args()[0]
if opts.dns_backend is None:
- opts.dns_backend = 'DLZ_BIND9'
+ opts.dns_backend = 'SAMBA_INTERNAL'
if opts.migrate:
autofill = False