Documentation: Add an example for multiple host addresses using custom attributes.

Fixes #6404