Don't configure BIND to listen on localhost

It isn't useful for much of anything in a production deployment
and it conflicts with the local DNS server in CI.

Change-Id: Ied3ecdc71bfdf9bb6439e2c9464aa01346e69226
Closes-Bug: 1795043
This commit is contained in:
Ben Nemec 2018-09-28 13:53:56 -05:00
parent 664da5f348
commit 9a69426508
4 changed files with 15 additions and 12 deletions

View File

@ -79,6 +79,9 @@ parameter_defaults:
ControllerExtraConfig: ControllerExtraConfig:
nova::compute::libvirt::services::libvirt_virt_type: qemu nova::compute::libvirt::services::libvirt_virt_type: qemu
nova::compute::libvirt::libvirt_virt_type: qemu nova::compute::libvirt::libvirt_virt_type: qemu
ControllerIPs:
ctlplane:
- 192.168.24.251
Debug: true Debug: true
DockerPuppetDebug: True DockerPuppetDebug: True
# we don't deploy Swift so we switch to file backend. # we don't deploy Swift so we switch to file backend.
@ -108,7 +111,7 @@ parameter_defaults:
# List out the nameservers for this pool. These are the actual BIND servers. # List out the nameservers for this pool. These are the actual BIND servers.
# We use these to verify changes have propagated to all nameservers. # We use these to verify changes have propagated to all nameservers.
nameservers: nameservers:
- host: 127.0.0.1 - host: 192.168.24.251
port: 53 port: 53
# List out the targets for this pool. For BIND there will be one # List out the targets for this pool. For BIND there will be one
@ -128,8 +131,8 @@ parameter_defaults:
# BIND Configuration options # BIND Configuration options
options: options:
host: 127.0.0.1 host: 192.168.24.251
port: 53 port: 53
rndc_host: 127.0.0.1 rndc_host: 192.168.24.251
rndc_port: 953 rndc_port: 953
rndc_key_file: /etc/rndc.key rndc_key_file: /etc/rndc.key

View File

@ -35,7 +35,7 @@ parameter_defaults:
# List out the nameservers for this pool. These are the actual BIND servers. # List out the nameservers for this pool. These are the actual BIND servers.
# We use these to verify changes have propagated to all nameservers. # We use these to verify changes have propagated to all nameservers.
nameservers: nameservers:
- host: 127.0.0.1 - host: 10.0.0.51
port: 53 port: 53
# List out the targets for this pool. For BIND there will be one # List out the targets for this pool. For BIND there will be one
@ -50,14 +50,14 @@ parameter_defaults:
# If you have multiple controllers you can add multiple masters # If you have multiple controllers you can add multiple masters
# by running designate-mdns on them, and adding them here. # by running designate-mdns on them, and adding them here.
masters: masters:
- host: 127.0.0.1 - host: 10.0.0.51
port: 5354 port: 5354
# BIND Configuration options # BIND Configuration options
options: options:
host: 127.0.0.1 host: 10.0.0.51
port: 53 port: 53
rndc_host: 127.0.0.1 rndc_host: 172.17.0.251
rndc_port: 953 rndc_port: 953
rndc_key_file: /etc/rndc.key rndc_key_file: /etc/rndc.key

View File

@ -85,7 +85,7 @@ outputs:
listen-on: listen-on:
str_replace: str_replace:
template: template:
"{ 127.0.0.1; %{hiera('$NETWORK')}; }" "{ %{hiera('$NETWORK')}; }"
params: params:
$NETWORK: {get_param: [ServiceNetMap, BINDNetwork]} $NETWORK: {get_param: [ServiceNetMap, BINDNetwork]}
tripleo::profile::base::designate::rndc_host: tripleo::profile::base::designate::rndc_host:

View File

@ -48,7 +48,7 @@ environments:
# List out the nameservers for this pool. These are the actual BIND servers. # List out the nameservers for this pool. These are the actual BIND servers.
# We use these to verify changes have propagated to all nameservers. # We use these to verify changes have propagated to all nameservers.
nameservers: nameservers:
- host: 127.0.0.1 - host: 10.0.0.51
port: 53 port: 53
# List out the targets for this pool. For BIND there will be one # List out the targets for this pool. For BIND there will be one
@ -63,13 +63,13 @@ environments:
# If you have multiple controllers you can add multiple masters # If you have multiple controllers you can add multiple masters
# by running designate-mdns on them, and adding them here. # by running designate-mdns on them, and adding them here.
masters: masters:
- host: 127.0.0.1 - host: 10.0.0.51
port: 5354 port: 5354
# BIND Configuration options # BIND Configuration options
options: options:
host: 127.0.0.1 host: 10.0.0.51
port: 53 port: 53
rndc_host: 127.0.0.1 rndc_host: 172.17.0.251
rndc_port: 953 rndc_port: 953
rndc_key_file: /etc/rndc.key rndc_key_file: /etc/rndc.key