đHow to Install and Configure a DNS On a Server
Good to know : What is DNS and real world examples
A DNS server is a server that is used to translate IP addresses into host names so that they are more efficient and easy to remember. Apart from that, DNS is used to identify computers, services, and other resources that can be reached via the Internet or other Internet Protocol (IP) networks.
A simple example of implementing DNS, for example, is when you want to access a website like Google. By configuring the DNS server, you only need to type the address google.com
, and not the IP 216.239.38.120
, but you can still access the IP above to display pages from google.com.
Configuration
Debian11- Router
Install Packages
The DNS server is a large database that functions to store all the IP addresses used in hostnames. This large database contains a lot of information about IP addresses so when you visit a particular website. For example, youtube.com, the DNS server will translate it to YouTube's IP address.
Copy File
Copy the db.local (File Forward) and db.127 (File Reverse) files into a new file. This is so that if there is a config error later, we still have a backup file.
Information :
File Forward functions for conversion from DNS to IP Address.
Meanwhile, the Reverse File functions to convert IP Address to DNS.
Edit File
Edit files one by one !!!
Restart DNS Service
Debian11- Server
Install WebServer (Apache2)
Windows- Client
Now for Windows we need to fill in the DNS and Domain that we are going to. The method is Network Connection> Properties> Internet Protocol Version 4> Advance> DNS
Configuration is Completed
Check DNS service by opening the website
rizwanpemula.com
Last updated