BIND, short for Berkeley Internet Name Domain, is the oldest and most widely deployed open-source DNS server software, able to serve as an authoritative name server, a recursive resolver or both at once. In DNS, it is the reference implementation against which many protocol features were first built and tested, and its zone file syntax became the de facto format for describing DNS data across the Internet.
BIND originated at the University of California, Berkeley in the 1980s and is maintained today by the Internet Systems Consortium (ISC). The current generation, BIND 9, is a complete rewrite released in 2000 and distributed under the Mozilla Public License 2.0. Its server process is called named, pronounced “name-dee”.
How BIND answers DNS queries
The named daemon listens on UDP and TCP port 53 and decides, for each query, whether it holds the answer itself or must find it elsewhere. If the name belongs to a zone the server is configured for, it answers authoritatively from loaded zone data. Otherwise, if recursion is allowed for that client, it walks the hierarchy from the root name servers downward and caches the result for the record’s time to live.
Configuration lives in named.conf, which declares global options, access control lists, logging, keys and one zone statement per zone. Zone contents are usually kept in text zone files in the master file format defined in RFC 1035, starting with an SOA record and NS records.
The table lists the main operating roles and the configuration that enables each.
| Role | What it does | Key configuration |
|---|---|---|
| Primary authoritative | Serves the original copy of a zone | type primary; with a zone file |
| Secondary authoritative | Serves a copy fetched by zone transfer | type secondary; with primaries |
| Recursive resolver | Resolves any name for permitted clients | recursion yes; with allow-recursion |
| Forwarding resolver | Sends unanswered queries to upstream resolvers | forwarders and forward only; |
| Split-horizon server | Returns different data to different clients | view statements with match-clients |
Key features and tools in BIND 9
BIND 9 implements nearly the full DNS protocol suite, which explains its role as a reference platform for new standards. Features that other servers offer selectively are mostly built in.
- DNSSEC signing and validation, including fully automated key rollover through the
dnssec-policystatement. - Zone transfers with AXFR and incremental IXFR, protected by TSIG shared-secret signatures.
- Dynamic updates under RFC 2136, often used by DHCP servers and the
nsupdatetool. - Response Policy Zones (RPZ) for blocking or rewriting answers, a common DNS firewall technique.
- Catalog zones that let a primary server provision new zones on secondaries automatically.
- Encrypted transports in recent versions: DNS over TLS and DNS over HTTPS.
The distribution also ships administrative utilities. The table groups the most frequently used ones.
| Utility | Purpose | Typical use |
|---|---|---|
| rndc | Remote control of a running named | Reload zones, flush cache, view status |
| named-checkconf | Validate named.conf syntax | Run before every restart |
| named-checkzone | Validate a zone file | Catch missing dots and bad SOA values |
| dig | Query any DNS server | Troubleshoot answers, flags and TTL |
| nsupdate | Send dynamic updates | Add or remove records without editing files |
BIND compared with other DNS servers
BIND is general-purpose by design, while several alternatives specialize in one role. Large operators often separate authoritative and recursive service for security and performance, and choose different software for each.
| Server | Roles | Typical strength |
|---|---|---|
| BIND 9 | Authoritative and recursive | Feature completeness, reference behavior |
| Unbound | Recursive only | Lean, validating resolver with strong defaults |
| NSD | Authoritative only | Small code base, high query rates |
| Knot DNS | Authoritative only | Performance and automated DNSSEC |
| PowerDNS | Separate authoritative and recursor products | Database back ends and scripting |
| CoreDNS | Plugin-based, both roles | Service discovery in Kubernetes |
The main trade-off is that one large code base carries more attack surface than a single-role server. In exchange, BIND gives administrators one configuration language and one toolset for every DNS function.
Versions, support and security
ISC uses a numbering scheme where even minor versions are stable and odd minor versions are development branches; selected stable branches receive Extended Support Version status with a longer maintenance period. Running a supported branch matters because BIND is a frequent target of published vulnerabilities, most of them denial-of-service flaws that can crash named with crafted packets.
Sound hardening practice includes restricting recursion to trusted networks, limiting zone transfers to known secondaries with TSIG, enabling response rate limiting on authoritative servers to reduce reflection abuse, and running named as an unprivileged user. An open resolver, one that answers recursive queries from anyone, is a classic misconfiguration that turns a server into an amplification tool for attacks.
Common configuration mistakes
Most BIND outages come from small errors in zone files rather than from the software itself. The checklist below pairs typical symptoms with their causes.
| Symptom | Cause | Fix |
|---|---|---|
| Names appear with the zone appended twice | Missing trailing dot on a fully qualified name | End FQDNs with a dot |
| Secondaries keep old data | SOA serial not increased | Raise the serial on every edit |
| Zone fails to load after edit | Syntax error in the zone file | Run named-checkzone before reload |
| Validation failures for a signed zone | Expired signatures or broken DS link | Use dnssec-policy and monitor key states |
A plain-language summary
Every time someone types a web address, a computer somewhere has to translate that name into a numeric address. BIND is one of the most common programs that does this translation. Some BIND servers hold the official list of addresses for a domain, like a company keeping its own phone directory.
Other BIND servers look up names on behalf of users, like a helpful receptionist who calls around until finding the right number and then remembers it for a while. It is free software that has run much of the Internet’s naming for decades.
An example from practice
A regional university runs its own DNS for about two hundred internal and public zones. It deploys two BIND 9 servers as authoritative primaries for the public domain and a separate pair of BIND resolvers for the campus network, so that a problem in one role cannot take down the other.
Public zones are signed with dnssec-policy, which rolls the zone signing keys automatically, and changes reach four secondaries through TSIG-protected incremental transfers within seconds of each reload. The resolvers use a view to answer staff with internal addresses for the student information system while outside users receive the public ones. Recursion is limited to campus address ranges. When a later audit scans the servers, it finds no open resolver and no unauthorized zone transfer, and administrators handle routine record changes with nsupdate instead of editing files by hand.