Question: what is the difference between default gateway and dns server?
Answer: A default gateway is the host that your server will use when trying to connect to anything that's not on the same network as it is. ... A preferred DNS server (or servers) are what your server will use to translate domain names (like serverfault.com) into IP addresses (like 69.59. 196.212).