Manually adding DNS resolution

委员 马 40 Reputation points
2024-05-30T06:13:19.08+00:00

Why is there no separate dns tag... How to manually add a specified DNS resolution and what should be noted.

Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,363 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jing Zhou 7,185 Reputation points Microsoft Vendor
    2024-05-30T06:22:42.9933333+00:00

    Hello,

    Thank you for posting in Q&A forum.

    We suggest that you manually specify specific DNS resolution by modifying the hosts file in the operating system. In the Windows operating system, the hosts file is located in the C: \ Windows \ System32 \ drivers \ etc directory.

    Firstly, we use a text editor (such as Notepad++) to open the host file,

    Next, at the end of the hosts file, enter the DNS resolution to be set in the format of "IP address domain name".

    For example: 192.168.1.1 example.com. Save after editing. Close the text editor.

    It is worth noting that after editing, we need to enter the command ipconfig/flushdns at the command prompt to refresh the local DNS cache

    Additionally, modifying the hosts file may affect the normal network connection of the system, so please operate with caution. If you need further assistance or have any other questions, please let me know.

    Best regards,

    Jill Zhou


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.