]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: dns: no DNS resolution happens if no ports provided to the nameserver
authorBaptiste Assmann <bedis9@gmail.com>
Wed, 20 Jan 2016 23:59:46 +0000 (00:59 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 21 Jan 2016 06:41:59 +0000 (07:41 +0100)
commit7f43fa9b2ca1a981d89636416f49f2405290c7aa
tree95541b1e8aa11db03d2ff327217e2b45417ddf22
parent0821bb9ec05abb7192c660963e4a055d151705f4
BUG/MEDIUM: dns: no DNS resolution happens if no ports provided to the nameserver

Erez reported a bug on discourse.haproxy.org about DNS resolution not
occuring when no port is specified on the nameserver directive.

This patch prevent this behavior by returning an error explaining this
issue when parsing the configuration file.
That said, later, we may want to force port 53 when client did not
provide any.

backport: 1.6
src/cfgparse.c