Problem:
- When --accept-dns=true is used, MagicDNS (100.100.100.100) becomes
the only DNS resolver for systemd-resolved
- If MagicDNS fails to forward external queries, domains like
google.com become unreachable
- This commonly occurs due to network latency or connectivity issues
Solution:
- Add configure_dns_fallback() function to quick-install.sh
- Create /etc/systemd/resolved.conf.d/headscale-fallback.conf
- Set FallbackDNS to 1.1.1.1, 8.8.8.8, 168.126.63.1 (Korea DNS)
- Add external DNS verification test in verify_connection()
- Support non-systemd systems via /etc/resolv.conf modification
Result:
- MagicDNS continues to work for *.headscale.local internal domains
- External domains resolve via fallback DNS when MagicDNS fails
- Installation script verifies DNS resolution before completion
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Update PREAUTH_KEY to match the correct key used in Windows PowerShell script:
- Old: 8b3df41d37cb158ea39f41fc32c9af46e761de817ad06038
- New: b46923995afeaec90e588168f2e1bf99801775e8657ce003
This fixes the registration failure issue.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Changed --accept-dns=false to --accept-dns=true in quick-install.sh:
- Automatic registration command (line 347)
- Manual registration example command (line 357)
This ensures Linux clients also receive Headscale Magic DNS configuration
(100.64.0.1) automatically during installation, enabling proper name resolution
for *.headscale.local domains on all platforms.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Update script comments and documentation for root vs regular users
- Improve error message for missing root privileges
- Add separate command examples for root accounts (Proxmox, containers, etc.)
- Update README and installation guide with both sudo and non-sudo examples
🚀 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
- Add automatic detection of existing Tailscale/Headscale connections
- Implement smart server comparison to avoid unnecessary re-registration
- Add --force option for mandatory re-registration
- Improve user interaction for terminal vs pipe execution
- Add better logout verification with retry logic
- Update documentation with force registration examples
- Change default behavior to auto-register (Y) instead of skip (N)
🚀 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
- Complete installation guide with examples and troubleshooting
- Update Headscale server URL to https://head.0bin.in
- Add support information and network configuration details
- Include colored terminal output examples
🚀 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>