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 server, a SickRage VM and an OctoPi instance which I'd like to access via something like plex.local or sickrage.local instead of having to remember the IP of the server.
I remember my R7000 using DD-WRT could do this easily but I haven't noticed the option in the 2.1.2.18 firmware.
12 Replies
- FURRYe38Guru - Experienced User
I don't think NG supports this feature. Usually NG has DNS Relay enabled always on most of there FWs and routers. NG doesn't support the disabling of this feature that I've seen. Also loop back may not be supported on Orbi.
Something you can ask NG support about and see. Let us know if you find out anything.
- mvdpAspirant
See my comment on a similar request in the Idea-Exchange-For-Home list: orbi-add-dns-server/. This describes how to do add one line to the dnsmasq.conf file manually.
Ideally this one liner is in the conf file by default.
- FURRYe38Guru - Experienced User
How do you edit the .conf file?
mvdp wrote:
See my comment on a similar request in the Idea-Exchange-For-Home list: orbi-add-dns-server/. This describes how to do add one line to the dnsmasq.conf file manually.
Ideally this one liner is in the conf file by default.
- mvdpAspirant
With the vi editor.
When you've never used vi read à tutorial first.
- FURRYe38Guru - 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.
- tomsliwowskiApprentice
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- RocketSquirrelLuminary
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
- FURRYe38Guru - Experienced User
Ah...ok. Info I was looking for. Will give this a try.
Curious, this is only for setting up a local DNS server?
Any thoughts of how to in any way to disable NGs DNS static DNS relay would there?