Get DNS Cache via Commandline

Description

This script retrieves the local DNS cache using ipconfig.

Overview

Runs the ipconfig command to show the local DNS cache.

Dependencies

  • None

Operating Systems

  • Windows

Example Output

Windows IP Configuration

    prod.detectportal.prod.cloudops.mozgcp.net
    ----------------------------------------
    Record Name . . . . . : prod.detectportal.prod.cloudops.mozgcp.net
    Record Type . . . . . : 1
    Time To Live  . . . . : 112
    Data Length . . . . . : 4
    Section . . . . . . . : Answer
    A (Host) Record . . . : 34.107.221.82
Scroll to Top