Add hostname to db