IP and DNS are ways of addressing namespaces for objects on the network. IP addresses basically show where objects are located, while DNS merely provides a name to the object based on some standard rules.