# This file centrally maintained at:
# https://cs.uwaterloo.ca/cscf/infrastructure/setups/services/dns/etc/resolv.conf-TEACHING.shtml
# and should be used on TEACHING hosts that are not stealth servers.
# Changes made to this file on CSCF admin'd hosts 
# without also changing the above web site
# will likely be lost.
#
#   created: Dave Gawley: 2011-11-24
#   updated: Dave Gawley: 2017-04-01
#   updated: unknown    : 2019-05  - based on file time stamp.
#   reverted Dave Gawley: 2022-09-19
#     restore using the CS DNS Servers 
#     as IST DNS service has single point of failure WRT ds.uwaterloo.ca zone transfers.
#     that keeps hitting us every year or so.
#
#
#
domain  student.cs.uwaterloo.ca
search  teaching.ds.uwaterloo.ca student.cs.uwaterloo.ca ds.uwaterloo.ca cs.uwaterloo.ca uwaterloo.ca

# Set the resolver options to:
#   reduce the time to wait for a response from nameserver from 5 to 1 sec,
#   rotate which DNS server is asked first,
#   don't attempt to ask any one server more than once,
#   only use search list when requested name contains 3 dots or less.
options timeout:1 rotate attempts:1 ndots:3

# Unfortunately IST has a single point of failure in their zone transfer of our ds.uwaterloo.ca directory service information.
# (this has bitten us about every other year since we reported the problem back in 2019).
#
# Work around until they get it fixed is for CSCF to continue providing intermediate DNS service and have clients 
# include them in their list of name servers.
#
# dc-dns-2.cs.uwaterloo.ca
nameserver 172.92.32.6
#
# adns.uwaterloo.ca
nameserver 129.97.2.1
#
# mc-dns-2.cs.uwaterloo.ca
nameserver 172.92.47.6
#
# adns2.uwaterloo.ca
nameserver 129.97.2.2