NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
tomsliwowski
Mar 22, 2018Apprentice
Orbi Local DNS?
So I have a number of systems that I've assigned static DHCP addresses and I was wondering if the Orbi has some local DNS server that I can configure to resolve them? I have a file server, a Plex...
FURRYe38
Aug 29, 2018Guru - Experienced User
And how is the .conf file pulled into Vi for editing?
Ya, not sure if saving the change or if COMMIT would help either.
- tomsliwowskiAug 29, 2018Apprentice
Just do this:
root@RBR50:~# vi /tmp/resolv.conf
You should see this:
Use your arrow keys to move to the second line and press shift+a to jump to the end of the line and enter edit mode then hit enter for a new line.
Type or paste in this line:
addn-hosts=/tmp/dhcpd_hostlist
Then press escape to get out of edit mode and type in :wq! to save the changes and quit VI.
I just realized what dhcpd_hostlist is, it's the file that contains all the addresses in your Address Reservation list that in Advanced -> Setup -> LAN Setup so if you have that list set up right then you should be just about done. If not you can choose to either edit that list via the web GUI or using vi.
Then the last part is just to restart the dnsmasq daemon using:
kill $(pidof dnsmasq)
/usr/sbin/dnsmasq --except-interface=lo -r /tmp/resolv.conf- RocketSquirrelAug 31, 2018Luminary
Asking someone to learn vi is like asking them to learn esperanto.
To add a line to an existing file, it is much simpler to use the shell's append syntax:
echo 'The new line' >> TheExistingFile