Skip to content

ubuntu yammy patch #96

@hboetes

Description

@hboetes

This is straight from the ubuntu yammy package patch. Of course they never reported that to you. :-(

diff --git a/update-systemd-resolved b/update-systemd-resolved
index 1452e1a..4c63bc7 100755
--- a/update-systemd-resolved
+++ b/update-systemd-resolved
@@ -421,7 +421,7 @@ main() {
 
     "$script_type" "$link" "$if_index" "$@" || return 1
     # Flush the DNS cache
-    systemd-resolve --flush-caches
+    resolvectl flush-caches
   fi
 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions