The dream interpretation is that the dog barks to warn you of a possible threat. There could be a stranger approaching. Before establishing the nature of the newcomer, the dog barks to warn both the stranger and you. You can examine this possibility by reflecting on your waking life. Are there new people in your life? Or are there familiar people who may be jealous and planning to harm you? The dream analysis of a barking dog tells of similarities to an alarm bell that rings.
Another reason that you could be dreaming of a barking dog, is that you have heard the actual audio of barking. A dog may have barked and this sound has reached your inner consciousness, and triggered the relevant image of a barking dog.