miekg/dns — pull request #103 by innoying (2014-07-27 17:58:52+00:00)
Title: Add support for ResponseWriter.LocalAddr()

This pull request adds the ability to retrieve the local address that the server is bound to from a handler.

My use case for this is that I have a single ServeMux handling multiple server instances (bound to different IPs/Ports), and I need to identify which IP the request came from.