Unfortunately, this is not doable at the DNS level. You need a browser extension like uBlock Origin for that.

Did this answer your question?