<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=OpenWRT%3A_OLSR_nameservice_plugin</id>
	<title>OpenWRT: OLSR nameservice plugin - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=OpenWRT%3A_OLSR_nameservice_plugin"/>
	<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=OpenWRT:_OLSR_nameservice_plugin&amp;action=history"/>
	<updated>2026-04-23T00:35:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://lms.onnocenter.or.id/wiki/index.php?title=OpenWRT:_OLSR_nameservice_plugin&amp;diff=38991&amp;oldid=prev</id>
		<title>Onnowpurbo at 06:30, 22 December 2013</title>
		<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=OpenWRT:_OLSR_nameservice_plugin&amp;diff=38991&amp;oldid=prev"/>
		<updated>2013-12-22T06:30:35Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 06:30, 22 December 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l117&quot;&gt;Line 117:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 117:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          Add a new service announcement to be spreaded in the mesh.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          Add a new service announcement to be spreaded in the mesh.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;P lParam &lt;/del&gt;&quot;services-file&quot; &quot;/path/to/services_file&quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; PlParam &lt;/ins&gt;&quot;services-file&quot; &quot;/path/to/services_file&quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  	File to write (default: /var/run/services_olsr)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  	File to write (default: /var/run/services_olsr)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
	<entry>
		<id>https://lms.onnocenter.or.id/wiki/index.php?title=OpenWRT:_OLSR_nameservice_plugin&amp;diff=38988&amp;oldid=prev</id>
		<title>Onnowpurbo: /* SAMPLE CONFIG */</title>
		<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=OpenWRT:_OLSR_nameservice_plugin&amp;diff=38988&amp;oldid=prev"/>
		<updated>2013-12-22T06:21:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;SAMPLE CONFIG&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 06:21, 22 December 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l144&quot;&gt;Line 144:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 144:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;add in /etc/olsrd.conf:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;add in /etc/olsrd.conf:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  LoadPlugin &quot;olsrd_nameservice.so.0.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2&lt;/del&gt;&quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  LoadPlugin &quot;olsrd_nameservice.so.0.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;3&lt;/ins&gt;&quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  	PlParam &amp;quot;name&amp;quot; &amp;quot;thisismyname&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  	PlParam &amp;quot;name&amp;quot; &amp;quot;thisismyname&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
	<entry>
		<id>https://lms.onnocenter.or.id/wiki/index.php?title=OpenWRT:_OLSR_nameservice_plugin&amp;diff=38984&amp;oldid=prev</id>
		<title>Onnowpurbo at 05:06, 22 December 2013</title>
		<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=OpenWRT:_OLSR_nameservice_plugin&amp;diff=38984&amp;oldid=prev"/>
		<updated>2013-12-22T05:06:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://lms.onnocenter.or.id/wiki/index.php?title=OpenWRT:_OLSR_nameservice_plugin&amp;amp;diff=38984&amp;amp;oldid=38983&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
	<entry>
		<id>https://lms.onnocenter.or.id/wiki/index.php?title=OpenWRT:_OLSR_nameservice_plugin&amp;diff=38983&amp;oldid=prev</id>
		<title>Onnowpurbo: New page: Reference: https://github.com/servalproject/olsr/blob/master/lib/nameservice/README_NAMESERVICE   --------------------------------------------------------------------- NAMESERVICE PLUGIN F...</title>
		<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=OpenWRT:_OLSR_nameservice_plugin&amp;diff=38983&amp;oldid=prev"/>
		<updated>2013-12-22T05:02:02Z</updated>

		<summary type="html">&lt;p&gt;New page: Reference: https://github.com/servalproject/olsr/blob/master/lib/nameservice/README_NAMESERVICE   --------------------------------------------------------------------- NAMESERVICE PLUGIN F...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Reference: https://github.com/servalproject/olsr/blob/master/lib/nameservice/README_NAMESERVICE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
NAMESERVICE PLUGIN FOR OLSRD&lt;br /&gt;
by Bruno Randolf &amp;lt;bruno.randolf@4g-systems.biz&amp;gt;&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
a simple DNS replacement for OLSR networks&lt;br /&gt;
&lt;br /&gt;
this plugin distributes host name (DNS) information over OLSR. every &lt;br /&gt;
node which runs the olsr daemon can announce it&amp;#039;s own name, names for&lt;br /&gt;
other IP adresses it is associated with (HNAs) and if it is running&lt;br /&gt;
a &amp;quot;real&amp;quot; nameserver which can resolve other (internet) names (upstream &lt;br /&gt;
dns server).&lt;br /&gt;
&lt;br /&gt;
the nodes in the network collect this information and write the host &lt;br /&gt;
names to a file (possibly /etc/hosts), and the 3 nearest upstream &lt;br /&gt;
nameservers to another file (possibly /etc/resolv.conf).&lt;br /&gt;
&lt;br /&gt;
these files can be used to resolve hostnames on the local system and/or&lt;br /&gt;
be read by a DNS server like &amp;quot;dnsmasq&amp;quot;, to make the names available &lt;br /&gt;
via the ordinary DNS protocol to other clients as well.&lt;br /&gt;
&lt;br /&gt;
the default location of the hosts file is&lt;br /&gt;
&amp;quot;/var/run/hosts_olsr&amp;quot; on unixes&lt;br /&gt;
&amp;quot;C:\WINDOWS\hosts_olsr&amp;quot; on windows&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
PLUGIN PARAMETERS (PlParam)&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
PlParam &amp;quot;name&amp;quot; &amp;quot;my-name.mesh&amp;quot;&lt;br /&gt;
	the name of this OLSR node (main address).&lt;br /&gt;
	can be specified multiple times for different names.&lt;br /&gt;
&lt;br /&gt;
PlParam &amp;quot;IP.ADDR&amp;quot; &amp;quot;another-name.mesh&amp;quot;&lt;br /&gt;
	a name for a specified IP address.&lt;br /&gt;
	the IP address has to be either from one of the olsr &lt;br /&gt;
	interfaces or within a HNA network we announce.&lt;br /&gt;
	can be specified multiple times.&lt;br /&gt;
&lt;br /&gt;
PlParam &amp;quot;hosts-file&amp;quot; &amp;quot;/path/to/hosts_file&amp;quot;&lt;br /&gt;
	which file to write to (usually /etc/hosts).&lt;br /&gt;
	(default: /var/run/hosts_olsr)&lt;br /&gt;
&lt;br /&gt;
PlParam &amp;quot;suffix&amp;quot; &amp;quot;.olsr&amp;quot;&lt;br /&gt;
	local suffix which is appended to all received names.&lt;br /&gt;
	(default: &amp;quot;&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
PlParam &amp;quot;add-hosts&amp;quot; &amp;quot;/path/to/file&amp;quot;&lt;br /&gt;
	copy contents of this additional hosts file to output file.&lt;br /&gt;
	this is practical if you alreay use your /etc/hosts file.&lt;br /&gt;
&lt;br /&gt;
PlParam &amp;quot;dns-server&amp;quot; &amp;quot;IP.ADDR&amp;quot;&lt;br /&gt;
	anounce that this IP has a full (upstream) DNS server. if &lt;br /&gt;
	IP.ADDR is not specified (&amp;quot;&amp;quot;), the main address is used.&lt;br /&gt;
	nodes which don&amp;#039;t know a nameserver will automatically use&lt;br /&gt;
	this nameserver.&lt;br /&gt;
&lt;br /&gt;
PlParam &amp;quot;resolv-file&amp;quot; &amp;quot;/path/to/resolv.conf&amp;quot;&lt;br /&gt;
	path to resolv.conf file (usually /etc/resolv.conf)&lt;br /&gt;
	if set, the 3 nearest (best ETX) upstream nameservers annonced &lt;br /&gt;
	by other nodes in the network are written to this file&lt;br /&gt;
&lt;br /&gt;
PlParam &amp;quot;interval&amp;quot; &amp;quot;SEC&amp;quot;&lt;br /&gt;
	interval for sending NAME messages in seconds.&lt;br /&gt;
	(default: 120 - 2 minutes)&lt;br /&gt;
&lt;br /&gt;
PlParam &amp;quot;timeout&amp;quot; &amp;quot;SEC&amp;quot;&lt;br /&gt;
	validity time for received NAME messages in seconds.&lt;br /&gt;
	(default: 3600 - 1 hour)&lt;br /&gt;
&lt;br /&gt;
PlParam &amp;quot;lat&amp;quot; &amp;quot;12.123&amp;quot;&lt;br /&gt;
	Float: Decimal latitude for this node to be flooded in the mesh&lt;br /&gt;
&lt;br /&gt;
PlParam &amp;quot;lon&amp;quot; &amp;quot;12.123&amp;quot;&lt;br /&gt;
	Float: Decimal longitude for this node to be flooded in the mesh&lt;br /&gt;
&lt;br /&gt;
PlParam &amp;quot;latlon-file&amp;quot; &amp;quot;/var/run/latlon.js&amp;quot;&lt;br /&gt;
	Filename to write Javascript statements to. Default is &amp;quot;latlon.js&amp;quot;&lt;br /&gt;
	(either /var/run or windows directory). This file is written, if&lt;br /&gt;
	the &amp;quot;lat&amp;quot; and &amp;quot;lon&amp;quot; parameters are set. It has this format:&lt;br /&gt;
&lt;br /&gt;
	/* One or more mid-aliases of multihomed nodes */&lt;br /&gt;
	Mid(&amp;#039;fromip&amp;#039;,&amp;#039;toip&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
	/* One special Node() entry for this node&lt;br /&gt;
	 * defhna means: This node announces hna 0.0.0.0/0&lt;br /&gt;
	 * defroute means: The current neighbour IP for 0.0.0.0/0&lt;br /&gt;
	 */&lt;br /&gt;
	Self(&amp;#039;mainip&amp;#039;,lat,lon,defhna?1:0,&amp;#039;defroute&amp;#039;,&amp;#039;name&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
	/* One or more node entires for other nodes */&lt;br /&gt;
	Node(&amp;#039;mainip&amp;#039;,lat,lon,this-node-defhna?1:0,&amp;#039;defroute&amp;#039;,&amp;#039;name&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
	/* One or more links between nodes */&lt;br /&gt;
	Link(&amp;#039;fromip&amp;#039;,&amp;#039;toip&amp;#039;,lq,nlq,etx);&lt;br /&gt;
&lt;br /&gt;
PlParam &amp;quot;latlon-infile&amp;quot; &amp;quot;name-of-input.txt&amp;quot;&lt;br /&gt;
	Filename to read lat/lon positions from. Meant to be used&lt;br /&gt;
	by a walking GPS receiver. Just write comma separated decimal&lt;br /&gt;
	latitude and longitude to this file. Will overwrite the&lt;br /&gt;
	&amp;quot;lat&amp;quot; and &amp;quot;lon&amp;quot; parameters during runtime.&lt;br /&gt;
&lt;br /&gt;
PlParam &amp;quot;sighup-pid-file&amp;quot; &amp;quot;/path/to/pidfile.pid&amp;quot;&lt;br /&gt;
        (*nix systems only) Sends a HUP signal to the process specified&lt;br /&gt;
        by the pidfile (usually /var/run/dnsmasq.pid) when the host name&lt;br /&gt;
        table changes. This is useful for letting dnsmasq or bind know&lt;br /&gt;
        they have to reload their hosts file.&lt;br /&gt;
&lt;br /&gt;
PlParam &amp;quot;name-change-script&amp;quot; &amp;quot;/path/to/script&amp;quot;&lt;br /&gt;
        Script to execute when there is a change in the hosts names&lt;br /&gt;
        table. Useful for executing a script that uses the hosts file&lt;br /&gt;
        to keep a website or a database updated.&lt;br /&gt;
&lt;br /&gt;
PlParam &amp;quot;service&amp;quot; &amp;quot;http://me.olsr:80|tcp|my little homepage&amp;quot;&lt;br /&gt;
        Add a new service announcement to be spreaded in the mesh.&lt;br /&gt;
&lt;br /&gt;
PlParam &amp;quot;services-file&amp;quot; &amp;quot;/path/to/services_file&amp;quot;&lt;br /&gt;
	File to write (default: /var/run/services_olsr)&lt;br /&gt;
&lt;br /&gt;
PlParam &amp;quot;services-change-script&amp;quot; &amp;quot;/path/to/script&amp;quot;&lt;br /&gt;
        Similar to the previous parameter. Script to execute when there&lt;br /&gt;
        is a change in the services list propagated by the nameserver&lt;br /&gt;
        plugin. Useful for executing a script that uses the services file&lt;br /&gt;
        to keep a website or a database updated.&lt;br /&gt;
&lt;br /&gt;
PlParam &amp;quot;mac&amp;quot; &amp;quot;xx:xx:xx:xx:xx:xx[,0-255]&amp;quot;&lt;br /&gt;
        Add a new MAC addr to be spreaded in the mesh. This MAC addr&lt;br /&gt;
        may be used to fine control nerve-wreck-page solutions based&lt;br /&gt;
        on MAC adresses. The optional dec. number designates a class.&lt;br /&gt;
&lt;br /&gt;
PlParam &amp;quot;macs-file&amp;quot; &amp;quot;/path/to/macs_file&amp;quot;&lt;br /&gt;
	File to write (default: /var/run/macs_olsr)&lt;br /&gt;
&lt;br /&gt;
PlParam &amp;quot;macs-change-script&amp;quot; &amp;quot;/path/to/script&amp;quot;&lt;br /&gt;
        Similar to the previous parameter. Script to execute when there&lt;br /&gt;
        is a change in the macs list propagated by the nameserver&lt;br /&gt;
        plugin. Useful for executing a script that uses the services file&lt;br /&gt;
        to keep a website or a database updated.&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
SAMPLE CONFIG&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
add in /etc/olsrd.conf:&lt;br /&gt;
&lt;br /&gt;
 LoadPlugin &amp;quot;olsrd_nameservice.so.0.2&amp;quot;&lt;br /&gt;
 {&lt;br /&gt;
 	PlParam &amp;quot;name&amp;quot; &amp;quot;thisismyname&amp;quot;&lt;br /&gt;
 	PlParam &amp;quot;hosts-file&amp;quot; &amp;quot;/etc/hosts&amp;quot;&lt;br /&gt;
 	PlParam &amp;quot;resolv-file&amp;quot; &amp;quot;/etc/resolv.conf&amp;quot;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
USING THE NAME INFORMATION&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
to use the name information distributed by the plugin actually for&lt;br /&gt;
name resolution you can do one of the following.&lt;br /&gt;
&lt;br /&gt;
UNIX VARIANTS:&lt;br /&gt;
&lt;br /&gt;
* overwrite /etc/hosts&lt;br /&gt;
	be sure you have nothing in /etc/hosts which you still need and&lt;br /&gt;
	configure the plugin with PlParam &amp;quot;host-file&amp;quot; &amp;quot;/etc/hosts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* link /etc/hosts&lt;br /&gt;
	ln -s /var/run/hosts_olsr /etc/hosts&lt;br /&gt;
&lt;br /&gt;
* use dnsmasq&lt;br /&gt;
	if you want to make the names available via ordinary DNS&lt;br /&gt;
	you can use dnsmasq to read the hosts file and serve it to&lt;br /&gt;
	users. add &amp;quot;addn-hosts=/var/run/hosts_olsr&amp;quot; to dnsmasq.conf &lt;br /&gt;
        and:&lt;br /&gt;
               PlParam &amp;quot;sighup-pid-file&amp;quot; &amp;quot;/var/run/dnsmasq.pid&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        to your nameservice plugin configuration.&lt;br /&gt;
&lt;br /&gt;
        This is especially usefull for infrastructure mesh networks that&lt;br /&gt;
        can&amp;#039;t afford to run olsrd on all the clients but wish to provide&lt;br /&gt;
        DNS to them. This is solved by running dnsmasq and olsrd with&lt;br /&gt;
        this setup on &amp;quot;edge&amp;quot; nodes that provide connectivity.&lt;br /&gt;
&lt;br /&gt;
WINDOWS:&lt;br /&gt;
&lt;br /&gt;
* overwrite C:\WINDOWS\system32\drivers\etc\hosts&lt;br /&gt;
	be sure you have nothing in the file which you still need &lt;br /&gt;
	and configure the plugin with&lt;br /&gt;
        PlParam &amp;quot;hosts-file&amp;quot; &amp;quot;C:\WINDOWS\system32\drivers\etc\hosts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
TODO&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
  &lt;br /&gt;
  * implement a small DNS server into the plugin?&lt;br /&gt;
  * or make dynamic DNS updates for bind?&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
EOF / 30.06.2007&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Referensi==&lt;br /&gt;
&lt;br /&gt;
* https://github.com/servalproject/olsr/blob/master/lib/nameservice/README_NAMESERVICE&lt;/div&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
</feed>