Accessing the BIND git Repository Via Command Line

AA-01009

Knowledge of git and of source code management is assumed...

If you are unfamiliar with source code management, and in particular with the use of git, we recommend instead that you use the web-based interface to view the BIND source code trees available here: https://source.isc.org/cgi-bin/gitweb.cgi?p=bind9.git;a=summary

To check out BIND 9 source, type:

git clone https://source.isc.org/git/bind9.git

This will create a local directory called bind9 which will contain all branches of the source code. 

Branch names are of the form v9_X, where X represents the second number in the BIND 9 version number. So for example, to check out the BIND 9.10 branch go into the bind9 directory and run:

git checkout v9_10

Older extended Release Version branches are named slightly differently, but following the same pattern.  To view the latest development version of BIND 9.6-ESV-Rx, you would want to check out branch v9_6_ESV.

To later refresh your copy of the repository, go into the bind9 directory and type:

git checkout BRANCH
git pull origin BRANCH

...where BRANCH is the branch you are interested in viewing.

Whenever a branch is ready for publication, a tag will be placed of the form v9_X_Y. The 9.9.5 release, for instance, is tagged as v9_9_5.

The branch in which the next major release is being developed is called master.