diff --git a/domain.sh b/domain.sh index 824abf5..65c16ef 100755 --- a/domain.sh +++ b/domain.sh @@ -28,6 +28,7 @@ Usage: domain add-user-to-group domain remove-user-from-group domain update-ip + domain flush-cache '; } @@ -104,6 +105,9 @@ case "${1}" in samba-tool dns update 127.0.0.1 ${2} ${3} A ${4} ${5} -U administrator samba-tool dns update 127.0.0.1 ${2} @ A ${4} ${5} -U administrator ;; + flush-cache) + net cache flush + ;; *) usage; esac