What happens between a blocked lookup and the user's answer?
Decided 2026-10-04: A. Hold the answer, then refuse uncached. The decision and its reasons are in the I51I51 (closed): S09-policy-credentials-audit: approval flow, what the blocked client sees, and approval noiseS07-egress-gateway and S09-policy-credentials-audit describe approval choices and their security (SEC14-no-fake-approvals), not how the flow behaves. comment that starts Decision (2026-10-04):. Source: I51I51 (closed): S09-policy-credentials-audit: approval flow, what the blocked client sees, and approval noiseS07-egress-gateway and S09-policy-credentials-audit describe approval choices and their security (SEC14-no-fake-approvals), not how the flow behaves.. Affects S07-egress-gatewayS07-egress-gateway: Egress GatewayThe only path from a guest to any network: a userspace network stack (wb-netd) and a policy-enforcing proxy (wb-proxyd) on the host. and S09-policy-credentials-auditS09-policy-credentials-audit: Policy, Credentials, Certificates and AuditWhere policy comes from, how secrets are held, how TLS inspection is trusted, and what is recorded.. Blocked by I36I36 (closed): S07-egress-gateway: attribute network flows to projects in the shared work VMThe work VM hosts every trusted project, and its wb-netd sees one guest MAC and one leased IPv4 address (S07-egress-gateway "Addressing"). and X03-network-pathX03-network-path: Network pathA macOS guest boots on the file-handle attachment with the gVisor stack: gets a DHCP lease, resolves only allowlisted names, reaches only the proxy..
The problem
Section titled “The problem”Figure 1. Today wb-netd answers an unknown name with NXDOMAIN at once and raises an approval. The tool has failed before the user reads the notification, and the guest may cache the refusal. The guest’s own daemons look up names too, and each one would become a notification.
Options for what the blocked client sees
Section titled “Options for what the blocked client sees”Sub-decisions
Section titled “Sub-decisions”| Point | Recommendation | Decide now? |
|---|---|---|
| Negative TTL | NXDOMAIN carries an SOA record with TTL 0 and MINIMUM 0. | yes |
| Silent deny list | Guest OS names are refused without a notification, and the image build turns those services off at the source. Each refusal is still audited. | rule now, list after X03-network-pathX03-network-path: Network pathA macOS guest boots on the file-handle attachment with the gVisor stack: gets a DHCP lease, resolves only allowlisted names, reaches only the proxy. |
| Coalescing | One open request per name. Repeated lookups join it. | yes |
| Cap on open requests | A fixed number open at once. Over the cap, names are refused and audited, and wb status shows the count. |
per VM now, per session after I36I36 (closed): S07-egress-gateway: attribute network flows to projects in the shared work VMThe work VM hosts every trusted project, and its wb-netd sees one guest MAC and one leased IPv4 address (S07-egress-gateway "Addressing"). |
| Timeout | A request stays in wb status until answered or until its session ends, and is audited as expired. |
yes |
| Display | Show the name as received (punycode form). Show the Unicode form next to it only with a warning when it mixes scripts or uses confusable characters. Escape every byte outside letters, digits, hyphen, and dot. | yes |
| “Allow for this session” | Needs to know which session asked. | after I36I36 (closed): S07-egress-gateway: attribute network flows to projects in the shared work VMThe work VM hosts every trusted project, and its wb-netd sees one guest MAC and one leased IPv4 address (S07-egress-gateway "Addressing"). |
Impact
Section titled “Impact”Evidence
Section titled “Evidence”- verified Unknown names get NXDOMAIN and raise an approval, and “after approval, the next lookup succeeds” (S07-03-dnsS07-03-dns: DNSHow wb-netd answers the guest's DNS queries: synthetic addresses, the name form, negative answers and the wildcard budget.).
- verified A negative answer is cached for the smaller of the SOA record’s TTL and its MINIMUM field. Negative answers without an SOA record “SHOULD NOT be cached” (RFC 2308, sections 3 and 5).
- verified The macOS resolver library waits
RES_TIMEOUT= 5 seconds between retries and triesRES_DFLRETRY= 2 times (resolv.hin the macOS SDK,man 5 resolver). - verified macOS waits 75 seconds for a TCP handshake by default (
sysctl net.inet.tcp.keepinit= 75000 on the host). The guest default is assumed to match. - verified Approvals are notifications or
wb approve, never in the agent terminal, and guest-influenced text is stripped of control sequences (S09-09-approvalsS09-09-approvals: ApprovalsWhat an approval adds, the checks that each request goes through, and approvals for a joining project.). The user’s attention is an asset (T00-indexT00-indexboundary 6 is the host terminal stream., “Model”). - verified I51I51 (closed): S09-policy-credentials-audit: approval flow, what the blocked client sees, and approval noiseS07-egress-gateway and S09-policy-credentials-audit describe approval choices and their security (SEC14-no-fake-approvals), not how the flow behaves. is blocked by I36I36 (closed): S07-egress-gateway: attribute network flows to projects in the shared work VMThe work VM hosts every trusted project, and its wb-netd sees one guest MAC and one leased IPv4 address (S07-egress-gateway "Addressing"). and by I17I17 (closed): X03-network-path: Network pathDoes a macOS guest boot on the file-handle network attachment with the gVisor stack: get a DHCP lease, resolve only allowlisted names, and reach only the proxy? (X03-network-pathX03-network-path: Network pathA macOS guest boots on the file-handle attachment with the gVisor stack: gets a DHCP lease, resolves only allowlisted names, reaches only the proxy.), on GitHub.
- assumed That the guest’s
mDNSResponderhonors a zero negative TTL and retries on the same schedule as the resolver library. X03-network-pathX03-network-path: Network pathA macOS guest boots on the file-handle attachment with the gVisor stack: gets a DHCP lease, resolves only allowlisted names, reaches only the proxy. can check both while it lists background names. - assumed That a 4-second hold is long enough for a user to answer in a useful share of cases. Measured in use during V1-M5-approvalsV1-M5-approvals: Approvals and policyApprovals with notifications and wb approve, learn mode, credential bindings, the dependency gate, wb trust with the boundary check, wb policy explain, and the toolchain reconcile..
What this unblocks
Section titled “What this unblocks”- The approval flow section of S09-policy-credentials-auditS09-policy-credentials-audit: Policy, Credentials, Certificates and AuditWhere policy comes from, how secrets are held, how TLS inspection is trusted, and what is recorded. and the approval work in V1-M5-approvalsV1-M5-approvals: Approvals and policyApprovals with notifications and wb approve, learn mode, credential bindings, the dependency gate, wb trust with the boundary check, wb policy explain, and the toolchain reconcile. (FR09-approve-unknownFR09-approve-unknown: Approve unknown destinationsA request to an unknown destination is blocked and offered to the user for approval out-of-band (allow once, allow for project, deny)., SEC14-no-fake-approvalsSEC14-no-fake-approvals: Approvals cannot be spoofed by the guestApproval prompts are never rendered in the agent's terminal stream.).
- It waits on X03-network-pathX03-network-path: Network pathA macOS guest boots on the file-handle attachment with the gVisor stack: gets a DHCP lease, resolves only allowlisted names, reaches only the proxy. (I17I17 (closed): X03-network-path: Network pathDoes a macOS guest boot on the file-handle network attachment with the gVisor stack: get a DHCP lease, resolve only allowlisted names, and reach only the proxy?) for the silent deny list, and on I36I36 (closed): S07-egress-gateway: attribute network flows to projects in the shared work VMThe work VM hosts every trusted project, and its wb-netd sees one guest MAC and one leased IPv4 address (S07-egress-gateway "Addressing"). for anything per session.
Details and glossary
Why not answer SERVFAIL instead of NXDOMAIN. A temporary failure makes some tools retry by themselves. It also says “try again” to a name the user may deny, and resolvers handle it less predictably than NXDOMAIN. Option A gets the retry benefit for the names the user approves in time.
Glossary
- NXDOMAIN: the DNS answer “this name doesn’t exist”.
- Negative TTL: how long a resolver remembers an NXDOMAIN before asking again.
- SOA record: a DNS record that, in a negative answer, carries the negative TTL.
- Stub resolver: the part of the guest OS that sends DNS queries for programs. On macOS it is
mDNSResponder. - Punycode: the ASCII form of an internationalized name (
xn--…), which is what DNS carries. - Confusable characters: letters from different scripts that look alike, such as Latin
aand Cyrillicа. - Coalescing: treating repeated requests for the same name as one.