Paul Hodges scored an outrageous goal from the edge of his own box as Basingstoke beat Dorchester in their non-league clash.