now supports hostname.local resolution