Somewhere in the archaeology of the Internet sits a small, tidy RFC that answers a question nobody asks out loud: if your phone already knows the address it wants to reach, why must it still be told where to send the message? RFC 3319, published in February 2003, is that document. It gave DHCPv6 two options for handing a SIP client a ranked list of local outbound proxies — and in doing so drew one of the cleanest lines in networking between finding something and proving it works.

The distinction sounds pedantic until a call fails at 2 a.m. and three teams argue about whose fault it is. A lease can tell a client where a proxy lives. It cannot tell anyone that the proxy answered, that the user was registered, that the destination was reachable, or that media ever flowed. The packet is a map. The call is the journey.

What RFC 3319 actually put in the DHCPv6 reply

The problem it solved is easy to misstate, and has been misstated ever since. A SIP client may know exactly which address sits in the SIP URI and still need a local outbound proxy: a firewall in the way, a local dialing plan, emergency services, a provider that only accepts traffic from its own edge. Manual configuration was one answer. RFC 3319 offered another — let DHCPv6 tell the client where candidate outbound proxies could be found.

The boundary lives in the noun. The option identifies a server for outbound SIP requests. It does not describe the whole SIP service. RFC 3261 keeps user agents, proxy servers, redirect servers and registrars in separate boxes; RFC 3319 uses “SIP server” specifically for the host running an outbound proxy. A list of those hosts cannot, on its own, show that a user registered, a destination was authorized, a dialog completed, media was negotiated, or a call worked.

Two options, one preference order

RFC 3319 assigns option 21 to OPTION_SIP_SERVER_D, an ordered domain-name list, and option 22 to OPTION_SIP_SERVER_A, an ordered IPv6-address list. Both lists are ranked by preference. An implementation of the specification must support both. A client asks for one or both in DHCPv6’s Option Request Option; what comes back still depends on server configuration and on what was actually requested. Even when both are requested, the server may return only one — and should favour the domain-name option.

If both lists arrive, the client should use the domain names first. Numeric addresses are a conditional fallback: tried only when no name in the first list can be resolved or reached. That is more specific than “try every address in sight.” Nor does a client immediately resolve every later name. It walks the list in preference order and moves on when the preceding attempt fails, yields no transport both sides share, or trips a prohibition in client policy.

A name was an input to SIP location, not a replacement for it

The domain-name option feeds the server-location behaviour described in RFC 3263. Names in the list should point at different NAPTR records, not merely different A records — which means a single DHCP server can point a client at proxies run by several providers. But the option does not replace NAPTR or SRV. It supplies a starting set of domains; the SIP location machinery and transport rules still do the work.

This is where the word “fallback” earns its keep. A later domain is not a backup merely because it appears in the packet. The client reaches it after a defined condition. An IPv6 address list sits further down the preference path when names were also supplied. Client policy can veto a name outright. The DHCP list carries candidates and an order; the client keeps the decisions about resolution, transport and permissible use.

That is a sensible division of control-plane labour. The network distributes local service choices without hard-coding one proxy into every handset. Yet the reply still does not establish that a listed host answers, speaks a mutually usable transport, accepts this user’s request, or can carry the rest of the session. “Configured as preferred” and “successfully used” are different observations, and the gap between them is where outages hide.

The trust problem hiding inside a DHCP reply

The security section is where the boundary turns consequential. Let an adversary modify a DHCP response, or slip in a false one, and a user agent can be steered toward a rogue SIP server — one that intercepts call requests or simply denies service. A tampered answer could also drop the hostnames that would have led to TLS-capable servers, quietly easing interception.

That is the RFC’s threat model, not an incident report. It does not claim an arbitrary received address is authentic, nor that every configured name resolves to TLS. The option is one link in a trust chain: a DHCP answer shapes where an application sends its signalling next. The chain still needs whatever protections, identity checks and policy the wider system demands. Finding a server is not authenticating it — the same lesson that recurs wherever a ledger meets a live network: the record of a thing is not the thing.

The 2003 option still sits in modern DHCPv6 records

The general DHCPv6 specification has moved on: RFC 9915 is now the current specification, superseding RFC 8415. Yet the IANA DHCPv6 Option Codes registry still records codes 21 and 22 under RFC 3319, and RFC 9243 later supplies YANG configuration groupings for both SIP server option forms. Those records show continued administrative and data-model reference. They do not measure operator uptake, client support, successful fallback, or a single completed call.

When troubleshooting, keep the failure modes apart: “no option returned,” “domain did not resolve,” “no common transport,” “policy prohibited the domain,” “proxy did not respond,” “later SIP or media step failed.” RFC 3319 defines parts of the discovery sequence — not a monitoring schema, and not a method for attributing blame.

Where the control boundary sits

The DHCP server controls which candidates and which preference order enter the client’s configuration. The client controls whether to request the options at all, and keeps the resolution, transport and local-policy decisions. The proxy operator controls a separate service boundary. An administrator governs the DHCP configuration and the trust path — but the RFC never turns the administrator’s list into an authenticated statement from each proxy.

The second-order risk is mistaking a configuration choice for an outcome: dashboards count an advertised proxy as available while a client never resolves it or never completes a transaction. The third-order risk is organisational: a failed call gets blamed on the wrong layer because the evidence stopped at DHCP. A DHCP trace, a DNS answer, a TLS peer, a SIP response and a media observation each answer a different question. Keeping those records separate is reversible. Collapsing them into one green “proxy configured” flag is not.

RFC 3319’s contribution was narrower, and more interesting, than “DHCP finds a phone server.” It formalised a ranked way for a client to discover a local outbound proxy — domain names first, addresses as fallback — and then had the discipline to stop there. Discovery could point the signalling somewhere. It could never certify what happened next.

Sources