Re: recursor listens on non-existent IPs
"Kevin P. Fleming via Pdns-users" <[email protected]> Wed, 10 Dec 2025 05:52:20 -0500
| Newsgroups | gmane.network.dns.powerdns.user |
|---|---|
| Message-ID | <[email protected]> |
--===============3069141492570713483== Content-Type: multipart/alternative; boundary=82a7f2a4e3c14006bdb1a8fc9648b90d --82a7f2a4e3c14006bdb1a8fc9648b90d Content-Type: text/plain Content-Transfer-Encoding: 7bit On Wed, Dec 10, 2025, at 03:08, lejeczek via Pdns-users wrote: > I've: > non-local-bind=no > local-address=10.9.4.2,10.3.1.99,10.3.1.100 > and *recursor* creates a listening socket with IP which does not exist - at least according to *netstat *I was hoping - while not being pdns nor networking expert - for behaviour where *pdns* watches and waits for IP to appear and only then, when given IP exists on the system, pdns would start using it. > What is happening there - and how could I, if possible at all, get pdns to operate like that? pdns-recursor does not do that, and it's hard to understand what the benefit of that would be. The recursor only 'uses' those addresses by listening for incoming queries on them, so listening on an address which will not receive any queries (because it has not been assigned to any interfaces) does not cause any harm or consume any resources. --82a7f2a4e3c14006bdb1a8fc9648b90d Content-Type: text/html Content-Transfer-Encoding: quoted-printable <!DOCTYPE html><html><head><title></title></head><body><div>On Wed, Dec = 10, 2025, at 03:08, lejeczek via Pdns-users wrote:</div><blockquote type= =3D"cite" id=3D"qt" style=3D""><div><span class=3D"font" style=3D""><spa= n class=3D"size" style=3D"font-size:13px;">I've:<br> non-local-bind=3Dno= <br> local-address=3D10.9.4.2,10.3.1.99,10.3.1.100<br> and <b>recursor</= b> creates a listening socket with IP which does=0A not exist - at = least according to <i>netstat<br> </i>I was hoping - while not bein= g pdns nor networking expert -=0A for behaviour where <b>pdns<= /b> watches and waits for IP to appear=0A and only then, when = given IP exists on the system, pdns would=0A start using it.<br> Wh= at is happening there - and how could I, if possible at all, get=0A = pdns to operate like that?<br> </span></span></div></blockquote><div><b= r></div><div>pdns-recursor does not do that, and it's hard to understand= what the benefit of that would be. The recursor only 'uses' those addre= sses by listening for incoming queries on them, so listening on an addre= ss which will not receive any queries (because it has not been assigned = to any interfaces) does not cause any harm or consume any resources.</di= v><div><br></div></body></html> --82a7f2a4e3c14006bdb1a8fc9648b90d-- --===============3069141492570713483== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Pdns-users mailing list [email protected] https://mailman.powerdns.com/mailman/listinfo/pdns-users --===============3069141492570713483==--