SSSL-DNS/dns
2024-06-04 12:16:08 -04:00
..
src chore: switch from pm2 to node 2024-06-04 12:16:08 -04:00
.dockerignore chore: move the DNS server to a separate container 2024-06-03 18:02:45 -04:00
.eslintignore chore: move the DNS server to a separate container 2024-06-03 18:02:45 -04:00
.eslintrc.json chore: move the DNS server to a separate container 2024-06-03 18:02:45 -04:00
Dockerfile chore: switch from pm2 to node 2024-06-04 12:16:08 -04:00
example.env docs: update documentation for new setup 2024-06-03 18:03:55 -04:00
package-lock.json chore: move the DNS server to a separate container 2024-06-03 18:02:45 -04:00
package.json chore: move the DNS server to a separate container 2024-06-03 18:02:45 -04:00
README.md chore: un-hardwrap readme lines 2024-06-03 20:18:18 -04:00
tsconfig.json chore: move the DNS server to a separate container 2024-06-03 18:02:45 -04:00

SSSL DNS server

Custom DNS server intended to be used in conjunction with SSSL. It redirects Nintendo hostnames to an SSSL-powered server using DNS spoofing.

Config

The only 2 addresses required are for conntest.nintendowifi.net and account.nintendo.net. These can either be set using the default address or explicitly mapping them. Additional addresses may be added using SSSL_DNS_MAP.

Name Description Required
SSSL_UDP_PORT UDP port for the DNS server. Only if not using TCP.
SSSL_TCP_PORT TPC port for the DNS server. Only if not using UDP.
SSSL_DNS_DEFAULT_ADDRESS The default address to use for conntest.nintendowifi.net and account.nintendo.net. Only if not explicitly mapped.
SSSL_DNS_MAP_hostname An explicit mapping of a hostname to an address. Only if not using the default address.

These environment variables can be set manually or loaded from a .env file. See example.env for an example configuration.

Docker

The provided Dockerfile creates an image that runs the DNS server with Node.js. The configuration environment variables should either be provided to the container directly or mounted as a .env file in /home/node/app/.env. The example Docker Compose file shows a setup that loads the configuration from a .env file in this directory.