What does “secondary DNS” mean here?
This article concerns the second recursive resolver configured on a client or distributed through network settings. It is different from a secondary authoritative DNS server, which serves a copy of a DNS zone.
Client behavior varies by operating system, application, network state, and configuration. Do not infer a strict standby order from two fields labelled preferred and alternate. The important policy question is whether every resolver the client can select gives the intended result.
For example, one resolver might block a controlled test domain while the second returns its address. Both servers can be healthy. The client can therefore receive different policy outcomes without any rule changing on the first server.
Compare the policy at both endpoints
Start with direct queries. Use a harmless domain you control, establish its allowed result, then apply the intended test rule. Query each configured resolver for A and AAAA records over UDP and TCP. Keep full output so that the response code and responding server are visible.
You can repeat the endpoint difference locally with the synthetic DNS lab. Start it with python3 dns-response-lab.py, then run:
dig @127.0.0.1 -p 10530 policy.test. A
dig @127.0.0.1 -p 10531 policy.test. A
dig @127.0.0.1 -p 10530 policy.test. A +tcp
dig @127.0.0.1 -p 10531 policy.test. A +tcp
The primary fixture returns NXDOMAIN. The alternate returns NOERROR with 192.0.2.123. This demonstrates different endpoint policies. It does not simulate an operating system choosing a resolver. Stop the fixture with Ctrl+C.
Test the client's normal selection path
A command with an explicit DNS server bypasses the client's default selection for that command. After the direct checks, use the operating system's normal lookup path and the actual application. Observe which resolver receives each query.
- Record the operating system and application versions, network interface, VPN state, and browser Secure DNS setting.
- Inspect both IPv4 and IPv6 resolver configuration. An AAAA query is a record-type test, not proof that transport uses IPv6.
- Use a controlled name whose cache state you understand. A fresh name must have a known authoritative result and a matching test policy.
- Correlate the client result with resolver-side observations. Record the source address seen by the filter, including any network address translation.
A browser might use its own DoH service instead of either configured system resolver. An established connection might not make a new DNS request at all. These are additional paths to test, not evidence that the first resolver ignored a rule.
Test failure and recovery deliberately
| Condition | Record from the client | Question to answer |
|---|---|---|
| Both resolvers reachable | Selected endpoint and expected policy result. | Is policy consistent during normal use? |
| First resolver does not reply | Delay, retries, selected endpoint, and final answer. | Does recovery preserve policy? |
| First resolver replies REFUSED | Response and any subsequent query. | Does this client treat refusal differently from no reply? |
| First resolver returns NXDOMAIN | Negative response and application result. | Does the client accept the answer rather than seek another? |
| First resolver restored | Later selections and cache state. | Does the intended steady state return? |
Run these faults only against the isolated pilot. Do not assume that a timeout, REFUSED, and NXDOMAIN trigger the same retry behavior. Measure the client you actually deploy.
Common questions
Should both configured DNS servers enforce the same policy?
If the requirement is consistent domain filtering, every permitted resolver path must meet that requirement. Availability alone is insufficient.
Does using two Sig53 appliances remove every shared dependency?
No. Managed appliances can share upstream, network, power, and authorization dependencies. Test the failure domain you intend to cover.
Will a public backup always be used only after a timeout?
That is not a portable guarantee. Establish the behavior for your client and settings.
Sources and test scope
The local two-listener UDP/TCP comparison was checked with Python 3.14.7 and DiG 9.20.29 on 1 November 2026. The client-selection matrix is a procedure for your own pilot, not a claim of tested behavior across operating systems.
Plan a test on your network
Discuss your DNS path, required services, and pilot checks with the Sig53 team.
Request a demo