The rattling or banging noise is often known as a "water hammer", and a clogged duct pipe causes it in your plumbing. Water driving through the lines can make a vacuum, normally dispelled by a duct that drives through the roof near your tap or plumbing fixture.