1. A method for resolving a name request in a network, comprising: receiving the name request by a network node of a first group of network nodes that are operating under a first name resolution scheme, wherein the name request is for a node of a second group; identifying, by the network node of the first group, a parent group of the first group in a hierarchy of name resolution groups, wherein the first group is lower in the hierarchy than the parent group, and the parent group operates under a name resolution scheme that is different from the first name resolution scheme; in response to failing to resolve the name request within the first group using the first name resolution scheme, forwarding the name request to the identified parent group; receiving, by the network node through the parent group, a first response to the name request, wherein the parent group is higher in the hierarchy than both the first group and the second group, and the first response indicates a network address of a requested name of the name request and a network address of an intermediate node; caching the network address of the requested name; determining, based on the hierarchy of name resolution groups, whether a hierarchy level of the intermediate node is equal to or below the first group; in response to the hierarchy level of the intermediate node being equal to or below the first group, caching the network address of the intermediate node, wherein a name request to a node can be sent immediately to the cached network address of the intermediate node bypassing the parent group; and sending a second response to the name request based on the first response.