Re: [PATCH 1/1] nm-dns-dnsmasq: clear cache when dns server changes



Thomas Haller <thaller redhat com> on Tue, 2016/11/29 17:51:
On Tue, 2016-11-29 at 15:03 +0100, Christian Hesse wrote:
From: Christian Hesse <mail eworm de>

A new DNS may have different data for us. So tell dnsmasq to clear
the
cache when servers change.

we currently always do a ClearCache call after SetServerEx.

How does this relate to your patch? Does --clear-on-reload make the
ClearCache call unnecessary? Why is ClearCache not sufficient?

Oops, missed that in my logs (and did not find the code)... You are right,
cache is cleared.

Either of both is just fine and it works as-is. So ignore my patch.

-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}

Attachment: pgpsteu37oEsg.pgp
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]