iad2: add a ns01 nameserver vm

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-05-06 13:25:07 -07:00
parent ffcf517a4f
commit f6d3301708
3 changed files with 63 additions and 0 deletions

View file

@ -0,0 +1,26 @@
---
nm: 255.255.255.0
gw: 10.3.163.254
dns: 10.3.163.33
volgroup: /dev/vg_guests
eth0_ip: 10.3.163.33
vmhost: vmhost-x86-01.iad2.fedoraproject.org
datacenter: iad2
csi_relationship: |
ns01 is a master dns server.
It serves about every domain under fedoraproject, fedo*, as well as others, both forward and reverse.
* This host relies on:
- The virthost it's hosted on (vmhost-x86-01.iad2.fedoraproject.org)
- batcave for dns git and keys
- connectivity to maxmind to create geoIP dns acl
* Things that rely on this host:
- The Internet/Community to resolve everything related to fedora and reverse-IP for allocated subnets
- If this host is down, dns queries will slow down by the portion of this host to the total name servers responsible for the same domain set.
- secodary/slave dns servers

View file

@ -448,6 +448,7 @@ torrent02.fedoraproject.org
secondary01.phx2.fedoraproject.org
[dns]
ns01.iad2.fedoraproject.org
ns02.fedoraproject.org
ns03.phx2.fedoraproject.org
ns04.phx2.fedoraproject.org

36
playbooks/bridgeify.yml Normal file
View file

@ -0,0 +1,36 @@
# Playbook to setup initial bridges on virthosts
# pass itL
# -e target=inventory_hostname
# -e br0
- hosts: "{{ target }}"
vars:
network_connections:
- name: br0
state: up
type: bridge
autoconnect: yes
ip:
address:
- 10.3.163.11/24
gateway4: 10.3.163.254
dns: 8.8.8.8
dns_search:
- iad2.fedoraproject.org
- fedoraproject.org
dhcp4: no
auto6: no
autoconnect: yes
- name: br0-port0
state: up
type: ethernet
master: br0
mac: E4:43:4B:B1:70:88
- name: br0-port1
state: up
type: ethernet
master: br0
mac: E4:43:4B:B1:70:8A
roles:
- role: linux-system-roles.network