May I make a suggestion. Not sure it it would work as I don't have an ant problem with the duck feed, but have used the technique with other animal feed.
Instead of turning the one upside down, have it right way up and fill it with water. This way, your ducks can use the water to wash feed down...