Several species of North American ducks normally nest in tree cavities: Wood Duck, Hooded Merganser, Common Merganser, Common Goldeneye and Bufflehead. This can be surprising to those who think of them as marsh-dwellers. During nesting season, and the 21 days of brooding, they are tree-dwellers.
Best Nest makes different houses for each of them, but I do not think these birds are all that particular about nest holes.
Their chicks often end up taking quite a long and dangerous exodus to relative safety in the water.
Other ducks may nest on above-ground sites but not in cavities, such as this Mallard. As we have mentioned in the past, Screech Owls often take over these nest boxes.
Photo is Hooded Merganser in late winter/ Spring breeding plumage. They are a fairly common winter duck in southern New England on salt water bays and inlets, but, like most of the tree-nesters except for the Woodie, breed further north.