This documentation has moved
This content now lives on the Virtana documentation site and is no longer updated. This site will be taken offline on January 31, 2027.
Go to the current documentation and update your bookmarks.
metadata
For example, you wish to enable the following options for your virtual machine:
- Forward DNS queries for
*.example.comand*.example.orgto the203.0.113.4and203.0.113.5resolvers - Forward DNS queries for
*.myorg.example.netto the198.51.100.253resolver - Forward all other queries to the
192.0.2.2and192.0.2.3resolvers - Grant access to the private SSH keys associated with
public_key1andpublic_key2(through theccuseraccount)
To configure the options, create the following JSON object:
{
"dns-forwarding": [
{
"dns-search": ["example.com", "example.org"],
"dns-servers": ["203.0.113.4", "203.0.113.5"]
},
{
"dns-search": ["myorg.example.net"],
"dns-servers": ["198.51.100.253"]
}
],
"dns-default-servers": ["192.0.2.2", "192.0.2.3"],
"sshkeys": [ "public_key1", "public_key2"]
}