CVS Commit: FAC dist/all_ubuntu/usr/fac/bin by jhutz

Jeffrey Hutzelman jhutz+ at minbar.fac.cs.cmu.edu
Tue Dec 16 16:40:10 EST 2014


Update of /afs/cs.cmu.edu/project/fac-cvs/dist/all_ubuntu/usr/fac/bin
In directory minbar.fac.cs.cmu.edu:/afs/cs.cmu.edu/project/fac-master/dist/all_ubuntu/usr/fac/bin

Added Files:
	beta_resolvconf 
Log Message:
Program to add a resolvconf "interface" for beta DNS servers

Given a list of nameservers as arguments, this program decides whether we
should be using beta DNS servers instead of the ones named.  This is the
case if the use_beta_dns quirk is set _and_ the arguments include at least
one server from the SCS anycast subnet.  The latter test prevents us
forcing beta nameservers on off-campus machines which won't be able to
talk to them.

If beta nameservers should be used, resolvconf is informed of a fake
"interface" named lo.cmucs-beta, which provides nameserver entries for
the beta DNS servers.  This particular interface name causes the entry
to be considered after local caching servers but before real interfaces
or the composite entry provided by NetworkManager.

If the beta nameservers should not be used, the fake interface is removed.




More information about the Fac-source-change-log mailing list