A weakly connected dominating set of a graph is a dominating set such that the subgraph consisting of and all edges incident on vertices in is connected. In this paper, we generalize it to -dominating set which means a distance -dominating set that can be connected by adding paths with length within . We present an algorithm for finding -dominating set with performance ratio not exceeding , where is the maximum number of vertices that are at distance at most from a vertex in the graph. The bound for size of minimum -dominating set is also obtained.