How to Eliminate the CMD Error “DNS server not authoritative for zone”



RECOMMENDED: Click here to fix Windows errors and optimize system performance

When users try to use a certain command in CMD, they may encounter the “DNS Server not authoritative for zone” error. In fact, this is a common problem. When this error occurs, it means that the affected users cannot execute commands that do not invoke the built-in utilities.

What causes the `DNS server not authoritative for zone` message?

The error `DNS server not authoritative for zone` may be caused by a possible hard disk sector corruption. The cmd error “DNS Server Not Authoritative for Zone” also occurs if the system files are corrupted. The error also occurs when running a Python command, even if the DNS settings are incorrectly configured, the error may persist.

  • Damaged hard disk
  • System files are corrupted
  • Incorrectly typed commands
  • Incorrectly configured DNS settings

How to fix the “DNS server is not authoritative for the zone” error?



September 2021 Update:

We now recommend using this tool for your error. Additionally, this tool fixes common computer errors, protects you against file loss, malware, hardware failures and optimizes your PC for maximum performance. You can fix your PC problems quickly and prevent others from happening with this software:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.

download



sfc-command

Run a scan to check the system files

Some users have confirmed that running a system file scan at the command line has fixed the error.

  1. To do this in Win 10, press the Windows key + the X shortcut key.
  2. Press Command Prompt (Admin) to open the CP window.
  3. Before running the SFC scan, type `DISM.exe /Online /Cleanup-image /Restorehealth` at the command prompt and press Return.
  4. Then type `sfc /scannow` at the command line and press Enter.
  5. Wait for the SFC scan to complete, which may take about 30 minutes or more.
  6. If the results of the scan show that Windows resource protection has fixed something, restart your desktop or laptop.

Setting up a new command-line shortcut

Some users have also fixed the “DNS server does not authorize for zone” error by setting up new command-line shortcuts.

  1. To do this, right-click on the desktop and select New -> Shortcut.
  2. Then enter “%COMSPEC%” in the Enter Location text box.
  3. Click the Next button.
  4. Enter “Command Prompt” in the Enter Name text box.
  5. Select the Done option to add a shortcut to the desktop.

Open the command prompt from its folder

The “DNS server is not authoritative for the zone” error may be caused by users accessing the Command Prompt from a non-default shortcut, such as the Quick Launch toolbar. So try opening the Command Prompt from its folder.

  1. Press the Windows + S key combination.
  2. Type “cmd” in the search box that opens.
  3. Right-click on the command line and select “Open File Location”, which will open the folder.
  4. Right-click on the command line in the Windows system folder and select “Run as administrator”.



RECOMMENDED: Click here to troubleshoot Windows errors and optimize system performance

Frequently Asked Questions

The "DNS server is not authoritative for the zone" error usually occurs when Windows users try to use certain CMD or Phyton commands via the terminal. In general, this problem prevents affected users from running commands that do not use the built-in utilities.

  1. Open the DNS manager.
  2. In the console tree, right-click on the zone and select Properties.
  3. Click the Name Servers tab.
  4. Click Add.
  5. Specify additional DNS servers by name and IP address and then click Add to add them to the list.

  1. Fix the address of your DNS server.
  2. Clear your DNS cache and reset your IP.
  3. Update your network adapter driver.
  4. Restart your modem and router.

DNS is a server that translates website addresses so that your browser can connect to them. You might be able to solve your DNS problems by examining your current connection, clearing your DNS cache, disabling additional connections, changing the default DNS server on your computer, or even resetting your router.