Что такое DNS и нейм-серверы? Как домены соединяются с серверами
Когда вы запускаете сайт, вы неизбежно сталкиваетесь с «DNS» и «нейм-серверами». Понимать, что это такое и как они работают, необходимо для успешного управления сайтом.
В этой статье я объясняю эти основы так, чтобы новичкам было легко понять, и даю знания, нужные для плавной работы сайта.
The Complete Comparison of 32 WordPress Hosting Services: Best Picks for Individuals, Businesses, and Overseas Use

Когда вы думаете: «Хочу запустить WordPress» и ищете «рекомендации по WordPress», вы находите самые разные статьи — от тарифов для частных пользователей и вариантов для компаний и малого бизнеса до зарубежных серверов и недорогих хостингов. Честно говоря,
- какой сайт мне смотреть?
- Я хочу выбрать сервер просто и понятно.
- Сразу скажите, как начать WordPress.
don’t you feel that way? That is why this article carefully introduces handpicked recommendations from 32 hosting services for individuals, companies, domestic use, and overseas use. It is explained by the SEO lead of an app development company that uses hosting services every day.
Что такое DNS?
DNS, или Domain Name System, — это система, которую можно назвать адресной книгой интернета.
It converts the domain names we can easily remember into IP addresses that computers can easily understand. Because of this process, you can access a site simply by entering its website address into a browser.
Что такое сервер имен?
A name server is a server within the DNS система that keeps the correspondence between domain names and IP addresses.
When you закупка a domain, a name server is essential for that domain to function on the internet. Because of this, people all over the world can find your site.
Как настроить DNS и серверы имен
Зарегистрируйте домен
Первый шаг при запуске сайта — зарегистрировать нужное доменное имя.
Укажите сервер имен
После регистрации домена необходимо указать сервер имен, который будет использоваться для этого домена. При оформлении арендованного сервера хостинг-компания может предоставить информацию о сервере имен.
Настройте параметры DNS
Finally, you map the domain name to the IP address. This includes configuring A записьs and MX записьs.
Configure an A Запись
An A запись, or Address Запись, is the запись used to link a domain name to an IP address. For example, it is used when you associate your website’s domain name with the IP address of the web server.
- Access the DNS control panel: Log in to the control panel of the registrar managing the domain or the hosting service.
- Go to the DNS settings: Move to the DNS-related settings section, such as “DNS management” or “DNS settings.”
- Add the A record: Choose the option to add an A record and enter the required information.
Host name: Usually the domain name or subdomain name, such as www.
IP address: Enter the IP address of the server hosting the website. - Save the changes: Save the settings and apply the changes.
Configure an MX Запись
An MX запись, or Mail Exchange Запись, is the запись used to specify the mail server that handles emails received through the domain name.
- Access the DNS control panel: Again, log in to the control panel of the registrar or hosting service managing the domain.
- Go to the DNS settings: Move to the DNS-related settings section.
- Add the MX record: Choose the option to add an MX record and enter the required information.
Priority: If you configure multiple mail servers, this number determines which server receives mail first. The lower the number, the higher the priority.
Mail server address: Enter the domain name of the server that handles the mail, such as mail.example.com. - Save the changes: Save the settings and apply the changes.
Важные моменты и расходы
Время распространения изменений

После изменения сервера имен или настроек DNS требуется время, чтобы эти изменения отразились по всему интернету. Обычно стоит закладывать от нескольких часов до примерно 48 часов.
Security
Because there is also a risk of DNS hijacking, it is important to choose a trustworthy сервис.
Costs

Registering a domain usually costs a few hundred to a few thousand yen per year depending on the domain. Name server сервисs are often included in a rental server контракт, but if you use a specialized DNS сервис, additional charges may apply.
Summary
DNS и серверы имен являются базовыми элементами работы сайта.
By learning this знания, launching and managing a website becomes much smoother. I hope this статья will help with your website operations.