The DHT DNS search problem

32 views
Skip to first unread message

wab...@hotmail.com

unread,
Sep 6, 2011, 12:00:54 PM9/6/11
to acis.p2p
Hello David,

I find a problem with the DNS search on the overlay, I am not sure if
it is a problem. I added the following dns info into ipop.config:
<Dns>
<NameServer>127.0.0.1</NameServer>
<Type>DhtDns</Type>
<ForwardQueries>true</ForwardQueries>
</Dns>

And then I inserted a dht entry 'c123456789' into the overlay with the
following:
HandleDhcp:
rpacket = dhcp_server.ProcessPacket(dhcp_packet,
AppNode.Node.Address.ToString(), last_ipb,
"c123456789");

And after the dhtipop started, the tapipop can obtain an address
'10.250.a.b'.
But when I ping the name with the following command 'ping c123456789',
the dht dns got an address of '10.250.c.d', the expected dns dht
search result should be '10.250.a.b'. Is there any problem about the
DHT put/get operation?

Thanks and Best regards,
Harold.
Reply all
Reply to author
Forward
0 new messages