add domain and from lines