Dns

From x-cmd/x-cmd · View interactive version

Dns is an AI agent skill from the GitHub repository x-cmd/x-cmd. DNS configuration management utilities. View current DNS settings, list available DNS servers, and refresh DNS cache on the system. **Dependency**: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

How to use this skill

Skill file

x dns - DNS Configuration Utilities

DNS (Domain Name System) configuration management utilities.


Quick Start

# Show current DNS configuration
x dns

# List available DNS servers
x dns ls

# Refresh DNS cache
x dns refresh

Features


Commands

| Command | Description |

|---------|-------------|

| x dns | Show current DNS configuration (default) |

| x dns current | View detailed current DNS settings |

| x dns ls | List all available DNS servers |

| x dns ls --json | List DNS servers in JSON format |

| x dns ls --yml | List DNS servers in YAML format |

| x dns ls --csv | List DNS servers in CSV format |

| x dns refresh | Refresh system DNS cache |


Examples

View DNS Configuration

# Show current DNS
x dns

# View detailed settings
x dns current

List DNS Servers

# List all available DNS servers
x dns ls

# JSON format
x dns ls --json

# YAML format
x dns ls --yml

# CSV format
x dns ls --csv

Refresh DNS Cache

# Flush and refresh DNS cache
x dns refresh

Platform Notes


Related

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.