How fernvenue/adguardhome-upstream works
Main Components
a) Core Components:
• AdGuardHome DNS Server
• Upstream Script Component
• Configuration Files System
• Systemd Timer/Service Components
• External DNS Services
b) Data Flow Components:
• dnsmasq-china-list Integration
• DNS Resolution Paths
• Configuration Update Flow
Specific Elements
a) Timer/Service Components:
[upstream.timer] → [upstream.service] → [upstream.sh]
b) Configuration Flow:
[dnsmasq-china-list] → [upstream.sh] → [/usr/share/adguardhome.upstream]
c) DNS Resolution Path:
[Client] → [AdGuardHome] → [Chinese DNS (for Chinese domains)]
• → [Global DNS (for other domains)]
Important Details to Highlight
• Parallel DNS query capability
• Optimistic caching mechanism
• Domain-based routing logic
• Configuration update automation
The separation between Chinese and global DNS resolution paths
This system design should clearly communicate how the project improves DNS resolution speed for Chinese domains while maintaining secure and efficient resolution for global domains, all while being automatically maintained through systemd timers or alternative scheduling systems.