A method for accessing content in networks, preferably in wide area networks, comprising the steps of • Determining a resource for content by a resource identifier, • Sending a DNS-query for resolving an IP-address for a hosting server identifier specified as a part of the resource identifier by a client to a first DNS-Server in a first network • Contacting, by the first DNS-Server, a second DNS-Server located in a second network for resolving the hosting server identifier, • Providing, by the second DNS-server, said at least one hosting server identifier or at least one IP-address corresponding to the resource identifier to a first sorting server, located in a second network, • sorting of the at least one hosting server identifier or at least one IP-address by the first sorting server, • providing, by said first sorting server, said sorted at least one hosting server identifier or said at least one IP-address back to the second DNS-Server • providing, by the second DNS-server said sorted at least one hosting server identifier or said at least one IP-address to said first DNS-server, • providing, by said first DNS-server, said sorted at least one hosting server identifier or at least one IP-address and user location information or user preference policy to a second sorting server, said second server located in the first network, • reordering, by said second sorting server, said provided at least one hosting server identifier or said at least one IP-address, based on user location or user preference policy • determining one or more preferred hosting servers according to the reordered at least one hosting server identifier or at least one IP-address by the first DNS-Server • returning an ordered list of preferred hosting servers to said client for accessing the content • Determining a resource for content by a resource identifier, • Sending a DNS-query for resolving an IP-address for a hosting server identifier specified as a part of the resource identifier by a client to a first DNS-Server in a first network • Contacting, by the first DNS-Server, a second DNS-Server located in a second network for resolving the hosting server identifier, • Providing, by the second DNS-server, said at least one hosting server identifier or at least one IP-address corresponding to the resource identifier to a first sorting server, located in a second network, • sorting of the at least one hosting server identifier or at least one IP-address by the first sorting server, • providing, by said first sorting server, said sorted at least one hosting server identifier or said at least one IP-address back to the second DNS-Server • providing, by the second DNS-server said sorted at least one hosting server identifier or said at least one IP-address to said first DNS-server, • providing, by said first DNS-server, said sorted at least one hosting server identifier or at least one IP-address and user location information or user preference policy to a second sorting server, said second server located in the first network, • reordering, by said second sorting server, said provided at least one hosting server identifier or said at least one IP-address, based on user location or user preference policy • determining one or more preferred hosting servers according to the reordered at least one hosting server identifier or at least one IP-address by the first DNS-Server • returning an ordered list of preferred hosting servers to said client for accessing the content