Positive and negative analysis of DNS
Brief introduction:
DNS (Domain Name System, Domain name system), a distributed database on the World wide Web as a mapping between domain names and IP addresses, can make it more convenient for users to access the Internet without having to remember the IP strings that can be read directly by the machine. The process of getting the IP address corresponding to the domain name through the domain name is called domain name resolution (or hostname resolution). DNS protocol runs on top of UDP protocol, using port number 53.
Lab environment: done on a linux6 virtual machine
Specific operation steps:
Forward parsing:
Mount the CD, install the package and edit the configuration file
Vim / etc/named.rfc1912.zones Editing configuration File
Copy the file for editing
Start the service and turn off the firewall:
Forward parsing successful
Reverse resolution:
Vim / etc/named.rfc1912.zones continue editing this configuration file
Reload named
Reverse parsing completed