TrueNAS SCALE Version DocumentationThis content follows the TrueNAS SCALE 23.10 (Cobia) releases. Use the Product and Version selectors above to view content specific to different TrueNAS software or major version.
DNS
2 minute read.
Last Modified 2024-03-19 08:38 EDTThe SCALE CLI guide is a work in progress! New namespace and command documentation is continually added and maintained, so check back here often to see what is new!
The dns namespace has one command that is based on functions found in the SCALE API and web UI. It displays the current DNS nameserver IP addresses configured on the system.
You can enter commands from the main CLI prompt or from a network namespace prompt.
The query
command returns the results of the query-filter and query-option for the dns namespace.
Enter as either a simple command to display the current DNS nameserver IP addresses configured on the system, or enter a command string to customize the output returned.