Flush DNS cache

Used to be able to do it by running:

sudo /etc/init.d/dns-clean start

But the command isn’t available on Ubuntu MATE. Any ideas?

Listing my systemd services using this command sudo systemctl list-unit-files
resulted in this …

systemctl status resolvconf.service
● resolvconf.service - Nameserver information manager
Loaded: loaded (/lib/systemd/system/resolvconf.service; enabled; vendor prese
Active: active (exited) since Mon 2016-05-30 10:45:34 EDT; 7h ago
Docs: man:resolvconf(8)
Process: 292 ExecStart=/sbin/resolvconf --enable-updates (code=exited, status=
Process: 287 ExecStartPre=/bin/touch /run/resolvconf/postponed-update (code=ex
Process: 259 ExecStartPre=/bin/mkdir -p /run/resolvconf/interface (code=exited
Main PID: 292 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/resolvconf.service

possibly you can restart the service to discover if that flushes your DNS cache