Outer ear infection (otitis externa).
A waxy, yellow, or reddish-brown ear discharge can also be a sign your dog has an ear infection, which can be a result of allergies, mites, polyps, overproduction of ear wax, excessive bathing or swimming (which can leave too much moisture in the ears), or other problems.