From 843c14910c338b1dc2c795872ed9542cdaf73c4b Mon Sep 17 00:00:00 2001 From: Mars Toktonaliev Date: Sat, 17 Mar 2018 12:50:58 -0500 Subject: [PATCH] Added DNS forwarding sample configuration Issue-ID: DOC-252 Change-Id: I4706df9f24b3b0108d2936682fcce061a16c3607 Signed-off-by: Mars Toktonaliev --- .../onap-developer/settingup/install-designate.rst | 23 +++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/docs/guides/onap-developer/settingup/install-designate.rst b/docs/guides/onap-developer/settingup/install-designate.rst index 9f9dde3d9..42000a43d 100644 --- a/docs/guides/onap-developer/settingup/install-designate.rst +++ b/docs/guides/onap-developer/settingup/install-designate.rst @@ -53,7 +53,28 @@ The current design of kubernetes deployment installs DCAE into any openstack ins Few steps have to be performed. The detail of each steps are in `the config guide of Openstack Designate `: 1. Install bind9 nameserver -2. Configure it to accept dns updates and forward to your master DNS Server +2. Configure it to accept dns updates and forward to your master DNS Server. Example configuration is below: + .. code:: bash + root@designate:~# cat /etc/bind/named.conf.options + include "/etc/bind/rndc.key"; + options { + directory "/var/cache/bind"; + allow-new-zones yes; + dnssec-validation auto; + listen-on port 53 { 10.203.157.79; }; + forwarders { + 8.8.8.8; + 8.8.4.4; + }; + forward only; + allow-query { any; }; + recursion yes; + minimal-responses yes; + }; + controls { + inet 10.203.157.79 port 953 allow { 10.203.157.79; } keys { "rndc-key"; }; + }; + root@designate:~# 3. Configure Designate in openstack. Please see `this guide ` for more details. 4. Create a pool pointing to your nameserver -- 2.16.6