That happened to me when I was dog-sitting once. Zero's right, ignoring him is the only way it will stop. Do you know your neighbors at all? Even if you don't, maybe just let them know that you have a dog and you are aware of his barking problem and are trying to correct it. Your neighbors will probably not be please about the barking either way, but at least that way they will know you are aware of the problem and are working to fix it.