Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Positive and negative analysis of DNS

Shulou Source: shulou.com Published: 2022-06-01 03:06:20 10月05日 Update

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

Tags: Domain name file configuration address success no host Internet CD distributed slogan data database machine step environment user profile system software Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Shulou Tech Info Huawei NVidia MySQL