22
33# dns
44
5- [ ![ Build Status] ( https://jenkins.ocf.berkeley.edu/buildStatus/icon?job=ocf/dns/master )] ( https://jenkins.ocf.berkeley.edu/job/ocf/job/dns/job/master )
6-
75DNS zones for the Open Computing Facility
86
97
@@ -16,7 +14,7 @@ attributes:
1614* ` dnsA ` for A and AAAA records.
1715
1816 Whether the host will automatically get IPv6 records depends on the type of
19- host. For an up-to-date listing, run:
17+ host. For an up-to-date listing, run (in the dev shell) :
2018
2119 ``` bash
2220 $ python3 -c ' import ocflib.infra.hosts; print(ocflib.infra.hosts.HOST_TYPES_WITH_IPV6)'
@@ -38,29 +36,27 @@ dnsCname: smtp
3836There are some rare cases where it's necessary to use A records instead,
3937usually mandated by some RFC. For example, the "apex" (root) of a domain cannot
4038be a CNAME (because of the SOA record), so you must use dnsA. Another example
41- is when one hostname needs multiple IPs (e.g. ` mesos.ocf.berkeley.edu ` ) .
39+ is when one hostname needs multiple IPs.
4240
4341
4442## Making changes
4543
46- When updating DNS, apply your changes to LDAP, and then run ` make ` . It will
47- rebuild the primary DNS (` db.ocf ` ) and reverse DNS, including pulling host data
48- from LDAP and bumping the serial number.
44+ When updating DNS, apply your changes to LDAP, and then run ` nix develop ` from koi.
45+ It will rebuild the primary DNS (` db.ocf ` ) and reverse DNS, including pulling host data
46+ from LDAP and bumping the serial number. It will automatically run named-checkzone on
47+ all the zone files to identify any mistakes.
4948
5049Sanity-check the diff before commiting to make sure the changes in LDAP make
51- sense. If not, don't push!
50+ sense. If not, don't push! Additionally, changes must be made through a PR, and GitHub
51+ actions will run named-checkzones to verify the zone files before it can be merged.
52+
53+ The name server will be updated the next time puppet triggers on pestilence, which
54+ should be at most 30 minutes after changes are merged.
5255
5356Some zones under ` etc/zones ` are not automatically generated (e.g. ` asuc.org ` ).
5457These have to be manually edited. Be sure to bump the serial.
5558
56- The Makefile targets you're intended to run are:
57-
58- - ` make ` : update the DNS
59- - ` make test ` : run pre-commit hooks
60- - ` make install-hooks ` : install pre-commit hooks so that they run automatically
61-
62-
6359## Hostname suggestions
6460
6561A list of proposed hostnames, if you can't think of one, is located at
66- ` ~staff/server_name_ideas ` .
62+ https://en.wikipedia.org/wiki/List_of_fish_by_common_name
0 commit comments