[Pdns-users] [EXT] Re: remote backend

Remi Gacogne remi.gacogne at powerdns.com
Thu Nov 30 08:18:38 UTC 2023


On 29/11/2023 01:07, Alexis Fidalgo wrote:
> Problem is (and i’ve testing with golang and python) after the answer 
> the “initialize” message, the socket is closed, so, getAllDomains 
> message is being sent using a closed socket and that’s why i don’t see 
> it on the responder side and pdns does not receive and answer, polls 2 
> times and reaches timeout.

Why do you think the socket is closed? It doesn't show up in your 
previous strace log, and poll() wouldn't not time out but immediately 
return an error if the socket had been closed.

> i can see there’s no test for unixsocket in the source tree.

There is such a test in test-remotebackend-unix.cc

-- 
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20231130/b07eef7f/attachment.sig>


More information about the Pdns-users mailing list