Use route-only domains to prevent unrelated dns queries

This commit is contained in:
Sonny Bakker 2025-04-17 22:43:24 +02:00
parent a48528fdf5
commit bb73032f30
4 changed files with 4 additions and 4 deletions

View file

@ -6,4 +6,4 @@ Name={{ vpn_media.interface }}
[Network]
Address={{ vpn_media.ip }}/{{ vpn_media.prefix }}
DNS={{ vpn_media.dns }}
Domains={{ vpn_media.domains | join(' ') }}
Domains={{ vpn_media.domains | join(' ') }} {{ vpn_media.domains | map('regex_replace', '^(.*)$', '~\\1') | join(' ') }}