Bypass geo-restrictions and ISP DNS blocking for Xbox and gaming services
This repository provides two solutions to bypass DNS-based geo-restrictions and ISP filtering:
- Standard DNS - Simple DNS server bypass (no domain required)
- DNS over HTTPS (DoH) - Encrypted DNS with ISP blocking bypass (requires domain)
Perfect for bypassing regional blocks in Russia and other countries with DNS filtering.
xbox-dns-bypass/
โโโ standard-dns/ # Simple DNS bypass solution
โ โโโ install-dns-server.sh
โ โโโ test-dns.sh
โ โโโ README.md
โโโ dns-over-https/ # Encrypted DoH solution
โ โโโ install-doh-server.sh
โ โโโ test-doh.sh
โ โโโ doh-setup.md
โ โโโ README.md
โโโ common/ # Shared tools and docs
โ โโโ monitor-dns.sh
โ โโโ xbox-dns-list.txt
โ โโโ advanced-setup.md
โโโ README.md # This file
โโโ quick-start.md # Quick start guide
โ
No domain required
โ
5-minute setup
โ
Works with Xbox
โ
Bypasses geo-restrictions
cd standard-dns
./install-dns-server.shโ
Encrypted DNS queries
โ
Bypasses ISP DNS filtering
โ
ISP cannot see what you access
โ
Works with all devices
cd dns-over-https
./install-doh-server.sh your-domain.com| Feature | Standard DNS | DNS over HTTPS |
|---|---|---|
| Bypass geo-restrictions | โ Yes | โ Yes |
| Bypass ISP DNS filtering | โ Yes | |
| Encrypted queries | โ No | โ Yes |
| ISP can see queries | โ Yes | โ No |
| Domain required | โ No | โ Yes |
| Xbox support | โ Native | โ Native |
| Windows/Android/iOS | โ Yes | โ Yes + DoH |
| Setup time | 5 min | 10 min |
| Difficulty | Easy | Moderate |
- Xbox Series X/S - Settings โ Network โ DNS
- Xbox One - Settings โ Network โ DNS
- PlayStation - Settings โ Network โ DNS
- Windows 10/11 - DoH native support
- Android - Private DNS with DoH
- iOS/iPhone - Configuration profiles
- PC Games - Any device can use DNS
- Smart TVs - Netflix, YouTube, etc.
- VPS: Oracle Cloud (Free Forever)
- Total: $0/month
- VPS: Hetzner/Contabo (~โฌ4/month)
- Domain: Freenom (.tk, .ml - Free) or Namecheap (~$9/year)
- Total: ~โฌ4-5/month
For users in Russia:
- Finland - Lowest latency (~20-40ms)
- Sweden - Very good (~30-50ms)
- Estonia - Good (~30-50ms)
- Germany - Good (~40-60ms)
- Netherlands - Acceptable (~50-70ms)
- Quick Start Guide - Get started in 5 minutes
- Standard DNS Setup - Simple DNS bypass
- DoH Setup Guide - Encrypted DNS
- Advanced Configuration - Optimization & troubleshooting
Located in /common/:
- monitor-dns.sh - Monitor server health and performance
- xbox-dns-list.txt - List of gaming domains
- advanced-setup.md - Performance tuning and security
Q: Which solution should I choose?
A: If your ISP blocks DNS queries or you want maximum privacy, use DoH. For simple geo-restriction bypass, use Standard DNS.
Q: Will this slow down my gaming?
A: No. Only DNS lookups go through your VPS (adds 10-50ms once per session). Game traffic is direct.
Q: Is this legal?
A: Yes. You're using your own VPS to resolve DNS queries. This is a legitimate use case.
Q: Can ISP still block this?
A: Standard DNS can be blocked. DoH is very difficult to block as it looks like regular HTTPS traffic.
Q: Do I need a VPN?
A: No. This solution is often better than VPN for gaming because it doesn't route game traffic through VPS.
Q: Can I use this for other services besides Xbox?
A: Yes! It works for any device or service that uses DNS (which is everything on the internet).
โ ๏ธ DNS queries visible to ISP- โ Queries resolved outside your country
- โ DNSSEC validation
- โ Rate limiting protection
- โ Encrypted DNS queries (ISP cannot see)
- โ Queries resolved outside your country
- โ DNSSEC validation
- โ TLS/SSL encryption
- โ Protection against DNS spoofing
- โ Rate limiting protection
Xbox โ DNS Query โ Your VPS โ Authoritative DNS โ Response โ Xbox
Xbox โ Game Traffic โ Direct to Game Server (no VPS)
Device โ Encrypted HTTPS Request โ Your VPS โ DNS Query โ Response โ Device
(ISP sees: "HTTPS traffic to your VPS" - cannot see DNS content)
Device โ Game Traffic โ Direct to Game Server (no VPS)
- OS: Ubuntu 20.04+ or Debian 10+
- RAM: 512MB minimum, 1GB recommended
- Storage: 10GB
- Network: Unlimited or 1TB+ bandwidth
- Domain name (can be free)
- SSL certificate (auto-installed via Let's Encrypt)
- DNS Query Latency: 10-50ms (one-time per domain)
- Gaming Performance: No impact (direct connection)
- Cache Hit Rate: 70-90% (subsequent queries instant)
- DoH Overhead: Additional 10-20ms for encryption
Contributions are welcome! Feel free to:
- Report issues
- Suggest improvements
- Submit pull requests
- Share your experience
MIT License - Free to use and modify
This tool is for educational purposes and to access services you have legitimate rights to use. Users are responsible for complying with their local laws and terms of service.
If this helped you access Xbox Live and gaming services:
- โญ Star this repository
- ๐ Share with others facing similar issues
- ๐ฌ Report your success or issues
- Documentation: Check README files in each directory
- Issues: Open a GitHub issue
- Discussions: Use GitHub Discussions for questions
Made with โค๏ธ for gamers worldwide who just want to play their games
๐ฎ Happy Gaming! ๐ฎ