diff options
| author | Daniel Letkiewicz <daniel@letkiewicz.pl> | 2019-09-07 10:06:27 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2019-09-07 10:06:27 +0100 |
| commit | 08a892a68eda830c7eed6d0a0bfc73ded9e1f228 (patch) | |
| tree | 99989ae13f1766eee471d5b71d5728a8b4297ff0 | |
| parent | cec3341e0a1d71b5951639c2fec1352f1175a89c (diff) | |
| download | openresolv-08a892a68eda830c7eed6d0a0bfc73ded9e1f228.tar.xz | |
dnsmasq: Clear cache when DBus is used
Otherwise, when a VPN tunnel is down all record received from DNS
server exposed via the tunnel stay in the dnsmasq cache.
| -rw-r--r-- | dnsmasq.in | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -206,4 +206,6 @@ if $dbus; then dbus-send --system --dest=uk.org.thekelleys.dnsmasq \ /uk/org/thekelleys/dnsmasq uk.org.thekelleys.$method \ $dbusdest + dbus-send --system --dest=uk.org.thekelleys.dnsmasq \ + /uk/org/thekelleys/dnsmasq uk.org.thekelleys.ClearCache fi |
