[Reference:<_A3197@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en
[DeleGate-En] Re: Delegate: Invalid DNS name causes infinite loop
Yutaka Sato wrote:
> Hi,
>
> In message <_A3196@delegate-en.ML_> on 04/23/06(02:35:26)
> you Snow <pnygabdyi-qghxypigkja6.ml@delegate.org> wrote:
> |If a computer's name has an underscore in it (eg bad_name.domain.co.uk),
> |then resolving it will sometimes cause Delegate to go into an infinite
> |loop and stop answering requests. The loop doesn't use lots of CPU, but
> |you can see it happening in the the log; maybe it's making requests to
> |itself? It seems to be something to do with IPv6, but there is no IPv6
> |on the network.
> |
> |Delegate runs on the same machine as the client apps and it is setup as
> |the machine's default DNS resolver.
>
> It makes the loop because of you setup the loop as you described.
>
> query1 -> DeleGate -> query2 -> DeleGate -> ...
>
> I think it should be solved by a modification not to use inet_pton() of
> WinSock, to escape issueing unnecessary DNS query by DeleGate which can
> occur in other than a DeleGate as a DNS server too.
> The enclosed patch will be effective to escape your problem for a while.
Thanks Yutaka. I've been using it for 2 days with no problems, so the
patch seems to have fixed it.
--
Snow
|