Fix examples by using net.JoinHostPort (#1368)
Fix examples by using net.JoinHostPort (#1368)

Small fix in the examples to properly work with v6 addresses.

Closes: #1365 #1367

Signed-off-by: Miek Gieben <00b357f94cf3a1145a32703fb42e2d80418ab806@miek.nl>
miekg/dns