The Domain Name System (DNS)
The Domain Name System is a distributed database primarily intended for translating between domain names and IP addresses. In a typical Linux-based installation:
- A program needing to perform a DNS query does so using a library called a DNS resolver.
- The DNS resolver passes the query to one of the nameservers listed in
- If necessary, this first nameserver contacts other nameservers to obtain the required information.
Each domain usually has two or three authoritative nameservers that have delegated authority to give definitive answers about that domain. Usually one of these is a primary master (with an original copy of the zone data), and the other or others are secondary masters (which obtain their data from the primary master).
- Configure BIND as a slave DNS server
- Convert an IP address to the corresponding domain name in C
- Reset the serial number of a DNS zone