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.
This could be located in the basic menus some place, under applications or changing the menu to "local services".
Example instructions for adding a custom DNS:
Add a custom DNS entry, so names on the mesh such as “wiki.mesh” direct to the server
i. SSH to the router. The command ssh root@thisnode should work. Don't save the ssh key
if you use the name “thisnode”.
ii. Edit the network file with the command: vi /etc/config/network
A. Add the text “list dns x.x.x.x” to the interfaces for “wan” and “R2R”. The
interfaces should look like:config interface 'R2R'
option class 'mesh'
option proto 'commotion'
option profile 'R2R'
list dns 'x.x.x.x'
config interface 'wan'
option ifname 'eth0'
option proto 'commotion'
option class 'wired'
option meshed '0'
option dhcp 'auto'
list dns 'x.x.x.x'
iii. Next, edit the dhcp file with the command: vi /etc/config/dhcp
A. Find the line with the text “option rebind_protection '1'”. Change this option to '0'.
The line should look like:
option rebind_protection '0'
iv. Save the file with the command :w, then exit the editor with the command :q!
v. Finally, reboot the router with the command: reboot
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.
This could be located in the basic menus some place, under applications or changing the menu to "local services".
Example instructions for adding a custom DNS: