Add -d flag that prints domain only.
PR: 212875 Submitted by: Ben RUBSON <ben.rubson@gmail.com> Reviewed by: pi