0

I am sorry if there's already a thread about this. I tried my best looking for the same ubuntu version but I only saw this: After modifying /etc/hosts which service needs to be restarted?

We're using ubuntu 16.04.06.

Do I have to restart my services after some edit/config?

I'm sorry again if I only need a confirmation about my problem. Thank you for the help

1 Answers1

1

No, you don't need to restart anything after making changes. If the DNS is still cached somewhere then you may want to clear it. As far as I know, with normal operation, that's it.

To clear systemd-resolve's cache:

sudo systemd-resolve --flush-caches

If you want to verify that you cleared it out:

sudo systemd-resolve --statistics

It should read:

Current Cache Size: 0

KGIII
  • 4,101