No, DNS does not affect ping as its primary service is to provide name resolution services. However, you do get faster download and upload speeds but it has no effect on the ping.