To run a DNS filter in Docker, start a resolver with persistent storage, publish both UDP and TCP DNS ports, and test it before you change client settings. Sig53's managed appliance uses a private image from your customer portal. The resolver runs locally, but it needs regular cloud authorization.
1. Prepare the Docker host and private image
This procedure covers managed Docker release 2026.11.1-product-copy. It also applies to 2026.10.20-portal4 and 2026.11.1-plain-language; older images use earlier menu labels. Use the exact image and command supplied by your portal. You need an approved account, a published private image, a Linux amd64 Docker host, and dig for DNS checks.
Record the host's LAN address and current DNS settings. Check that the intended ports are free. Start with loopback test ports; move to LAN port 53 only after the tests pass. The published pilot starting point is 2 vCPU, 2 GB RAM, and 20 GB disk, subject to your workload.
In the customer portal, create a dedicated registry credential and generate your private image. Authenticate with that registry username and pull password, not your portal password:
docker login sig53.com
The appliance must reach the portal over HTTPS to renew its signed authorization. It refuses DNS when the last authorization expires, at most 300 seconds after issue, including during a portal or network outage. A retained feed does not remove this requirement.
2. Start an isolated DNS test
For a new installation, copy your exact image reference into IMAGE below. Use an unused container and volume name. This example publishes DNS only on host loopback port 1053 and the console on port 8081.
IMAGE='paste-your-exact-portal-image-reference-here'
docker run -d --name sig53-pilot --restart unless-stopped \
--cap-drop ALL --security-opt no-new-privileges:true \
--read-only --tmpfs /tmp:rw,noexec,nosuid,size=16m \
-p 127.0.0.1:1053:9000/udp \
-p 127.0.0.1:1053:9000/tcp \
-p 127.0.0.1:8081:3000 \
-v sig53-pilot-data:/var/lib/sig53 \
"$IMAGE"
docker ps --filter name=sig53-pilot
docker logs --tail 50 sig53-pilot
Docker pulls the private image if it is missing. Open http://127.0.0.1:8081 on the Docker host, or use an SSH tunnel. Keep the console bound to loopback. The named volume holds configuration, policy, identity, and secret state. Keep it when you replace the container; do not copy it to create another installation.
The first-start upstream is 1.1.1.1:53. Networks with private names need an internal-domain resolution plan. An approved internal upstream can be set with SIG53_UPSTREAM_DNS=IP:port at first initialization. Later changes use the configuration workflow and a restart.
A new Docker volume allows requests from 127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. To choose other networks, set SIG53_TRUSTED_NETWORKS on first startup. Existing volumes keep their saved values. On the local control page, open Settings → Saved settings → Current settings and check server.allowed_client_cidrs. Older versions use Operations → Configuration → Effective settings. These ranges choose which devices can use DNS. Docker port settings choose where DNS listens.
Open the local console from your computer
The portal's standard command publishes the console at http://127.0.0.1:8080 on the Docker host. This guide's isolated test uses port 8081 instead. Check your original command for the correct port.
If Docker runs on another host, use your existing SSH account. Replace USER@DOCKER_HOST below. The example forwards your computer's port 8080 to the standard console port on that host:
ssh -N -L 127.0.0.1:8080:127.0.0.1:8080 USER@DOCKER_HOST
Keep the tunnel open and visit http://127.0.0.1:8080 on your computer. For the test setup above, change the final port in the tunnel command to 8081. Select Domain rules to inspect local allowlist and denylist entries. Select DNS test for a server-side lookup and policy result. Also test from the affected client: its source IP and network path can change the result. Older versions call these pages Overrides and Diagnostics. The hosted portal does not display the full local lists.
3. Test DNS transport and policy separately
From the Docker host, test an allowed public name over both transports. Keep full output so that you can see the response code and responding server.
dig @127.0.0.1 -p 1053 example.com A
dig @127.0.0.1 -p 1053 example.com A +tcp
With valid authorization, a reachable upstream, and no matching block rule, expect status: NOERROR and an address answer. Public addresses can change. A running or healthy container alone does not prove that these DNS checks pass.
- In the local console, confirm the pilot client uses enforce mode.
- Add a temporary denylist rule for a test domain you control. Query it over UDP and TCP.
- Use DNS test to check which rule matched. With the default NXDOMAIN action, expect
status: NXDOMAIN; other block actions give different responses. - Remove the temporary rule and confirm the domain resolves again. Check internal names and reverse lookups too.
The bundled seed rule is evaluation data, not a commercial threat feed. Configure and verify your actual domain rules and feed sources before you assess protection.
4. Connect a small pilot
After validation, stop and remove only the test container. Recreate it with the same private image, volume, and security options. Replace the two test DNS bindings with -p HOST_LAN_IP:53:9000/udp and -p HOST_LAN_IP:53:9000/tcp, using an address assigned to your host. Keep the console on loopback.
Restrict DNS access to the intended networks and test from an actual pilot client. Docker port publishing creates host network rules, so verify access from both permitted and unpermitted networks. Then change DNS settings for the pilot devices. Record how to restore the previous resolver.
5. Update and recover without losing state
For an update, use the portal's update action for the existing appliance. Pull its new image, stop and remove the old container, then repeat the original run settings with the new image and the same volume. Generating a second appliance is not an update.
- Container cannot start
- Check logs, private image access, port conflicts, and volume permissions. Do not remove the volume as a repair step.
- DNS returns REFUSED
- Check authorization, account status, trusted networks, and client policy. Restore portal connectivity if the authorization expired, then repeat both DNS tests.
- DNS times out or returns SERVFAIL
- Check published ports, network access, upstream reachability, and DNSSEC diagnostics.
- A legitimate site is blocked
- Use the false-positive procedure to identify the rule and apply a narrow exception.
References and next steps
- Docker: publishing ports explains host address and transport bindings.
- Docker: volumes explains persistent storage.
- Test what survives a container restart or recreation before you plan recovery.
- Separate reported health from client DNS availability when you set up monitoring.
- Compare self-hosted and cloud DNS filtering before selecting an operating model.
Test it on your network
Discuss your internal DNS, pilot subnet, and rollout requirements with the Sig53 team.
Request a demo