Skip to content

Instantly share code, notes, and snippets.

View achalkov's full-sized avatar

Artem Chalkov achalkov

  • Moscow, Russia
View GitHub Profile

Keybase proof

I hereby claim:

  • I am achalkov on github.
  • I am achalkov (https://keybase.io/achalkov) on keybase.
  • I have a public key ASBcI4_2zClMzpA8Ti7YQvj86lgfTEK3LjrPWpno5UMmJQo

To claim this, I am signing this object:

Configure systemd-resolved to use a specific DNS nameserver for a given domain

Use case

Given

  • I use a VPN to connect to my work network
  • I'm on a Linux computer that uses systemd-resolved
  • I have a work domain called example.com
  • example.com is hosted by both public and private DNS nameservers