DNS is vital for online gaming because it stabilizes or increases the network connection speed while reducing lag and buffer time during the online gaming session.