<div dir="ltr">Here's the specifics of what we are doing with <a href="http://broadband-hamnet.org" target="_blank">broadband-hamnet.org</a> live example with 0.6.7 :<div><div><br></div><div>Hna4</div><div>{</div><div> 10.161.53.32 255.255.255.248</div><div>}</div></div><div><br></div><div><div>LoadPlugin "olsrd_nameservice.so.0.3"</div><div>{</div><div> PlParam "sighup-pid-file" "/var/run/dnsmasq.pid"</div><div> PlParam "interval" "30"</div><div> PlParam "timeout" "300"</div><div> PlParam "name-change-script" "touch /tmp/namechange"</div><div> <font color="#cc0000"> PlParam "name" "AE6XE-gateway"</font></div><div><font color="#cc0000"> PlParam "10.161.53.36" "AE6XE-voip"</font></div><div><font color="#cc0000"> PlParam "10.161.53.34" "ae6xe-aircam2"</font></div><div> <font color="#cc0000"> PlParam "10.85.38.164" "dtdlink.AE6XE-gateway.local.mesh"</font></div><div> PlParam "service" "<a href="http://AE6XE-voip:80/%7Ctcp%7C10.161.53.36" target="_blank">http://AE6XE-voip:80/|tcp|10.161.53.36</a>"</div><div> PlParam "service" "<a href="http://ae6xe-aircam2:80/%7Ctcp%7Cfishcam-view_view" target="_blank">http://ae6xe-aircam2:80/|tcp|fishcam-view_view</a>"</div><div>}</div></div><div><br></div><div>Subsequently in /var/run/hosts_olsr:</div><div><br></div><div><div>### this /etc/hosts file is overwritten regularly by olsrd</div><div>### do not edit</div><div><br></div><div>127.0.0.1 localhost</div><div>::1 localhost</div><div><br></div><div><font color="#cc0000">10.84.38.164 AE6XE-gateway # myself</font></div><div><font color="#cc0000">10.161.53.36 AE6XE-voip # myself</font></div><div><font color="#cc0000">10.161.53.34 ae6xe-aircam2 # myself</font></div><div><font color="#cc0000">10.85.38.164 dtdlink.AE6XE-gateway.local.mesh # myself</font></div><div>10.45.205.112 dtdlink.K5DLQ-UNSM2-100.local.mesh # 10.44.205.112</div><div>10.44.205.112 K5DLQ-UNSM2-100 # 10.44.205.112</div><div>172.31.182.82 mid1.K5DLQ-UNSM2-100 # 10.44.205.112 (mid #1)</div><div>172.31.182.78 mid2.K5DLQ-UNSM2-100 # 10.44.205.112 (mid #2)</div></div><div>[...]</div><div><br></div><div>Regards,</div><div>Joe AE6XE</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 3, 2015 at 2:55 PM, Giuseppe De Marco <span dir="ltr"><<a href="mailto:demarcog83@gmail.com" target="_blank">demarcog83@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2015-01-03 11:33 GMT+01:00 Conrad Lara <<a href="mailto:ipstealer@cox.net">ipstealer@cox.net</a>>:<br>
> Is this a Commotion only change that it doesn't accept it? or something that just recently was pulled out? Quick glancing the code it looks like it still should work to me.<br>
><br>
> I am using this feature on my network (0.6.7) from OLSR.org with BBHN patch sets that don't touch nameservice) without issue.<br>
><br>
> This is the exception to the normal rule of having a setting name value pair in that it uses the IP address is where the parameter name normally is and the value is the hostname.<br>
><br>
> Make sure you are using a properly formatted IP address. Also the IP used has to be in your local list of OLSR listens addresses OR your HNA announcement range otherwise it will be thrown out as invalid.<br>
<br>
looking at /var/run/hosts_olsr<br>
<br>
root@myhost:~# cat /var/run/hosts_olsr<br>
### this /etc/hosts file is overwritten regularly by olsrd<br>
### do not edit<br>
<br>
127.0.0.1 localhost<br>
::1 localhost<br>
<br>
172.17.87.3 myhostR # myself<br>
172.17.87.39 Bri # 172.17.87.3<br>
172.17.87.41 midolini # 172.17.87.3 (mid #1)<br>
172.17.87.40 mini # 172.17.87.11 (mid #2)<br>
[...]<br>
<br>
these are the olsr hostnames that we get through olsr.<br>
We're also looking for a feature, inside nameservice plugin, that<br>
could announce custom hostnames that are working in every HNA.<br>
Imagine that we want to resolve an static hostname inside an HNA, a<br>
server name for example.<br>
We are looking for a P2P DNS but olsr-nameservice could do that if we<br>
could insert a static hostname/ip inside olsr nameserver's<br>
configuration in a way that every olsr node could resolve it in its<br>
/var/run/hosts_olsr<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Olsr-dev mailing list<br>
<a href="mailto:Olsr-dev@lists.olsr.org">Olsr-dev@lists.olsr.org</a><br>
<a href="https://lists.olsr.org/mailman/listinfo/olsr-dev" target="_blank">https://lists.olsr.org/mailman/listinfo/olsr-dev</a><br>
</font></span></blockquote></div><br></div>