I'm doing something for connection qualities, So I need to flush DNS cache every time I made A . Request (Not System cache since It may cause other issues), And I looked up I didn't find a way doing this,

So Is there any mechanism I could doing this?