Re: [EXT] Re: remote backend

Remi Gacogne via Pdns-users <[email protected]>
Newsgroups gmane.network.dns.powerdns.user
Message-ID <[email protected]>
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/

_______________________________________________
Pdns-users mailing list
[email protected]
https://mailman.powerdns.com/mailman/listinfo/pdns-users
OpenPGP_signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE1jAMq8v0abvjkuUDogjtT4r1hEYFAmVoRV4ACgkQogjtT4r1
hEa0PAf7BSH290y4GdfMYwge4zx+JmqkFlsynq20XFHrC2xpbNoDQgYDPRgYTV2R
l2qC6rPtZIAZ77Xd2jvGwCHQsYwNSH95S8rmS2DJGKwso1IJ473uk28FcTram4LT
lGClnN4kkuxPKZI4xZOShksc1ZO1BtMO36MOnebP2MCFt4dHQRYj0R0VkAzzr5Nm
gLgpoTuL9WSQ/SHb7ycMsrt8HmrDaGg4SROJIOg1DBZtfeyh5895PZ4gVjmqSbx3
UXuCGPKmoLQ/8vQXOzPP+uwaG+ay6grgRiLerNapOegzrBgPsEMBT+hBD41yRx9r
9AAIH/4GIXWHGFey4yufxgUwSY7G5Q==
=W/a7
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.