Zack Williams | 7d1ce41 | 2017-10-23 11:21:05 -0700 | [diff] [blame] | 1 | --- |
Matteo Scandolo | 3896c47 | 2017-08-01 13:31:42 -0700 | [diff] [blame] | 2 | # Copyright 2017-present Open Networking Foundation |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
Zack Williams | ba5549c | 2017-03-25 15:04:45 -0700 | [diff] [blame] | 16 | # dns-unbound/defaults/main.yml |
Zack Williams | 99adf6b | 2016-03-14 17:01:08 -0700 | [diff] [blame] | 17 | |
| 18 | unbound_conf: "/var/unbound/etc/unbound.conf" |
| 19 | unbound_group: "wheel" |
| 20 | |
Zack Williams | ba5549c | 2017-03-25 15:04:45 -0700 | [diff] [blame] | 21 | unbound_listen_on_default: False |
| 22 | |
Zack Williams | 9cea13e | 2017-07-25 16:32:59 -0700 | [diff] [blame] | 23 | unbound_listen_all: True |
Zack Williams | ba5549c | 2017-03-25 15:04:45 -0700 | [diff] [blame] | 24 | |
Zack Williams | 9cea13e | 2017-07-25 16:32:59 -0700 | [diff] [blame] | 25 | # NOTE - many of the below settings are shared with the dns-nsd role, and you |
| 26 | # may need to update them in the defaults of both. |
| 27 | |
| 28 | site_name: placeholder-sitename |
| 29 | site_suffix: "{{ site_name }}.test" |
| 30 | |
Zack Williams | 7d1ce41 | 2017-10-23 11:21:05 -0700 | [diff] [blame] | 31 | headnode_dns: head1 |
Zack Williams | 9cea13e | 2017-07-25 16:32:59 -0700 | [diff] [blame] | 32 | |
| 33 | # Management IP range from DHCP settings |
| 34 | mgmt_ipv4_first_octets: "192.168.200" |
| 35 | mgmt_name_reverse_unbound: "168.192.in-addr.arpa" |
| 36 | |
| 37 | unbound_interfaces: |
| 38 | - "{{ mgmt_ipv4_first_octets }}.1/24" |
| 39 | |
| 40 | # node lists |
| 41 | head_lxd_list: [] |
| 42 | physical_node_list: [] |
| 43 | |
| 44 | # DNS settings for NSD/Unbound |
| 45 | nsd_zones: |
| 46 | - name: "{{ site_suffix }}" |
| 47 | ipv4_first_octets: "{{ mgmt_ipv4_first_octets }}" |
| 48 | name_reverse_unbound: "{{ mgmt_name_reverse_unbound }}" |
| 49 | soa: ns1 |
| 50 | ns: |
| 51 | - { name: ns1 } |
| 52 | nodelists: |
| 53 | - head_lxd_list |
| 54 | - physical_node_list |
| 55 | aliases: |
Zack Williams | 7d1ce41 | 2017-10-23 11:21:05 -0700 | [diff] [blame] | 56 | - { name: "apt-cache", dest: "{{ headnode_dns }}" } |
| 57 | - { name: "cordloghost", dest: "{{ headnode_dns }}" } |
| 58 | - { name: "consul", dest: "{{ headnode_dns }}" } |
| 59 | - { name: "docker", dest: "{{ headnode_dns }}" } |
| 60 | - { name: "mavenrepo", dest: "{{ headnode_dns }}" } |
| 61 | - { name: "ns", dest: "{{ headnode_dns }}" } |
| 62 | - { name: "ns1", dest: "{{ headnode_dns }}" } |
| 63 | - { name: "onos-cord", dest: "{{ headnode_dns }}" } |
| 64 | - { name: "onos-fabric", dest: "{{ headnode_dns }}" } |
| 65 | - { name: "xos", dest: "{{ headnode_dns }}" } |
| 66 | - { name: "xos-chameleon", dest: "{{ headnode_dns }}" } |
| 67 | - { name: "xos-consul", dest: "{{ headnode_dns }}" } |
| 68 | - { name: "xos-core", dest: "{{ headnode_dns }}" } |
| 69 | - { name: "xos-gui", dest: "{{ headnode_dns }}" } |
| 70 | - { name: "xos-tosca", dest: "{{ headnode_dns }}" } |
| 71 | - { name: "xos-ws", dest: "{{ headnode_dns }}" } |
Zack Williams | 9cea13e | 2017-07-25 16:32:59 -0700 | [diff] [blame] | 72 | |