A CloudStack account can be associated with a network domain.
Instances created within this account will have its DNS suffix automatically set to the configured network domain. CloudStack admins can create new domains from the ‘Domains > Add New Domain’ tab. DNS domains which are associated with isolated networks are not queriable from the Internet directly. This is because, the virtual router that provides the DNS services is not known to the end users.
Instead, we can expose the DNS services provided by the virtual router to the Internet for a specific domain by creating a dedicated VM instance which acts as a forwarding DNS server.
In this example, we create a new CloudStack domain called “demo.local” and allow external DNS lookups.