DNS Settings
  • 1 minute to read
  • Dark
    Light
  • PDF

DNS Settings

  • Dark
    Light
  • PDF

Article Summary

Configure the DNS servers that this instance will query using the command orbit dns.

mt4adm@vmdf-giskard:~$ sudo orbit dns --help
Usage: orbit dns

The Domain Name System (DNS) management tools

Flags:
      --help                   Show context-sensitive help.

  -s, --servers=SERVERS,...    Domain servers list
      --search=SEARCH,...      The domain search list
  -d, --domain=STRING          Domain name
      --force                  Force the command execution, never prompt
      --show

You can list which servers are active by using the –show argument.

mt4adm@vmdf-giskard:~$ sudo orbit dns --show
DNS configuration
DNS Servers:
        - 172.17.182.193
Domain: mshome.net
Search:
        - mshome.net

To configure the DNS server string you can use the other arguments. The DNS servers will be applied immediately.

mt4adm@vmdf-giskard:~$ sudo orbit dns  
    --servers=172.17.182.10,172.17.182.11  
    --search=mshome.net  
    --domain=mshome.net
Are you sure you want to proceed: y
Done!
No errors reported

Was this article helpful?