Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions internal/dns/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

The DNS Controller orchsterates the configuration needed to setup the ATE routing.

We want to resolve requests for <actor UUID>.actors.resources.substrate.ate.dev to the router service address.
We want to resolve requests for <actor id>.actors.resources.substrate.ate.dev to the router service address.

* Stub resolver mode: orchestrate running a CoreDNS instance with the UUID mapped to the router service address.
* Stub resolver mode: orchestrate running a CoreDNS instance with the actor id mapped to the router service address.

Cluster resources:

Expand All @@ -23,9 +23,9 @@ These are defined in manifests/ate-install/atenet-dns.yaml.
ConfigMap `ate-system:dns`:

```
# Match any 'A' query for a UUID pattern under actors.resources.substrate.ate.dev
# Match any 'A' query for an actor id pattern under actors.resources.substrate.ate.dev
template IN A actors.resources.substrate.ate.dev {
match "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\\.actors\\.resources\\.substrate\\.k8s\\.io\\.$"
match "^[a-z0-9]([-a-z0-9]*[a-z0-9])?\\.actors\\.resources\\.substrate\\.ate\\.dev\\.$"
answer "{{ .Name }} 60 IN A <router service address>"
}
```
Expand Down
Loading