replace static CNAME with task