<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I ran into a problem while trying to run both bind9 and pdns_recursur on the same box.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Bind9 can be configured to listen on certain IPv4 addresses, but for IPv6 the possible choices are either 'any'  or 'none'. It seems this is the root-cause of my problem, but I do not quite understand precisely why.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Here is my situation:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>pdns_recursor configured for local-address 192.168.1.1, interface eth1.</DIV><DIV>bind9 configured to listen on 192.168.2.2, interface eth0  (and obviously on all IPv6 addresses, including the one on eth1)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>When I start bind9 first and then pdns_recursor, I get:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Exception: Resolver binding to server socket on port 53 for 192.168.1.1: Address already in use</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>(netstat clearly shows that bind9 is *not* in the way on that ipv4 address though)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>When I configure bind9 not to use IPv6 at all, both of the applications run happily together.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>When I start pdns_recursor first and then bind9 (with IPv6 enabled) it complains in a similar way.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Can this be fixed, or is this expected behaviour and am I missing something?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>OS:<SPAN class="Apple-tab-span" style="white-space:pre">                          </SPAN>Debian Linux</DIV><DIV>Kernel:<SPAN class="Apple-tab-span" style="white-space:pre">                  </SPAN>2.6.8-3-k7 </DIV><DIV>Bind9:<SPAN class="Apple-tab-span" style="white-space:pre">                    </SPAN>9.2.4-1sarge1</DIV><DIV>pdns_recursor:<SPAN class="Apple-tab-span" style="white-space:pre">  </SPAN> 3.1.3 static .deb from powerDNS website</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks!</DIV><DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>--</DIV><DIV>Marco</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></DIV></BODY></HTML>