BIND What is BIND BIND stand for Berkley
BIND
What is BIND? BIND stand for Berkley Internet Naming Daemon. It was developed at Berkley and is the most common Unix DNS naming Daemon.
Alternatives to BIND has recently become the center of several security issues. As a result several other software packages have become some what popular. Tiny. DNS Custom. DNS
Configuring BIND The primary configuration file for BIND is /etc/named. conf. This file tells BIND how to behave and where the datafiles are.
Sample named. conf options { directory "/var/named"; query-source address * port 53; }; zone ". " IN { type hint; file "caching-example/named. ca"; };
Named. conf con’t zone "localhost" IN { type master; file "caching-example/localhost. zone"; allow-update { none; }; }; zone “bobo. com" { type master; notify no; file “bobo. com"; };
Zone Files Each DNS domain has it’s own database file. This file is referred to as a zone file. This zone file contains the actual IP to DNS mappings as well as all of the configuration setting for the domain.
Domain Settings $TTL 86400 bobo. com. IN SOA bobo. com. ( 1001 ; Serial 1800 ; Refresh after 1/2 hour 3600 ; Retry after 1 hour 604800 ; Expire after 1 week 86400) ; Minimum TTL of 1 day
Zone File Con’t ; Name Servers IN NS MX 0 MX 10 ; Real Machines bobo. com. IN dns. bobo. com. IN ftp. bobo. com. IN www. bobo. com. IN mail. bobo. com. IN dns. bobo. com. 10. 0. 1 mail. bobo. com. 10. 0. 1 A A A 10. 0. 1 10. 0. 2 10. 0. 3 10. 0. 4 10. 0. 5
DNS Querying Tools Whois – Reports information stored in the DNS database. dig – Queries the DNS for specific types of information. Nslookup – Similar to dig
- Slides: 10