commit | 07101d5a162a125232d992648a8598bfdeee3f3f | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Sep 08 16:16:35 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Sep 08 16:16:35 2015 +0200 |
tree | e0f7cc244f9273402da7b1adbb3ec36e56129721 | |
parent | 9f69f46d1f1b1d116c00b4b0483c519747f977b7 [diff] |
BUG/MEDIUM: dns: use the correct server hostname when resolving The server's host name picked for resolution was incorrect, it did not skip the address family specifier, did not resolve environment variables, and messed up with the optional trailing colon. Instead, let's get the fqdn returned by str2sa_range() and use that exclusively.