Dogs will not get hemorrhoids, but dogs may get anal gland inflammation. There are two glands at dogs’ anus, namely the anal glands. The anal gland fluid has a foul smell. When the dog is frightened, it will also discharge the anal gland fluid. At this time, we may smell a particularly strong smell.