On 2017-01-04, Ted Unangst <t...@tedunangst.com> wrote: > Glenn Faustino wrote: >> Hi, >> >> The output of nslookup and dig when using rebound are like these: > > this finally annoyed me enough the other day i made a patch.
Oh please don't.... This is important information. > > Index: bin/dig/dighost.c >=================================================================== > RCS file: /cvs/src/usr.sbin/bind/bin/dig/dighost.c,v > retrieving revision 1.15 > diff -u -p -r1.15 dighost.c > --- bin/dig/dighost.c 28 Sep 2015 15:55:54 -0000 1.15 > +++ bin/dig/dighost.c 31 Dec 2016 20:26:11 -0000 > @@ -2854,7 +2854,7 @@ recv_done(isc_task_t *task, isc_event_t > * sent to 0.0.0.0, :: or to a multicast addresses. > * XXXMPA broadcast needs to be handled here as well. > */ > - if ((!isc_sockaddr_eqaddr(&query->sockaddr, &any) && > + if (0) if ((!isc_sockaddr_eqaddr(&query->sockaddr, &any) && > !isc_sockaddr_ismulticast(&query->sockaddr)) || > isc_sockaddr_getport(&query->sockaddr) != > isc_sockaddr_getport(&sevent->address)) {