Council is first stop.. but just say "oh hi i am thinking about buying xyz and was wondering what a building approvals are on record". Dont let on about the extension, some councils love to hear about unapproved extensions then turn up to request it be made approved.
Otherwise sometimes...