Windows dns server authoritative

DNS server not authoritative for zone error on Command Prompt [FIX]

The Command Prompt is Windows’ built-in command-line utility, which is otherwise DOS in a window. Some users have said that a DNS server not authoritative for zone error message appears within Command Prompt when they enter commands.

One user stated on the dedicated forum thread.

Every time I try and enter a location on my computer through the command prompt,
e.g. C:\Users\Owner\workspace\swarm. It keeps returning with “DNS Server not authoritative for this zone”, what should I do?

Learn how to solve this error by following the steps below.

How do I fix the DNS Server not Authoritative for Zone error?

1. Run a System File Checker Scan

  1. Some users have confirmed that running a System File Checker scan within the Command Prompt fixed the error for them. To do that in Win 10, press the Windows key + X hotkey.
  2. Click Command Prompt (Admin) to open the CP window.
  3. Before running an SFC scan, enter ‘DISM.exe /Online /Cleanup-image /Restorehealth’ in the Prompt and press Return.
  4. Then input ‘sfc /scannow’ in the Prompt, and press the Enter keyboard key.
  5. Wait for the SFC scan to finish, which might take about 30 minutes or longer. If the scan results say Windows Resource Protection fixed something, restart the desktop or laptop.

2. Open the Command Prompt From its Folder

  1. The “DNS server not authoritative for zone” error can be due to users running it from non-standard shortcut locations, such as the Quick Launch bar. So, try opening the Command Prompt from its folder by pressing the Windows key + S hotkey.
  2. Enter ‘cmd’ in the search box that opens.
  3. Right-click the Command Prompt to select Open file location, which opens the folder shown directly below.
  4. Right-click Command Prompt in the Windows System folder and select Run as administrator.

3. Set up a New Command Prompt Shortcut

  1. Some users have also fixed the “DNS server not authoritative for zone” error by setting up new Command Prompt shortcuts. To do that, right-click the desktop and select New >Shortcut.
  2. Then enter ‘%COMSPEC%’ in the Type the location text box.
  3. Press the Next button.
  4. Enter ‘Command Prompt’ in the Type a name text box.
  5. Select the Finish option to add the shortcut to the desktop as in the shot below.
  • READ ALSO: 7 best-tabbed command line tools for Windows 10

4. Who Needs the Command Prompt?

Remember that there are numerous alternatives to the Command Prompt. For starters, users can utilize PowerShell in Windows 10 instead. Enter ‘PowerShell’ in Cortana’s search box and click Windows PowerShell to open that command-line utility.

Furthermore, there are also numerous third-party Command Prompt alternatives. Console 2, PowerCMD, and Terminal Windows are just three notable third-party software alternatives. Those third-party command-line utilities include tabs and more customization settings than the built-in Command Prompt.

So, users who still can’t fix the DNS server not authoritative for zone can check out some of those Command Prompt alternatives.

Читайте также:  Kak udalit windows powershell

RELATED ARTICLES TO CHECK OUT:

Общие сведения о понятиях DNS Reviewing DNS Concepts

Область применения. Windows Server 2016, Windows Server 2012 R2, Windows Server 2012 Applies To: Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

Служба доменных имен (DNS) — это распределенная база данных, представляющая пространство имен. Domain Name System (DNS) is a distributed database that represents a namespace. Пространство имен содержит все сведения, необходимые любому клиенту для поиска любого имени. The namespace contains all of the information needed for any client to look up any name. Любой DNS-сервер может отвечать на запросы о любом имени в своем пространстве имен. Any DNS server can answer queries about any name within its namespace. DNS-сервер отвечает на запросы одним из следующих способов: A DNS server answers queries in one of the following ways:

  • Если ответ находится в кэше, он отвечает на запрос из кэша. If the answer is in its cache, it answers the query from the cache.
  • Если ответ находится в зоне, размещенной на DNS-сервере, он отвечает на запрос из своей зоны. If the answer is in a zone hosted by the DNS server, it answers the query from its zone. Зона — это часть дерева DNS, хранящаяся на DNS-сервере. A zone is a portion of the DNS tree stored on a DNS server. Когда DNS-сервер размещает зону, он является полномочным для имен в этой зоне (то есть DNS-сервер может отвечать на запросы для любого имени в зоне). When a DNS server hosts a zone, it is authoritative for the names in that zone (that is, the DNS server can answer queries for any name in the zone). Например, сервер, на котором размещена зона contoso.com, может отвечать на запросы по любому имени в contoso.com. For example, a server hosting the zone contoso.com can answer queries for any name in contoso.com.
  • Если сервер не может ответить на запрос из своего кэша или зон, он запрашивает у других серверов ответ. If the server cannot answer the query from its cache or zones, it queries other servers for the answer.

Важно понимать основные возможности DNS, такие как делегирование, рекурсивное разрешение имен и интегрированные в Active Directory зоны DNS, так как они непосредственно влияют на структуру Active Directory логической структуры. It is important to understand the core features of DNS, such as delegation, recursive name resolution, and Active Directory-integrated DNS zones, because they have a direct impact on your Active Directory logical structure design.

Дополнительные сведения о DNS и службах домен Active Directory (AD DS) см. в разделе DNS и AD DS. For more information about DNS and Active Directory Domain Services (AD DS), see DNS and AD DS.

Делегирование Delegation

Чтобы DNS-сервер ответил на запросы о любом имени, он должен иметь прямой или косвенный путь к каждой зоне в пространстве имен. For a DNS server to answer queries about any name, it must have a direct or indirect path to every zone in the namespace. Эти пути создаются с помощью делегирования. These paths are created by means of delegation. Делегирование — это запись в родительской зоне, которая содержит сервер доменных имен, полномочный для зоны на следующем уровне иерархии. A delegation is a record in a parent zone that lists a name server that is authoritative for the zone in the next level of the hierarchy. Делегирование позволяет серверам в одной зоне ссылаться на клиентов на серверы в других зонах. Delegations make it possible for servers in one zone to refer clients to servers in other zones. На следующем рисунке показан один пример делегирования. The following illustration shows one example of delegation.

Читайте также:  Codec 64 бита для windows 10

Корневой DNS-сервер размещает корневую зону, представленную точкой (. The DNS root server hosts the root zone represented as a dot ( . ). ). Корневая зона содержит делегирование для зоны на следующем уровне иерархии — в зоне com. The root zone contains a delegation to a zone in the next level of the hierarchy, the com zone. Делегирование в корневой зоне сообщает корневому серверу DNS, что для поиска зоны com необходимо обратиться к серверу com. The delegation in the root zone tells the DNS root server that, to find the com zone, it must contact the Com server. Аналогично, делегирование в зоне com сообщает серверу com, что для поиска зоны contoso.com необходимо обратиться к серверу Contoso. Likewise, the delegation in the com zone tells the Com server that, to find the contoso.com zone, it must contact the Contoso server.

Делегирование использует два типа записей. A delegation uses two types of records. В записи ресурса сервера имен (NS) содержится имя полномочного сервера. The name server (NS) resource record provides the name of an authoritative server. Записи ресурсов узла (A) и узла (AAAA) предоставляют адреса IP версии 4 (IPv4) и IP версии 6 (IPv6) полномочного сервера. Host (A) and host (AAAA) resource records provide IP version 4 (IPv4) and IP version 6 (IPv6) addresses of an authoritative server.

Эта система зон и делегирования создает иерархическое дерево, представляющее пространство имен DNS. This system of zones and delegations creates a hierarchical tree that represents the DNS namespace. Каждая зона представляет слой в иерархии, и каждое делегирование представляет собой ветвь дерева. Each zone represents a layer in the hierarchy, and each delegation represents a branch of the tree.

Используя иерархию зон и делегирования, корневой сервер DNS может найти любое имя в пространстве имен DNS. By using the hierarchy of zones and delegations, a DNS root server can find any name in the DNS namespace. Корневая зона включает делегирования, которые напрямую или косвенно переводят на все другие зоны в иерархии. The root zone includes delegations that lead directly or indirectly to all other zones in the hierarchy. Любой сервер, который может запрашивать корневой DNS-сервер, может использовать сведения в делегировании для поиска любого имени в пространстве имен. Any server that can query the DNS root server can use the information in the delegations to find any name in the namespace.

Рекурсивное разрешение имен Recursive name resolution

Рекурсивное разрешение имен — это процесс, с помощью которого DNS-сервер использует иерархию зон и делегирований для реагирования на запросы, для которых он не является полномочным. Recursive name resolution is the process by which a DNS server uses the hierarchy of zones and delegations to respond to queries for which it is not authoritative.

В некоторых конфигурациях DNS-серверы включают корневые ссылки (то есть список имен и IP-адресов), которые позволяют им запрашивать корневые серверы DNS. In some configurations, DNS servers include root hints (that is, a list of names and IP addresses) that enable them to query the DNS root servers. В других конфигурациях серверы пересылают все запросы, которые они не могут ответить на другой сервер. In other configurations, servers forward all queries that they cannot answer to another server. Пересылка и корневые указания являются методами, которые DNS-серверы могут использовать для разрешения запросов, для которых они не являются полномочными. Forwarding and root hints are both methods that DNS servers can use to resolve queries for which they are not authoritative.

Разрешение имен с помощью корневых ссылок Resolving names by using root hints

Корневые ссылки позволяют любому DNS-серверу размещать корневые серверы DNS. Root hints enable any DNS server to locate the DNS root servers. После того как DNS-сервер обнаружит корневой сервер DNS, он может разрешить любой запрос для этого пространства имен. After a DNS server locates the DNS root server, it can resolve any query for that namespace. На следующем рисунке показано, как DNS разрешает имя с помощью корневых ссылок. The following illustration describes how DNS resolves a name by using root hints.

Читайте также:  Сервер баз данных не обнаружен 1с postgresql windows

В этом примере происходят следующие события: In this example, the following events occur:

  1. Клиент отправляет рекурсивный запрос на DNS-сервер для запроса IP-адреса, соответствующего имени ftp.contoso.com. A client sends a recursive query to a DNS server to request the IP address that corresponds to the name ftp.contoso.com. Рекурсивный запрос указывает, что клиент хочет получить окончательный ответ на запрос. A recursive query indicates that the client wants a definitive answer to its query. Ответ на рекурсивный запрос должен быть допустимым адресом или сообщением, указывающим, что адрес не найден. The response to the recursive query must be a valid address or a message indicating that the address cannot be found.
  2. Так как DNS-сервер не является полномочным для имени и не имеет ответа в своем кэше, DNS-сервер использует корневые ссылки для поиска IP-адреса корневого сервера DNS. Because the DNS server is not authoritative for the name and does not have the answer in its cache, the DNS server uses root hints to find the IP address of the DNS root server.
  3. DNS-сервер использует итеративный запрос, чтобы запросить у корневого сервера DNS разрешение имени ftp.contoso.com. The DNS server uses an iterative query to ask the DNS root server to resolve the name ftp.contoso.com. Итеративный запрос указывает, что сервер будет принимать ссылку на другой сервер вместо определенного ответа на запрос. An iterative query indicates that the server will accept a referral to another server in place of a definitive answer to the query. Так как имя ftp.contoso.com заканчивается на метку com, корневой сервер DNS возвращает ссылку на COM-сервер, на котором размещена зона com. Because the name ftp.contoso.com ends with the label com, the DNS root server returns a referral to the Com server that hosts the com zone.
  4. DNS-сервер использует итеративный запрос, чтобы запросить у COM-сервера разрешение имени ftp.contoso.com. The DNS server uses an iterative query to ask the Com server to resolve the name ftp.contoso.com. Так как имя ftp.contoso.com заканчивается именем contoso.com, com-сервер возвращает ссылку на сервер Contoso, на котором размещена зона contoso.com. Because the name ftp.contoso.com ends with the name contoso.com, the Com server returns a referral to the Contoso server that hosts the contoso.com zone.
  5. DNS-сервер использует итеративный запрос, чтобы попросить сервера Contoso разрешить имя ftp.contoso.com. The DNS server uses an iterative query to ask the Contoso server to resolve the name ftp.contoso.com. Сервер Contoso находит ответ в данных зоны, а затем возвращает ответ на сервер. The Contoso server finds the answer in its zone data and then returns the answer to the server.
  6. Затем сервер возвращает результат клиенту. The server then returns the result to the client.

Разрешение имен с помощью пересылки Resolving names by using forwarding

Пересылка позволяет маршрутизировать разрешение имен через определенные серверы вместо использования корневых ссылок. Forwarding enables you to route name resolution through specific servers instead of using root hints. На следующем рисунке показано, как DNS разрешает имя с помощью пересылки. The following illustration describes how DNS resolves a name by using forwarding.

В этом примере происходят следующие события: In this example, the following events occur:

Оцените статью