The only fence I ever had that would hold goats is electrified netting.
Not bad to fool with in the winter but grass and weeds make it a hassle in the spring and summer.
If you feed them and give them a dry place to stay in, you can't run them off, they will follow you around.
I think a well...