Re: [systemd-devel] systemd-resolved not working in a realistic scenario

2023-05-02 Thread Petr Menšík
Hi Farkas, I think you need more traditional dns cache like dnsmasq or unbound. I don't think there is a good syntax to configure per-domain nameservers, which would be implementation independent. I think the way to go would be to make forwarding declarations on VPN provided nameservers. It wo

Re: [systemd-devel] systemd-resolved not working in a realistic scenario

2023-04-29 Thread Reto
On Thu, Apr 27, 2023 at 02:46:09PM +0200, Farkas Levente wrote: > What I'd like to achieve: > - if the vpn is not connected > - all dns query goes to 8.8.8.8 > - if vpn is connected: > - netbird.cloud goes to 100.76.1.2 > - a.com goes through wt0 to 1.2.3.4 > - b.com goes through wt0 to 5.6

Re: [systemd-devel] systemd-resolved not working in a realistic scenario

2023-04-29 Thread Farkas Levente
On 2023. 04. 29. 12:18, Reto wrote: On Thu, Apr 27, 2023 at 02:46:09PM +0200, Farkas Levente wrote: What I'd like to achieve: - if the vpn is not connected - all dns query goes to 8.8.8.8 - if vpn is connected: - netbird.cloud goes to 100.76.1.2 - a.com goes through wt0 to 1.2.3.4 -