Does anyone know what this is?

He’s not scratching at it a whole lot I just noticed it yesterday. There are ants in our back yard but it looks like more of a rash to me. Has anyone experienced this with their dogs????