The DNS only sometimes saves data. Hence, it functions as a directory that changes domain names into IP addresses to help your device connect to websites. However, specific DNS servers may do so temporarily for the benefit of performance.