carlos / platform Public

console: route-less domains keep the steering-host CNAME

8a3d302 rulings after Astra R2. Drop the registry-apex guess: a route row
is not DNS publication. A custom domain with no served route of its own
(first-route claim, alias of another custom name, catch-all, app-page
custom route) keeps today's CNAME at edge.<apps-domain>, now also under
configured ingress, where A records remain only for apex domains. The
CNAME following steering rather than the ingress set is accepted: in G3
the ingress set is the same fixed boxes steering publishes. Catch-all
heads now carry cname_target (R2 P2); census digest re-pinned for it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev dfc74b5fc625f3b5ec6873614234ce480c3a015d parent e891b48
7 files changed, +96 −149
  • internal/console/apidomains.go +1 −1
  • internal/console/apphost_guidance_test.go +60 −72
  • internal/console/appsettings.go +1 −1
  • internal/console/domaincatchall.go +5 −6
  • internal/console/server.go +12 −1
  • internal/console/view.go +16 −67
  • internal/provision/plan9_b8_census_test.go +1 −1

CI passed — run details

Intent

Human

<paseo-system version="1" kind="agent-message" source-agent-id="8a3d302a-eac7-407c-b61c-f5ccc66b5544" message-id="183663a4-24d1-432c-994e-fa1585a608d2"> Agent manager 8a3d302: rulings in REPORT.md. (1) Route-less rows fall back to CNAME at the steering host edge.&lt;apps-domain&gt;, today&apos;s advice, even under ingress; drop the apex guess; verified-apex is a follow-up. (2) R2 P1 accepted (in G3 the ingress set equals the fixed IPs steering publishes). (3) Astra R3 on the final diff; no P1 + CI green = merge under standing approval and send the SHA; a P1 = stop and tell me. </paseo-system>

diff --git a/internal/console/apidomains.go b/internal/console/apidomains.go
index ba3c6bf25..d1bf9e2ca 100644
--- a/internal/console/apidomains.go
+++ b/internal/console/apidomains.go
@@ -1463,7 +1463,7 @@ func (s *Server) domainItem(ctx context.Context, c domains.Claim, readings map[s
item.Guidance, item.Detail = s.configuredRegionalGuidance(ctx, c)
item.Records = delegationRecords(c.Host, c.Wildcard, s.delegationZone)
case item.DNSStatus != "pointing" && item.DNSStatus != "unresolved":
- bound := s.bindAppHost(ctx, targets, c.Host, c.Account, c.App, c.Route)
+ bound := targets.forApp(c.Host, c.Route)
item.Guidance = domainGuidance(c.Host, bound)
// The structured form of the SAME advice, emitted under exactly the
// same condition so the two can never disagree about whether there is
diff --git a/internal/console/apphost_guidance_test.go b/internal/console/apphost_guidance_test.go
index 3a689c3c7..75095644b 100644
--- a/internal/console/apphost_guidance_test.go
+++ b/internal/console/apphost_guidance_test.go
@@ -57,7 +57,8 @@ func TestDNSTargetsPublishAppHostsWhenSteering(t *testing.T) {
{"self-hosted: no apps domain", &Server{}, "", false, ""},
{"apps domain without steering", &Server{cfg: Config{AppsDomain: "oncarlos.test"}}, "", false, ""},
{"steering armed", &Server{cfg: Config{AppsDomain: " OnCarlos.test "}, steeringHost: "edge.oncarlos.test"}, "oncarlos.test", false, "edge.oncarlos.test"},
- {"steering armed with configured ingress", &Server{cfg: Config{AppsDomain: "oncarlos.test", RegionIngress: []string{ingressIP}}, steeringHost: "edge.oncarlos.test"}, "oncarlos.test", true, ""},
+ {"steering armed with configured ingress keeps the steering host", &Server{cfg: Config{AppsDomain: "oncarlos.test", RegionIngress: []string{ingressIP}}, steeringHost: "edge.oncarlos.test"}, "oncarlos.test", true, "edge.oncarlos.test"},
+ {"configured ingress without an apps domain drops steering as before", &Server{cfg: Config{RegionIngress: []string{ingressIP}}, steeringHost: "edge.oncarlos.test"}, "", true, ""},
} {
t.Run(c.name, func(t *testing.T) {
c.s.foldEdgeIPs = func(context.Context) []string { return nil }
@@ -169,9 +170,9 @@ func TestDomainSurfacesAgreeOnTheAppHost(t *testing.T) {
attachShopClaim(t, fx, sqid, "titogo", "shop.example.com", instHost)
attachShopClaim(t, fx, sqid, "titogo", "first.example.com", "")
attachShopClaim(t, fx, sqid, "titogo", "example.com", instHost)
- // first.example.com has no route yet: no served name to CNAME at, so it
- // keeps today's configured-ingress advice.
- want := map[string]string{"shop.example.com": instHost, "first.example.com": "", "example.com": ""}
+ // first.example.com has no route yet: no served name of its own, so it
+ // keeps today's CNAME at the steering host, configured ingress or not.
+ want := map[string]string{"shop.example.com": instHost, "first.example.com": "edge.oncarlos.test", "example.com": ""}
code, _, out := rawReq(t, http.MethodGet, domainsURL(fx, "bab", "titogo"), member, "")
if code != http.StatusOK {
@@ -202,7 +203,7 @@ func TestDomainSurfacesAgreeOnTheAppHost(t *testing.T) {
if d.CNAMETarget != w {
t.Errorf("%s cname_target = %q, want %q", d.Host, d.CNAMETarget, w)
}
- if w != "" && !strings.HasPrefix(d.Guidance, "Point a CNAME for "+d.Host+" at "+w+",") {
+ if w != "" && !strings.HasPrefix(d.Guidance, "Point a CNAME for "+d.Host+" at "+w) {
t.Errorf("%s guidance = %q", d.Host, d.Guidance)
}
if w == "" && strings.Contains(d.Guidance, "CNAME for") {
@@ -226,9 +227,6 @@ func TestDomainSurfacesAgreeOnTheAppHost(t *testing.T) {
if code != http.StatusOK || !strings.Contains(out, `"cname_target":"`+instHost+`"`) {
t.Errorf("per-host door = %d %s, want cname_target %s", code, out, instHost)
}
- if got := want["first.example.com"]; got != "" {
- t.Fatal(got)
- }
_ = apex
// Settings rows for claims with no registry row yet.
@@ -238,40 +236,29 @@ func TestDomainSurfacesAgreeOnTheAppHost(t *testing.T) {
if !ok {
continue
}
- if w != "" && !strings.HasPrefix(dv.Guidance, "Point a CNAME for "+dv.Domain+" at "+w+",") {
+ if w != "" && !strings.HasPrefix(dv.Guidance, "Point a CNAME for "+dv.Domain+" at "+w) {
t.Errorf("settings %s guidance = %q", dv.Domain, dv.Guidance)
}
}
}
-// The app page's custom routes name the app's platform apex only when that
-// apex is itself a route of the same app and account. A spelled-out apex
-// with no route behind it is never named (Astra R1 P1): the row keeps
-// today's advice.
-func TestAppPageNamesTheApexOnlyWhenRouted(t *testing.T) {
+// The app page's custom routes have no served route of their own: they keep
+// today's CNAME at the steering host under configured ingress, and never
+// name the app's apex, routed or not (8a3d302 ruling, after Astra R1/R2: a
+// registry route is not DNS publication).
+func TestAppPageCustomRouteKeepsTheSteeringHost(t *testing.T) {
fx := newConsoleFixture(t)
fx.srv.cfg.AppsDomain = "carlosapp.dev"
fx.srv.cfg.EdgeIPs = []string{"192.0.2.1"}
fx.srv.cfg.RegionIngress = []string{ingressIP}
fx.srv.steeringHost = "edge.carlosapp.dev"
fx.addRoute(t, registry.Route{Host: "www.example.com", Kind: "instance", Status: "ready", App: "kass", Account: release.OpsAccount, DNSStatus: "elsewhere"})
- c := signInPaul(t, fx)
- page := func() string {
- _, _, body := get(t, c, fx.u("/apps/kass/settings/domains"))
- return body
- }
- if body := page(); strings.Contains(body, "Point a CNAME for www.example.com") || !strings.Contains(body, "Point an A record for www.example.com at 192.0.2.1, "+ingressIP+".") {
- t.Fatalf("unrouted apex: want today's ingress advice, got:\n%s", body)
- }
- // Another app's route at the spelled apex does not count either.
- fx.addRoute(t, registry.Route{Host: "kass.bab.carlosapp.dev", Kind: "instance", Status: "ready", App: "other", Platform: true, Account: release.OpsAccount, DNSStatus: "pointing"})
- if body := page(); strings.Contains(body, "Point a CNAME for www.example.com") {
- t.Fatalf("named an apex another app holds:\n%s", body)
- }
fx.addRoute(t, registry.Route{Host: "kass.bab.carlosapp.dev", Kind: "instance", Status: "ready", App: "kass", Platform: true, Account: release.OpsAccount, DNSStatus: "pointing"})
- if body := page(); !strings.Contains(body, "Point a CNAME for www.example.com at kass.bab.carlosapp.dev, your app&#39;s own address.") {
- t.Fatalf("routed apex not named:\n%s", body)
+ c := signInPaul(t, fx)
+ _, _, body := get(t, c, fx.u("/apps/kass/settings/domains"))
+ if !strings.Contains(body, "Point a CNAME for www.example.com at edge.carlosapp.dev.") || strings.Contains(body, "www.example.com at kass.bab.carlosapp.dev") {
+ t.Fatalf("custom route: want the steering host CNAME, got:\n%s", body)
}
}
@@ -290,11 +277,10 @@ func TestAppHostGuidanceWording(t *testing.T) {
}
// A claim with no served route of its own (a first-route claim, a claim
-// aliasing another custom name, an instance catch-all) names the app's apex
-// once, and only once, the apex is that app's own platform route in the
-// registry. Until then, or when another app holds the name, it keeps
-// today's advice.
-func TestRoutelessClaimsNameTheRoutedApex(t *testing.T) {
+// aliasing another custom name, an instance catch-all) keeps today's CNAME at
+// the steering host under configured ingress, and names the app's apex even
+// when that apex is routed (8a3d302 ruling: no apex guess).
+func TestRoutelessClaimsKeepTheSteeringHost(t *testing.T) {
fx, member := instanceFixture(t, "code-dom-apphost-apex")
fx.srv.cfg.AppsDomain = "oncarlos.test"
fx.srv.cfg.EdgeIPs = []string{"192.0.2.1"}
@@ -310,56 +296,58 @@ func TestRoutelessClaimsNameTheRoutedApex(t *testing.T) {
}); err != nil {
t.Fatal(err)
}
- targets := func() map[string]string {
- t.Helper()
- code, _, out := rawReq(t, http.MethodGet, domainsURL(fx, "bab", "titogo"), member, "")
- if code != http.StatusOK {
- t.Fatalf("list = %d %s", code, out)
- }
- var got struct {
- Domains []struct {
- Host string `json:"host"`
- Guidance string `json:"guidance"`
- CNAMETarget string `json:"cname_target"`
- } `json:"domains"`
+ fx.addRoute(t, registry.Route{Host: apex, Kind: "instance", Status: "ready", App: "titogo", Platform: true, Account: sqid})
+ code, _, out := rawReq(t, http.MethodGet, domainsURL(fx, "bab", "titogo"), member, "")
+ if code != http.StatusOK {
+ t.Fatalf("list = %d %s", code, out)
+ }
+ var got struct {
+ Domains []struct {
+ Host string `json:"host"`
+ Guidance string `json:"guidance"`
+ CNAMETarget string `json:"cname_target"`
+ Records []dnsRecord `json:"records"`
+ } `json:"domains"`
+ Deployment struct {
+ SteeringHost string `json:"steering_host"`
+ } `json:"deployment"`
+ }
+ if err := json.Unmarshal([]byte(out), &got); err != nil {
+ t.Fatal(err)
+ }
+ seen := 0
+ for _, d := range got.Domains {
+ switch d.Host {
+ case "first.example.com", "raw.example.com", "*.app.example.com":
+ default:
+ continue
}
- if err := json.Unmarshal([]byte(out), &got); err != nil {
- t.Fatal(err)
+ seen++
+ want := "Point a CNAME for " + d.Host + " at edge.oncarlos.test. The steering service chooses a healthy edge. An A record for " + d.Host + " at 192.0.2.1, " + ingressIP + " also works. It distributes requests across the listed edges without choosing by location. Checks run every few minutes."
+ if d.CNAMETarget != "edge.oncarlos.test" || d.Guidance != want {
+ t.Errorf("%s: cname_target %q guidance %q, want the steering host and %q", d.Host, d.CNAMETarget, d.Guidance, want)
}
- m := map[string]string{}
- for _, d := range got.Domains {
- m[d.Host] = d.CNAMETarget
- if d.CNAMETarget != "" && !strings.HasPrefix(d.Guidance, "Point a CNAME for "+d.Host+" at "+d.CNAMETarget+",") {
- t.Errorf("%s guidance %q disagrees with cname_target %q", d.Host, d.Guidance, d.CNAMETarget)
+ for _, r := range d.Records {
+ if r.Type == "CNAME" && r.Value != "edge.oncarlos.test" {
+ t.Errorf("%s CNAME record %+v", d.Host, r)
+ }
+ if r.Type == "A" && r.Value != "192.0.2.1" && r.Value != ingressIP {
+ t.Errorf("%s A record %+v outside the ingress union", d.Host, r)
}
- }
- return m
- }
- hosts := []string{"first.example.com", "raw.example.com", "*.app.example.com"}
- for _, h := range hosts {
- if got := targets()[h]; got != "" {
- t.Errorf("unrouted apex: %s cname_target = %q, want none", h, got)
}
}
- fx.addRoute(t, registry.Route{Host: apex, Kind: "instance", Status: "ready", App: "other", Platform: true, Account: sqid})
- for _, h := range hosts {
- if got := targets()[h]; got != "" {
- t.Errorf("apex held by another app: %s cname_target = %q, want none", h, got)
- }
+ if seen != 3 {
+ t.Fatalf("saw %d of 3 rows in %s", seen, out)
}
- fx.addRoute(t, registry.Route{Host: apex, Kind: "instance", Status: "ready", App: "titogo", Platform: true, Account: sqid})
- got := targets()
- for _, h := range hosts {
- if got[h] != apex {
- t.Errorf("routed apex: %s cname_target = %q, want %q", h, got[h], apex)
- }
+ if got.Deployment.SteeringHost != "edge.oncarlos.test" {
+ t.Errorf("deployment steering_host = %q", got.Deployment.SteeringHost)
}
acct, err := fx.st.AccountBySqid(sqid)
if err != nil || acct == nil {
t.Fatal(err)
}
for _, dv := range fx.srv.settingsDomains(withReqMemo(context.Background()), acct, "titogo", nil) {
- if dv.Domain == "first.example.com" && !strings.HasPrefix(dv.Guidance, "Point a CNAME for first.example.com at "+apex+",") {
+ if dv.Domain == "first.example.com" && !strings.HasPrefix(dv.Guidance, "Point a CNAME for first.example.com at edge.oncarlos.test.") {
t.Errorf("settings first.example.com guidance = %q", dv.Guidance)
}
}
diff --git a/internal/console/appsettings.go b/internal/console/appsettings.go
index 64f72452b..1d8366a5a 100644
--- a/internal/console/appsettings.go
+++ b/internal/console/appsettings.go
@@ -763,7 +763,7 @@ func (s *Server) settingsDomains(ctx context.Context, acct *Account, app string,
}
continue
}
- dv := claimDomainView(c.Host, s.bindAppHost(ctx, s.dnsTargets(ctx), c.Host, c.Account, c.App, c.Route))
+ dv := claimDomainView(c.Host, s.dnsTargets(ctx).forApp(c.Host, c.Route))
dv.State, dv.Reason, dv.Detail = state(c)
if c.Regional() {
dv.Guidance, dv.Detail = s.configuredRegionalGuidance(ctx, c)
diff --git a/internal/console/domaincatchall.go b/internal/console/domaincatchall.go
index 19962af71..690b37745 100644
--- a/internal/console/domaincatchall.go
+++ b/internal/console/domaincatchall.go
@@ -361,12 +361,11 @@ func (s *Server) catchallListItems(ctx context.Context, acct *Account, app strin
if !pointing {
// The wildcard record is what makes every label resolve here; the
// guidance for "*.<parent>" says exactly that.
- // The app's apex, when it is routed: no one instance's name can
- // stand for every label.
- bound := s.bindAppHost(ctx, targets, c.Host, acct.Sqid, app, "")
- head.Guidance = domainGuidance(c.Host, bound)
- head.Records = domainRecords(c.Host, bound, false, "")
- head.CNAMETarget = cnameTarget(c.Host, bound)
+ // No one instance's name can stand for every label, so the
+ // catch-all keeps the steering hostname (cnameTarget).
+ head.Guidance = domainGuidance(c.Host, targets)
+ head.Records = domainRecords(c.Host, targets, false, "")
+ head.CNAMETarget = cnameTarget(c.Host, targets)
}
// Whether the catch-all reserves every label, or only its instances'
// (catchallInstanceName). Said on every listing, with the record to
diff --git a/internal/console/server.go b/internal/console/server.go
index b1f11c4e5..a62ff4b03 100644
--- a/internal/console/server.go
+++ b/internal/console/server.go
@@ -1638,7 +1638,18 @@ func (s *Server) dnsTargets(ctx context.Context) DNSTargets {
apps = strings.ToLower(strings.TrimSuffix(strings.TrimSpace(s.cfg.AppsDomain), "."))
}
if len(s.cfg.RegionIngress) > 0 {
- return DNSTargets{EdgeIPs: s.edgeIPs(ctx), ConfiguredIngress: true, AppsDomain: apps}
+ // Configured ingress replaces the A-record set, not the CNAMEs. A
+ // subdomain still CNAMEs at its app host, or at the steering
+ // hostname when it has no served route of its own (8a3d302 ruling,
+ // 2026-11-08). Both follow the steering records, which hold fixed
+ // boxes only (group members are never steering targets, G3-F4) and
+ // until the load balancer becomes the public front door (G5) are
+ // the same fixed addresses the ingress set names.
+ var steer string
+ if apps != "" {
+ steer = s.steeringHost
+ }
+ return DNSTargets{EdgeIPs: s.edgeIPs(ctx), ConfiguredIngress: true, SteeringHost: steer, AppsDomain: apps}
}
return DNSTargets{EdgeIPs: s.edgeIPs(ctx), SteeringHost: s.steeringHost, AppsDomain: apps}
}
diff --git a/internal/console/view.go b/internal/console/view.go
index b7e141c65..d7f454069 100644
--- a/internal/console/view.go
+++ b/internal/console/view.go
@@ -161,7 +161,9 @@ func (d DomainView) Explain() string {
// only on a deployment that STEERS (multi-region ingress spec, Part 4) —
// the steering hostname a non-apex host may CNAME to instead.
type DNSTargets struct {
- // ConfiguredIngress suppresses legacy steering and names the public union.
+ // ConfiguredIngress names the public union for A records. It no longer
+ // suppresses the CNAME forms where app hosts are published (see
+ // Server.dnsTargets).
ConfiguredIngress bool
// EdgeIPs is the DNS-only union chosen by Server.edgeIPs: static public
// ingress when configured, otherwise PLATFORM_EDGE_IPS plus live boxes.
@@ -199,11 +201,12 @@ func (t DNSTargets) forApp(host, route string) DNSTargets {
// route is always a host the deployment SERVES under its own name: a
// domain claim's route (the instance or app the custom name aliases; for an
// HA instance, or one in another region, that is the instance's own public
-// name), or the app's platform apex when it is a route in the registry
-// (Server.bindAppHost, and the app page's own route fold). That is what makes it a safe target: its visitors already
+// name). A name merely SPELLED like the app's apex is never named, and
+// neither is a registry apex: a route row is not DNS publication (Astra R1
+// and R2; a verified apex is a follow-up). A row with no served route of
+// its own keeps the steering hostname (cnameTarget). That is what makes it a safe target: its visitors already
// reach it by that name, so its public DNS is maintained (steering records
-// or the apps-domain wildcards). A name merely SPELLED like an apex is never
-// named: one that is no route may have no address at all (Astra R1 P1).
+// or the apps-domain wildcards).
// Member and sidecar names (*.sidecar.internal) are never under the apps
// domain, so they are never named. A host that is itself under the apps
// domain is ours already and is told nothing new, and nothing is named on a
@@ -224,48 +227,6 @@ func appHostFor(domain, host, route string) string {
return ""
}
-// bindAppHost binds a claim row's app host: the claim's route when that is
-// a served name under the apps domain, else the app's platform apex when it
-// is a route of that app and account in this console's registry (a
-// first-route claim, a claim aliasing another custom name, a catch-all).
-// No served name means no CNAME: the row keeps today's advice.
-func (s *Server) bindAppHost(ctx context.Context, t DNSTargets, host, acct, app, route string) DNSTargets {
- if b := t.forApp(host, route); b.AppHost != "" || t.AppsDomain == "" {
- return b
- }
- return t.forApp(host, s.routedApex(ctx, acct, app))
-}
-
-// routedApex is app's platform apex when the console's registry holds it as
-// that app's own platform route in acct, else "". A failed read is "": the
-// row keeps today's advice rather than naming a host nobody confirmed.
-// Memoized per request, so a list of claims reads each apex once.
-func (s *Server) routedApex(ctx context.Context, acct, app string) string {
- host := s.apexHost(acct, app)
- if host == "" || app == "" || acct == "" || s.cfg.Registry == "" {
- return ""
- }
- h, err := memoize(ctx, "routed-apex:"+host, func() (string, error) {
- reg, err := openRegistry(s.cfg.Registry)
- if err != nil {
- return "", err
- }
- rt, err := reg.Get(host)
- if err != nil || rt == nil {
- return "", err
- }
- if !rt.Platform || rt.Canary || rt.App != app || release.RouteAccount(*rt) != acct {
- return "", nil
- }
- return host, nil
- })
- if err != nil {
- log.Printf("console: apex route %s: %v", host, err)
- return ""
- }
- return h
-}
-
// cnameTarget is the name a non-apex host is told to CNAME at, or "" when
// the advice is A records only: the bound app host, else the legacy
// steering hostname. domainGuidance and domainRecords both read it, so the
@@ -277,16 +238,15 @@ func cnameTarget(host string, t DNSTargets) string {
if t.AppHost != "" {
return t.AppHost
}
- if t.ConfiguredIngress {
- return ""
- }
return t.SteeringHost
}
-// domainGuidance is shared by routed and claim-only custom domains. Ingress
-// mode uses only the configured public A-record union; legacy steering still
-// offers a CNAME for subdomains. The public suffix list decides apexes, where
-// a CNAME cannot coexist with the zone's SOA and NS records.
+// domainGuidance is shared by routed and claim-only custom domains. A
+// subdomain on a deployment that publishes app hosts CNAMEs at its app host,
+// or at the steering hostname when it has no served route of its own, with
+// configured ingress or without; ingress mode names only the configured
+// public union for A records. The public suffix list decides apexes, where a
+// CNAME cannot coexist with the zone's SOA and NS records.
func domainGuidance(host string, t DNSTargets) string {
target := "this deployment's edge IP"
if len(t.EdgeIPs) > 0 {
@@ -296,7 +256,7 @@ func domainGuidance(host string, t DNSTargets) string {
switch {
case t.AppHost != "" && !isApexDomain(host):
aRecord = appHostGuidance(host, t.AppHost, target, len(t.EdgeIPs) > 0)
- case t.ConfiguredIngress:
+ case t.ConfiguredIngress && (isApexDomain(host) || t.SteeringHost == ""):
if isApexDomain(host) {
return fmt.Sprintf("%s is an apex domain and cannot use a CNAME. Point its A record at the configured public ingress addresses: %s. Checks run every few minutes.", host, target)
}
@@ -705,17 +665,6 @@ func assembleViews(ctx context.Context, regPath, acct string, apps []string, dns
byApp := map[string][]RouteView{}
domainsByApp := map[string][]DomainView{}
localHosts := make(map[string]bool, len(routes))
- // A custom route's CNAME target is its app's platform apex, and only when
- // the apex is a route here of that same app and account: a name that
- // merely spells the apex may have no address (see appHostFor).
- apexOf := map[[2]string]string{}
- if dns.AppsDomain != "" {
- for _, rt := range routes {
- if rt.Platform && !rt.Canary && rt.App != "" && rt.Host == rt.App+"."+release.RouteAccount(rt)+"."+dns.AppsDomain {
- apexOf[[2]string{release.RouteAccount(rt), rt.App}] = rt.Host
- }
- }
- }
for _, rt := range routes {
localHosts[rt.Host] = true
rtAcct := release.RouteAccount(rt)
@@ -755,7 +704,7 @@ func assembleViews(ctx context.Context, regPath, acct string, apps []string, dns
rv.Region = regionlabel.ForRoute(rt, remote.home, remote.names)
}
byApp[rt.App] = append(byApp[rt.App], rv)
- domainsByApp[rt.App] = append(domainsByApp[rt.App], domainView(rt, dns.forApp(rt.Host, apexOf[[2]string{rtAcct, rt.App}])))
+ domainsByApp[rt.App] = append(domainsByApp[rt.App], domainView(rt, dns))
}
now := time.Now()
sorted := append([]string(nil), apps...)
diff --git a/internal/provision/plan9_b8_census_test.go b/internal/provision/plan9_b8_census_test.go
index ebea2696e..89fba80c9 100644
--- a/internal/provision/plan9_b8_census_test.go
+++ b/internal/provision/plan9_b8_census_test.go
@@ -722,7 +722,7 @@ var plan9B8CensusInventory = []censusEntry{
{"internal/console/claim_retire_helpers.go", "claimRetireRecordKey", "key-site", "key:RecordKey,key:SidecarRecordKey,key:claimRetireRecordKey", "4a84350fc30ad6866855f785e40bea690655daf6399acad853c4e61871ee82a5"},
{"internal/console/claim_store_effects.go", "claimEffectStore.Put", "record-transport", "def:Put,sel:Put", "679406564fa1f9816a4fe2fe9bd454ed6fdde1e16a3e7c5060c22fdb933e7b9e"},
{"internal/console/domainattach.go", "Server.attachDomainAs", "record-writer", "key:CreateRecord", "c99691f92daab087137bb607a89f3dc7ef4202e83431e61ebee56553756f7f4f"},
- {"internal/console/domaincatchall.go", "Server.catchallListItems", "key-site", "lit:instances", "107fa9a9639422616195f1892f619fc1f5ddecf1dd3effa2361ff19717567a8f"},
+ {"internal/console/domaincatchall.go", "Server.catchallListItems", "key-site", "lit:instances", "3e97b23c81bb51a4c1ea9f6df6488c86c619d490a2fbf7d0267332b0d4f40b84"},
{"internal/console/economicspass.go", "Server.upsertBill", "nonrecord", "sel:Put", "2af1ed6992d6856f5273d5ce6305fa4b9d434f94b25c9843c5cd45a6c69362b1"},
{"internal/console/economicspass.go", "Server.putScenario", "nonrecord", "sel:Put", "80557ccbb43b60fe9e8a54a4aaf3be1e7982a92a9ba2d6e33be43ddf51329ab5"},
{"internal/console/economicspass.go", "Server.putActiveScenario", "nonrecord", "sel:Put", "0711f7092a78e391af67eca8c4a5b30224297bbddb8c7a92add8c375faef3bff"},