Hornsby is a suburb on the Upper North Shore of Sydney in the Australian state of New South Wales 25 kilometres ( 16 mi ) north-west of the Sydney central business district .
Hornsby is a suburb and shire in the northern part of Sydney .