Comment 6 for bug 1684854

ThyMythos (thymythos) wrote :

As a workaround you can do:

MY_DOMAIN="abc.org"
LINKS=`busctl tree --list org.freedesktop.resolve1 | grep link/_`
for L in $LINKS; do
        busctl get-property org.freedesktop.resolve1 $L org.freedesktop.resolve1.Link Domains \
        | grep -q $MY_DOMAIN \
        && sudo busctl call org.freedesktop.resolve1 $L org.freedesktop.resolve1.Link SetDomains "a(sb)" 1 "$MY_DOMAIN" "false"
done