Examples
private-names
The environment's names in a private DNS zone: every machine's name and aliases also resolve under corp.internal (web.corp.internal, www.corp.internal, client.corp.internal). The platform's own DNS serves them where it has one (a Route 53 private hosted zone on AWS, an Azure private DNS zone, a Cloud DNS private zone on Google Cloud, a private view on Oracle Cloud, Docker's DNS on the Docker targets); every VM's hosts file carries them too.
The example's folder, with the files its spec names: examples/private-names.
version: 1
name: private-names
dns:
private: true
domain: corp.internal
networks:
office: { cidr: 10.84.0.0/24 }
machines:
web:
os: debian@12
networks: { office: 10 }
aliases: [www]
ports: { web: { port: 80, protocol: http } }
app:
image: "nginx:1.27"
steps: [{ run: provision/web.sh }]
# A client: it reaches the web server by its names in the zone. Debian with curl, built the
# same way as a container or a VM.
client:
os: debian@12
networks: { office: 20 }
app:
steps: [{ run: provision/client.sh }]
checks:
- name: the web server answers at its alias in the private zone
from: client
http: http://www.corp.internal/
- name: the client's name resolves in the private zone
from: web
exec: getent hosts client.corp.internal
Targets
docker, hosted, docker-vm, cloud-docker, vagrant, proxmox, esxi, cloud-vm. See targets for what each means.
Checks
The spec's own:
- the web server answers at its alias in the private zone (
http) - the client's name resolves in the private zone (
exec)
Plus the checks Isoloom derives from the machines' ports and the reach rules. See checks.