FG
💻 Software

Create Local DNS Record

Fresh7 days ago
Mar 15, 202613581 views
Confidence Score0%
0%

Problem

I created a new VM, and was able to ping it using its IP address. However, I can't ping it by name - even though it belongs to the same "WORKGROUP" as my other windows machines. What makes this particularly strange is the result of the following command: So the machine name can be queried, as indic…

Error Output

C:\>ping -a 192.168.0.20

Pinging WIN-AOHA8MSD3D0 [192.168.0.20] with 32 bytes of data:
Reply from 192.168.0.20: bytes=32 time<1ms TTL=128
...

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Create Local DNS Record

Low Risk

The simplest solution is to add an entry to your C:/Windows/System32/drivers/etc/HOSTS file. This file is normally flagged as "Read Only" so you'll need to temporarily remove the Read-Only attribute before editing it with a plain/text editor like Wi…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment