Confused about query_source(-v6) address statement

Tony Finch dot at dotat.at
Mon Oct 21 12:04:47 UTC 2019


Robert Senger via bind-users <bind-users at lists.isc.org> wrote:
>
> Which one is true? I only neet the source address to be set (both udp
> and tcp, for source based routing of dns queries), not the port.

TCP queries use the query-source address unless
BROKEN_TCP_BIND_BEFORE_CONNECT is set ...

https://gitlab.isc.org/isc-projects/bind9/blob/master/lib/dns/resolver.c#L2004

... BROKEN_TCP_BIND_BEFORE_CONNECT is only set on ancient Solaris

https://gitlab.isc.org/isc-projects/bind9/blob/master/configure.ac#L1937

Tony.
-- 
f.anthony.n.finch  <dot at dotat.at>  http://dotat.at/
North Fitzroy, Sole, Lundy, Fastnet: Northerly 4 to 6, becoming variable 3 or
4. Slight or moderate. Showers. Good.


More information about the bind-users mailing list