[dnsdist] difficulties to setup a remoteLogger

Ambauen Daniel (ID NET) daniel.ambauen at id.ethz.ch
Fri Feb 21 15:13:03 UTC 2020


Hi,

I try to setup a new remoteLogger with additional option according to the documentation.
newRemoteLogger(address[, timeout=2[, maxQueuedEntries=100[, reconnectWaitTime=1]]])

I’m able to setup “simple” remoteLogger:
rl1 = newRemoteLogger('129.132.128.247:10532’)

If I try to setup a new remoteLogger with additional option, my command failed.
rl2 = newRemoteLogger('129.132.128.247:10533', timeout=2, maxQueuedEntries=100, reconnectWaitTime=2)


[root at dnsd1-zhh ~]# dnsdist -c
> rl2 = newRemoteLogger('129.132.128.247:10533', timeout=2, maxQueuedEntries=100, reconnectWaitTime=2)
Error: [string "rl2 = newRemoteLogger('129.132.128.247:10533'..."]:1: ')' expected near '=': >

Has anybody an idea what is wrong with my command?
What is the meaning of the Error message?

Kind Regards
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4315 bytes
Desc: not available
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20200221/60ed24d6/attachment.bin>


More information about the dnsdist mailing list