Skip to main content
The dns family changes resolver configuration on the operator machine only. It sends nothing to the Gateway and changes no Route, Route scope, or private DNS record. Use it when a Mac must reach Route domains at a chosen address instead of through Orbit VPN DNS. Private DNS describes resolver selection on managed Nodes and the Router addresses that Orbit VPN DNS returns.

Commands

orbit dns:resolve

Send every name under a development TLD, or one Route name, to an IP address. --reset removes the override.
The command runs only on macOS with Homebrew dnsmasq installed. It writes address=/<name>/<target> to ~/.config/orbit/dnsmasq.d/<name>.conf and includes that directory from the Homebrew dnsmasq.conf. It installs /etc/resolver/<name> with nameserver 127.0.0.1 and restarts the Homebrew dnsmasq service. Then it checks that a lookup under the name returns the target, and flushes the macOS resolver cache. Writing the resolver file and restarting the service use sudo, so the command can ask for your administrator password. An override covers the name and every name under it. When a TLD override and a Route name override both exist, the Route name override answers its name, and the TLD override answers the other names under the TLD. Resetting one override leaves the other in place. Point a Route name at the Cluster Router address to keep the Router path for that Route. Point it at the workload Node’s address to reach the Route there directly. Repeating an identical set or reset changes nothing. A failure never overwrites unrelated resolver configuration. status is resolved, already_resolved, reset, or already_absent. restart_browser is true when the command changed the mapping.
Restart open browsers after a change. A browser reuses an open connection and keeps sending traffic to the old address until it reconnects.
  • node sets a Node TLD with node:add --tld. Generated Route domains use it when no active Cluster TLD applies.
  • route lists the Route domains.