A method for communicating between a first Machine-to-Machine (M2M) entity in a first M2M network comprising a first M2M network domain anchored by a first network node operating as a Network Services Capability Layer (NSCL) entity within the first M2M network domain and a second M2M entity residing in a second M2M network comprising a second M2M network domain anchored by a second network node operating as an NSCL entity within the second M2M network domain, said second M2M network domain being distinct from said first M2M network domain, and said method comprising:
- the first M2M entity transmitting a request addressed for the second M2M entity in the direction of the first network node;
- the first network node receiving the request comprising an identifier identifying the second M2M entity;
- the first network node determining, based on the identifier, whether the second M2M entity resides within the first M2M network;
- responsive to determining that the second M2M entity does not reside in the first M2M network, requesting a Domain Name server (DNS) node for a lookup on a hostname included in the request, the DNS node responding with an address of the second network node, based on having an address record mapped to the hostname;
- the first network node using the address of the second network node to route the request to the second network node via a communication interface communicatively coupling the first and second M2M network domains;
- the second network node forwarding the request to the second M2M entity;
- and
- the second M2M entity receiving the request, processing the request and responding to the first M2M entity via a path created by the previous steps.