System DNS or Domain Name domain System name is a well-known protocol in the field of computer networks and especially the Internet. In this article from Fa Host’s knowledge base, we will fully examine what a DNS server is. Familiarity with dns is very important for business owners because dns is the bridge between the host and the domain, and if it is not exchanged and published, your site’s information will not be available to internet users! Before starting any explanation, let’s learn more about what dns is used for .
The job of DNS is to convert domain names like Google.com or Mizbanfa.net to IP. In this method, finding computers on the network is done through IP. In a general definition, it can be said that the task of is to translate names to IP. Each domain has one or more domain name servers that check its requests and the responsibility of managing the database records of this DNS server is the responsibility of an individual, group or a software. In addition, responding to these requests should be done at the same time as updating the database information based on domain changes or new domain registrations. Therefore, DNS is a distributed database.
What is Name Resolution?
When connecting to a site, your computer uses a DNS server to find the desired domain called Name Resolution.
What is a record?
If you enter the domain name correctly, the server will find the IP address of the domain and return it to your computer. When you connect to a network, the modem or router that assigns an IP to your device sends a set of important information, including one or more servers, to your computer to check and find IP sites. will help you
Setting domain dns records in CPanel, defining records in Direct Admin
What is the main function of a server?
servers that manage a specific domain are called Start Of SOA or Authority. Over time, the search results of hosts in SOA will be published among other DNS servers and will eventually be known throughout the Internet.
This publication is due to caching the results for a certain period of time in each server, which is called TTL or the lifetime of that cache; it happens. Whoever is responsible for a DNS can set its TTL. The TTL value will be different for each server.
What is a Zone File?
Have you ever wondered what Zone file is in the category? ISPs usually manage DNS servers. Your ISP’s Server is part of the network configuration that it receives via DHCP after the computer comes online. These servers are located on the side of your ISP’s data centers and they work like this:
- Search the domain name and IP address that you entered in your browser in their database.
- If the information is available, they make the necessary conversions.
- If there is no result in the search, contact another server, in which case the results of this reference will be kept in their cache for a limited period of time in order to respond faster when sending subsequent requests for the same domain name.
Now, if this search has no results, the server will send an error stating that this domain name is not valid or does not exist.
A server is set up with a file called Zone File for each domain, which contains reference records / Resource Records.
Where is the Zone File stored?
Information about the domain will be stored in the Zone file on the server, and each domain/subdomain has a Zone File.
The job of Zone File is to create a link between each domain and subdomain with its corresponding IP addresses. Most hosting companies that offer hosting and domain registration services provide you with a web interface for this purpose.
What is a domain?
Each DNS configuration in this file is called a record.
After buying a host from a reliable hosting company and registering a domain, the domain is connected to the host through NS (Name Server) or name servers. It is possible to use domain names instead of IP addresses using NSs.
- In a general definition, is for converting domain name to an IP address.
- The main task of is to communicate between IP addresses, system names of users and related websites and domains.
- Familiarity with the types of domain sites and their use can be very useful.
How does DNS work?
Now that you understand what DNS is, it is better to get to know its function in a deeper way. By entering the domain name address of a site, for example Mizbanfa.net, in your browser, the DNS system will convert this name into an IP address. For example, suppose the IP of the above domain is ***.**.*.***, and by using its domain name, we can access the desired site without needing to memorize these numbers.
Change domain in Iranic change domain in Fa host
What is IPv4?
The IP address that is currently used is IP version 4. IPv4 is a type of IP with 4 digits or 4 parts, each part can be from 0 to 255 numbers. This IP supports up to 32 bits and therefore it is being completed. Therefore, a new type of IP called IPv6 is being used, which is 8-byte and supports up to 128 bits. This IP is not fully used yet. In the picture below, you can see the function of a DNS Server.