Error Message:

The DNS server encountered invalid domain name 'name' in zone file filename at line number. Although the DNS server continues to load, ignoring this name, it is strongly recommended that you either correct the name or remove the resource record from the zone file, which is located in the %SystemRoot%\\System32\\Dns directory.


Domain names must conform to certain naming restrictions. Domain names allow the use of the characters "a-z", "A-Z", "0-9", and the dash, or minus, sign (-). They can contain uppercase and lowercase characters, and they are not case-sensitive. Identical names are not allowed. The maximum length of domain names is 254 characters.

User Action:

Edit the database file:

  1. In Windows Explorer, go to the Systemroot \Wystem32\Dns folder.

  2. Double-click the specified file, and then select Notepad to open it.

  3. Edit the specified line to correct the domain name.

  4. Save and close the database file.

  5. Stop and restart DNS.