On Tue, Jun 16, 2015 at 05:35:46PM +0200, Christian Rohmann wrote:
> 
> 
> On 06/16/2015 03:44 PM, Viktor Dukhovni wrote:
> >> the individually set
> >> > process limits work fine, but they add up quickly. Even IPv4 and IPv6
> >> > create two listeners for the same job already making it difficult to
> >> > pick sensible individual limits.
> > IIRC you can halve the number of listeners by using a hostname
> > instead of an address in master.cf, and assigning both the IPv4
> > and IPv6 address to each host that needs both.
> 
> If that would work, great, no awesome!
> 
> But I just tried that quickly, and unfortunately it only binds to one
> address, the IPv4 address in my case.

The code I'm staring at should bind both and should even bind
multiple addresses if the hostname resolves to multiple addresses.

What do you have for inet_protocols?

The key question is whether getaddrinfo() on your system returns
multiple addresses for the host, or just one.

What's in /etc/host.conf (Linux?) you'll "multi on" if the hostnames
are in /etc/hosts...

-- 
        Viktor.

Reply via email to