On 01/04/10 10:05, 阮绍臣 wrote: Hi, > 2010/4/1 Miika Komu <miika.komu@xxxxxxx <mailto:miika.komu@xxxxxxx>> > > On 01/04/10 06:15, 阮绍臣 wrote: > > Hi, > > I guess this email isn't about "profiling" HIP as the topic > misleadingly suggests :) > > > Hi all: > Thanks for your help last time. I have got some new questions > about hipl: > 1. If I don't add map <peer HIT> <peer_locator> in > hipd_config,when I execute "ping6 PEER_HIT", there is no response > in hipd or ping. > If I add the map, and then it's working. But I want to test our own > DNS HIT_TO_LOCATOR query. > > > while it's perfectly ok to add the mapping to hipd_config, I would > suggest to have in the /etc/hosts and/or /etc/hip/hosts files. This > and other methods are described in the manual: > > http://hipl.hiit.fi/hipl/manual/ch04.html#sec_easy_methods > > Thanks for your patience.I'm sorry for use the wrong topic. > My point is that if my host doesn't configure the peer_HIT_TO_IP map, > hipd would trigger the query for DNS when I ping6 the peer HIT. > But when I ping6 the peer HIT, hipd doesn't send the query or trigger > base exchange.Do I have to configure the map in the /etc/hosts and/or > /etc/hip/hosts files before I want to communicate with peer host. you can configure it to hosts files or use the DNS extensions in /etc/hip/hipd_config: nsupdate on # publishing of local HITs and IP mappings in DNS hit-to-ip on # subscribing to remote HIT and IP mappings in DNS It's also possible to change the DNS server if you don't want to use public free service.