Authorities have warned residents of Dunsborough in West Australia to leave now as a major bushfire threatens homes.