There are three types of name servers:
- The primary master builds its database from files that were preconfigured on its hosts, called zone or database files. The name server reads these files and builds a database for the zone it is authoritative for.
- Secondary masters can provide information to resolvers just like the primary masters, but they get their information from the primary. Any updates to the database are provided by the primary.
- Caching name server - It gets all its answers to queries from other name servers and saves (caches) the answers. It is a non-authoritative server.
DNS Query Types
There are two types of queries issued:- Recursive queries received by a server forces that server to find the information requested or post a message back to the querier that the information cannot be found.
- Iterative queries allow the server to search for the information and pass back the best information it knows about. This is the type that is used between servers. Clients used the recursive query.
- Reverse - The client provides the IP address and asks for the name. In other queries the name is provided, and the IP address is returned to the client. Reverse lookup entries for a network 192.168.100.0 is "100.168.192.in-addr arpa".
DNS Transport protocol
DNS resolvers first attempt to use UDP for transport, then use TCP if UDP fails.The DNS Database
A database is made up of records and the DNS is a database. Therefore, common resource record types in the DNS database are:- A - Host's IP address. Address record allowing a computer name to be translated into an IP address. Each computer must have this record for its IP address to be located. These names are not assigned for clients that have dynamically assigned IP addresses, but are a must for locating servers with static IP addresses.
- PTR - Host’s domain name, host identified by its IP address
- CNAME - Host’s canonical name allows additional names or aliases to be used to locate a computer.
- MX - Host’s or domain’s mail exchanger.
- NS - Host’s or domain’s name server(s).
- SOA - Indicates authority for the domain
- TXT - Generic text record
- SRV - Service location record
- RP - Responsible person
- HINFO - Host information record with CPU type and operating system.
Page 3
< Previous Read More Next >
Page 3
< Previous Read More Next >
0 comments:
¿Te animas a decir algo?