add domain handling example to fd_dom/2 documentation