<p>Having a web-based menu or place to set a custom DNS server for the network would be helpful - something that adds entries to /etc/config/network and turns off rebind protection in /etc/config/dhcp. The process through ssh isn't hard, it is just a number of steps that someone not very familiar with the command line and vi would find difficult. Instructions at the bottom for an example.</p>

<p>This could be located in the basic menus some place, under applications or changing the menu to "local services".</p>

<p>Example instructions for adding a custom DNS:</p>

<p>Add a custom DNS entry, so names on the mesh such as “wiki.mesh” direct to the server<br>
i. SSH to the router. The command ssh root@thisnode should work. Don't save the ssh key<br>
if you use the name “thisnode”.<br>
ii. Edit the network file with the command: vi /etc/config/network<br>
A. Add the text “list dns x.x.x.x” to the interfaces for “wan” and “R2R”. The<br>
interfaces should look like:config interface 'R2R'<br>
        option class 'mesh'<br>
        option proto 'commotion'<br>
        option profile 'R2R'<br>
        list dns 'x.x.x.x'<br>
config interface 'wan'<br>
        option ifname 'eth0'<br>
        option proto 'commotion'<br>
        option class 'wired'<br>
        option meshed '0'<br>
        option dhcp 'auto'<br>
        list dns 'x.x.x.x'<br>
iii. Next, edit the dhcp file with the command: vi /etc/config/dhcp<br>
A. Find the line with the text “option rebind_protection '1'”. Change this option to '0'.<br>
The line should look like:<br>
option rebind_protection '0'<br>
iv. Save the file with the command :w, then exit the editor with the command :q!<br>
v. Finally, reboot the router with the command: reboot</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/opentechinstitute/luci-commotion/issues/452">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AC7qBJgh_ZvmtxmGyA02-k3VojvW5fBqks5nqkesgaJpZM4Defdn.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/opentechinstitute/luci-commotion/issues/452"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>