[dnsdist] send command from command line
Remi Gacogne
remi.gacogne+dnsdist at powerdns.com
Thu Mar 17 07:41:35 UTC 2016
Hi Alejandro,
On 03/16/2016 04:01 PM, Alejandro Adroher Mellado wrote:
> There is someone of you who knows how to send command to dnsdist from
> command line??
> I’m trying add Pool Rule like:
>
> dnsdist --client -e 'addPoolRule({"aaaaa.22a"}, "abuse")'
> Connecting to 127.0.0.1:5199
> Fatal error: EOF while reading message
It looks like a secret key mismatch. Could you check that the dnsdist
server and client use the same configuration file, or at least have the
same key (look for setKey() in the configuration file)?
Anyway you should have more information in the server's logs. For a key
mismatch, you can expect to see something like:
Got an exception in client connection from 127.0.0.1:XXXXX: Could not
decrypt message
--
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20160317/f9737876/attachment.sig>
More information about the dnsdist
mailing list