a.) On domain B you need to create DNS Pin point zones (please see this article)
autodiscover.EmailfordomainB.XXX
webmail.OWANAMEfromdomainA.xxx
http://www.msexchange.org/articles-tutorials/exchange-server-2010/mobility-client-access/using-pinpoint-dns-zones-exchange-2010.html
- Primary and store in AD
- AD Zone replication scope:; To all DNS servers running on domain controllers in this domain (option 2)
- autodiscover.EmailfordomainB.XXX
- Do not allow dynamic updates
- New host A that point DAG ip/Exchange server Domain A.
c.) on users on domain B in AD you need to manually add email address.
d.) on workstation in domain B you need to add both domain suffixes and DNS pointing to domain B.
e.) on Domain B and DNS zones New host A named autodiscover that point DAG ip/Exchange server Domain A.
About troubleshooting you can review this interesting article:
http://www.msexchange.org/articles-tutorials/exchange-server-2010/management-administration/exchange-autodiscover.html