[Dnsmasq-discuss] send logs to a remote server

Simon Kelley simon at thekelleys.org.uk
Wed Aug 3 23:12:03 BST 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256



On 03/08/16 19:44, Rick Jones wrote:
> On 08/03/2016 11:00 AM, John Pearson wrote:
>> I'd like to send the logs to a remote server to process. I'm
>> currently leaning towards using rsyslog for that.
>> 
>> I looked into --log-facility sending to remote server but doesn't
>> seem to be supported.
>> 
>> Is there a better way than rsyslog? Maybe something built into
>> dnsmasq that I am missing?
> 
> Just a paranoid drift, because I've been bitten by it a few times
> in the past - make certain that if you do go the rsyslog path, you
> ensure it is setup to never block the local logging client(s) no
> matter what happens with the remote logging destination.
> Otherwise, when something goes awry with the remote logging
> destination the backpressure will affect the logging clients (eg
> dnsmasq in this case though the times I've been bitten were with
> other things).
> 

This bit me long ago, and the result was the --log-async option, which
makes dnsmasq immune to backpressure from the logging system, and,
more importantly, avoids deadlocks when the log daemon makes DNS
queries through the local dnsmasq instance.


Cheers,

Simon.


> rick jones
> 
> 
> _______________________________________________ Dnsmasq-discuss
> mailing list Dnsmasq-discuss at lists.thekelleys.org.uk 
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBCAAGBQJXomwzAAoJEBXN2mrhkTWi0YAP/AkVPQvsh1xoMf2DaUBurXMI
PlnQQf5bvg6+yPjGc0A235IAqU+6Du10xYk+qEXcEM8zQs+MULle34X1SddCdrUQ
WzDfxC9db4/F/vMkH8wr06AMrEkhb4rSvNvLLck/AOUJUce0+9WMdBHMXC3WJdyk
A1/uSI59tqSoq5WD3jFvA2fAqGaPbPJmcx94r4oYmrIOLa8+JSyXBG39vw+fEcyg
Sj9fqEmpj7lImvpDyWaLqeyOC3UwVUlZX8AdDokS+qjY68fjqzVvcj8YWtZfWQaC
s78MZgXqqJLn0CRktorQUa9xLv7/oDxiBSwqMGbOdZjrisozMQG5Toimxrz5A/zo
+ws+pl4xYrgSOcTHaA5HpGQGjPnu0bcjRtcolOq1J888pBsTdTSFGlZcb301ref5
wRjj2K8zoGDyFQrg+nKXtQrGTkJ3iXT8fY/SaiSAX/2BjMAfTwC+8AOAR4ia9EL8
6BA3ef225lpEd4siiLDRTxvUay5Sjni4XCnD63C5NsRGQVJ45TdWMm5m3olEIxdK
WDwhgy8IFh4Vc+M1IiD9/welljmW/b35jboGnOFlpt0NyJwTP5uFDQoVHp5dkQXX
Q8yMCStIF+5wCrJhgo7tGin6XulE+4NVW83DmunrlROAQw4lS6YPQZcdtmhIg9rn
7ydtjiYt7xVZoz5XJiLS
=zmua
-----END PGP SIGNATURE-----



More information about the Dnsmasq-discuss mailing list