Members of the US military have been told to avoid any official contact with US presidential campaigns until after the two major political party conventions have formally nominated their respective candidates, the Department of Defense (DoD) said in a memo released on Friday.