summaryrefslogtreecommitdiffstats
path: root/install/share/bind.named.conf.template
diff options
context:
space:
mode:
authorMartin Nagy <mnagy@redhat.com>2009-09-01 23:28:52 +0200
committerMartin Nagy <mnagy@redhat.com>2009-09-02 19:09:28 +0200
commit4e5a68397a102f0be193470257ed331baf57dc3c (patch)
tree5f547a0b358127cbaa58a28ecf6603d45d6ca9f3 /install/share/bind.named.conf.template
parent5e871a0abb800ca190575dad3238706fea457d34 (diff)
downloadfreeipa-4e5a68397a102f0be193470257ed331baf57dc3c.tar.gz
freeipa-4e5a68397a102f0be193470257ed331baf57dc3c.tar.xz
freeipa-4e5a68397a102f0be193470257ed331baf57dc3c.zip
Use DNS forwarders in /etc/named.conf
This patch adds options --forwarder and --no-forwarders. At least one of them must be used if you are doing a setup with DNS server. They are also mutually exclusive. The --forwarder option can be used more than once to specify more servers. If the installer runs in interactive mode, it will prompt the user if none of these option was given at the command line.
Diffstat (limited to 'install/share/bind.named.conf.template')
-rw-r--r--install/share/bind.named.conf.template3
1 files changed, 3 insertions, 0 deletions
diff --git a/install/share/bind.named.conf.template b/install/share/bind.named.conf.template
index 69bd86b00..8b5fac2a6 100644
--- a/install/share/bind.named.conf.template
+++ b/install/share/bind.named.conf.template
@@ -5,6 +5,9 @@ options {
statistics-file "data/named_stats.txt";
memstatistics-file "data/named_mem_stats.txt";
+ forward first;
+ forwarders {$FORWARDERS};
+
tkey-gssapi-credential "DNS/$FQDN";
tkey-domain "$REALM";
};