A simple Node DNS Server proxy based on Peteris Rocks tutorial, which serves IPv6 records if a CDN is matched.
Clone the repo
git clone https://gh6.mortzu.de/miyurusankalpa/IPv6-dns-server.git
Build the project
npm install
Starting the server
npm start
Change the dns_resolver
variable in the app.js file.
Add the domain to noaaaa
array in the app.js file.
Add the domain to addaaaa
object with IPv6 address in the app.js file.
Change the aggressive_v6
variable to false in the app.js file. See individual services below to see what aggressive mode does.
Change the v6_only
variable to true in the app.js file.
- Test domains: db-ip.com
- IPv6 Type: Anycast
- Usability: Stable
- Coverage: All
- Aggressive mode: All cloudflare services which uses their DNS service, regardless of cloudflare proxy has been disabled(grey cloud) will get a Cloudflare IPv6 address.
- Test domains: www.last.fm, www.amd.com
- IPv6 Type: Unicast
- Coverage: All
- Usability: Stable
- Test domains: imgur.com, www.twitch.tv
- IPv6 Type: Anycast, Unicast
- Coverage: All
- Usability: Stable
- Test domains: s3.amazonaws.com, github-production-release-asset-2e65be.s3.amazonaws.com
- IPv6 Type: Unicast
- Coverage: *.s3.amazonaws.com hostnames/cnames only.
- Usability: Stable
- Test domains: www.amazon.com, vod-secure.twitch.tv
- IPv6 Type: Unicast
- Coverage: All
- Usability: Stable
- Test domains: cdn-b-east.streamable.com
- IPv6 Type: Unicast
- Coverage: IPv6 is not available in some locations. All on Aggressive mode.
- Usability: Stable
- Aggressive mode: When IPv6 address is not available, adds AMS POP IPv6 address in aggressive mode.
- Test domains: code.jquery.com
- IPv6 Type: Anycast
- Coverage: All
- Usability: Stable
- Test domains: onedrive.live.com
- IPv6 Type: Anycast
- Coverage: Only on some services
- Usability: Stable
- Test domains: software-download.microsoft.com
- IPv6 Type: Unicast
- Coverage: Only on some services
- Usability: Unknown
- Test domains: twitter.github.io
- IPv6 Type: Anycast
- Coverage: Only *.github.io domains. All on Aggressive mode.
- Usability: Stable
- Aggressive mode: HTTPS breaks on custom domains
- Test domains: stackoverflow.com
- IPv6 Type: Anycast
- Coverage: All+Only on Aggressive mode.
- Usability: Logout or delete cookies
- Aggressive mode: Errors on some pages