diff --git a/internal/dns/readme.md b/internal/dns/readme.md index 5209cc6..91c1fda 100644 --- a/internal/dns/readme.md +++ b/internal/dns/readme.md @@ -2,9 +2,9 @@ The DNS Controller orchsterates the configuration needed to setup the ATE routing. -We want to resolve requests for .actors.resources.substrate.ate.dev to the router service address. +We want to resolve requests for .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: @@ -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 " } ```