In a private ipfs (one with a swarm key) and modified list of bootstrap nodes, who provides the dht updates?

#1

My scenario is when a node in a private network publishes a content , is any node outside the network aware of the content being published ?
Is it the bootstrap nodes that are providing the hash ?
Is there any mechanism to control content publishing within my network ?

#2

My scenario is when a node in a private network publishes a content , is any node outside the network aware of the content being published ?

No. Nodes in a private network (using the “private network feature”) cannot communicate with nodes not in the private network.

Is it the bootstrap nodes that are providing the hash ?

No, it’s the node that added the content (unless some other node fetched it).

Is there any mechanism to control content publishing within my network?

Theoretically, yes. But you’d need to implement that feature yourself.