Also use the no-such-domain template if resolving addresses with getaddrinfo() fails.