lookup registry ip when ec2 user data has dns server list

Change-Id: I3336bb8368fb90b9caf371ce3d82e6e72bb0df93
Merge "lookup registry ip when ec2 user data has dns server list"