blob: c69160af8c20ff2b8549193a251a0d43b8416a84 [file] [log] [blame]
Zack Williams7d1ce412017-10-23 11:21:05 -07001---
Matteo Scandolo3896c472017-08-01 13:31:42 -07002# 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 Williams9cea13e2017-07-25 16:32:59 -070016# dns-nsd/defaults/main.yml
Zack Williams99adf6b2016-03-14 17:01:08 -070017
18nsd_ip: 127.0.0.1
19nsd_conf: "/var/nsd/etc/nsd.conf"
20nsd_zonesdir: "/var/nsd/zones"
21nsd_group: "nsd"
22
Zack Williams99adf6b2016-03-14 17:01:08 -070023# default DNS TTL
24dns_ttl: 3600
25
Zack Williams9cea13e2017-07-25 16:32:59 -070026# NOTE - many of the below settings are shared with the dns-nsd role, and you
27# may need to update them in the defaults of both.
28
Zack Williams7d1ce412017-10-23 11:21:05 -070029headnode_dns: head1
Zack Williams9cea13e2017-07-25 16:32:59 -070030
31site_name: placeholder-sitename
32site_suffix: "{{ site_name }}.test"
33
34# Management IP range from DHCP settings
35mgmt_ipv4_first_octets: "192.168.200"
36mgmt_name_reverse_unbound: "168.192.in-addr.arpa"
37
38dns_servers:
39 - "{{ mgmt_ipv4_first_octets }}.1"
40
41# node lists
42head_lxd_list: []
43physical_node_list: []
44
45# DNS settings for NSD/Unbound
46nsd_zones:
47 - name: "{{ site_suffix }}"
48 ipv4_first_octets: "{{ mgmt_ipv4_first_octets }}"
49 name_reverse_unbound: "{{ mgmt_name_reverse_unbound }}"
50 soa: ns1
51 ns:
52 - { name: ns1 }
53 nodelists:
54 - head_lxd_list
55 - physical_node_list
56 aliases:
Zack Williams7d1ce412017-10-23 11:21:05 -070057 - { name: "apt-cache", dest: "{{ headnode_dns }}" }
58 - { name: "cordloghost", dest: "{{ headnode_dns }}" }
59 - { name: "consul", dest: "{{ headnode_dns }}" }
60 - { name: "docker", dest: "{{ headnode_dns }}" }
61 - { name: "mavenrepo", dest: "{{ headnode_dns }}" }
62 - { name: "ns", dest: "{{ headnode_dns }}" }
63 - { name: "ns1", dest: "{{ headnode_dns }}" }
64 - { name: "onos-cord", dest: "{{ headnode_dns }}" }
65 - { name: "onos-fabric", dest: "{{ headnode_dns }}" }
66 - { name: "xos", dest: "{{ headnode_dns }}" }
67 - { name: "xos-chameleon", dest: "{{ headnode_dns }}" }
68 - { name: "xos-consul", dest: "{{ headnode_dns }}" }
69 - { name: "xos-core", dest: "{{ headnode_dns }}" }
70 - { name: "xos-gui", dest: "{{ headnode_dns }}" }
71 - { name: "xos-tosca", dest: "{{ headnode_dns }}" }
72 - { name: "xos-ws", dest: "{{ headnode_dns }}" }
73