Hannah is likely friendly with Luna. They could have developed a friendship through DA and the take over of Hogwarts.
Dennis would probably depend on how Luna liked Colin. If Colin and Luna were friends, then Dennis would definitely be friends with Luna and is extremely fond of her. If not, well he still thinks she's a really awesome girl and has journalistic envy of her trip ^_^