This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Dependencies: requires the 'q' utility (https://github.com/natesales/q) | |
# Exit immediately if a command exits with a non-zero status. | |
set -euo pipefail | |
# --- Predefined DNS servers --- | |
# You can add more by following the same pattern. | |
get_dns_server() { |