scutil:tldr:bc002
The command "scutil --dns" is used to view and modify the DNS configuration on a macOS system using the scutil (System Configuration Utility) command-line tool.
Here's a breakdown of the command:
-
"scutil": This is the command-line tool for interacting with the System Configuration framework on macOS. It allows you to manage network settings, including DNS configuration.
-
"--dns": This is an argument passed to the scutil command, instructing it to display the DNS configuration information.
When you execute the "scutil --dns" command in the terminal, it will retrieve and display the current DNS configuration including the primary DNS server, search domains, DNS resolution order, and other relevant details. This information can be useful for troubleshooting network connectivity issues or verifying your DNS settings.