LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-27-2022, 01:36 PM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,638

Rep: Reputation: 183Reputation: 183
Can Netgear n900 be a DNS server for my LAN?


I've replace my ASUS RT-AC66U with a Netgear n900. The ASUS acted as my LAN DNS server, but the Netgear doesn't seem to be working. On the setup page > Advance > LAN Setup, I have the MAC, IP and host name configure under Address Reservation. I have "Use Router as DNS Server" checked.

Not working.

Suggestions?
 
Old 04-27-2022, 01:55 PM   #2
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,179

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Is your DHCP settings setup with the IP of this DNS server? That is how any hosts will get their DNS settings unless you are manually setting up IPs.
 
Old 04-27-2022, 03:40 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,820

Rep: Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960
With a quick scan of the N900 online manual I could not find any reference to a local DNS setting nor the "use router as DNS" checkbox.

If installed, avahi it can be used as a local DNS.

https://www.linuxquestions.org/quest...ns-4175659954/
 
Old 04-27-2022, 03:40 PM   #4
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,638

Original Poster
Rep: Reputation: 183Reputation: 183
Quote:
Originally Posted by uteck View Post
Is your DHCP settings setup with the IP of this DNS server? That is how any hosts will get their DNS settings unless you are manually setting up IPs.
The new Netgear router has the same IP as the previous ASUS router. Otherwise, I have no local settings on LAN hosts.

I can resolve domains external to the LAN, just not servers on the LAN.

Is it possible the Netgear doesn't support this feature?

Last edited by mfoley; 04-27-2022 at 04:03 PM.
 
Old 04-27-2022, 04:05 PM   #5
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,179

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
If the servers have the avahi service installed then you can get to them by adding .local to their host name.
 
Old 04-27-2022, 04:41 PM   #6
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,638

Original Poster
Rep: Reputation: 183Reputation: 183
Quote:
Originally Posted by uteck View Post
If the servers have the avahi service installed then you can get to them by adding .local to their host name.
This is Slackware 15.0 and apparently avahi isn't part of the distro.

To get by, I've added my LAN hosts to each other's /etc/hosts file. I'm beginning to think that, while the Netgear does do DNS for public domain name, it doesn't include local/LAN host names.
 
Old 04-27-2022, 04:56 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,820

Rep: Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960
I could not find anything in the manual...

If you assign all of your devices a static IP address then using /etc/hosts isn't a problem.

dnsmasq is another option and it is easy to configure. Its DHCP server integrates with its DNS to provide a local DNS.

https://thekelleys.org.uk/dnsmasq/doc.html
 
Old 04-28-2022, 12:40 AM   #8
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,638

Original Poster
Rep: Reputation: 183Reputation: 183
Well, I could also configure bind -- I've don't that before. But, as there are only 3 hosts on my LAN that need to be found by host name, it's easy enough to set them with static IPs (actually, the Netgear will do that without me having to configure the IP on the hosts), and I can make two entries in each of their /etc/host files. Easier than bind or dnsmasq set up, at this level.

I switched routers in the first place because I suspect that my ASUS is failing intermittently. I'll run with the Netgear for a while and if the network issues conclusively point to a failing ASUS, I'll buy a new router; either another ASUS or some other router that supports local DNS.
 
Old 04-28-2022, 04:59 PM   #9
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,638

Original Poster
Rep: Reputation: 183Reputation: 183
Well, I've continued to have intermittent Internet connection loss with the Netgear router, so the router isn't the problem. Today, I went to Spectrum and got a new cable modem. We'll see if that solves the problem or not.

I hooked up the ASUS router to the new cable modem and interestingly, it is not DNS resolving local host names either now. Very odd. When it was hooked up before it did so. I'll leave the entries in /etc/hosts for now. Maybe it just required time to resync tables.
 
Old 04-28-2022, 05:21 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,820

Rep: Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960
I could not find anything in the ASUS RT-AC66U online manual about local DNS. It mentions a dynamic DNS service provided by Asus for remote access and setting up WAN DNS either manually or via the ISP.

I am not real impressed with Spectrum's hardware.
 
Old 04-29-2022, 01:36 PM   #11
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,638

Original Poster
Rep: Reputation: 183Reputation: 183
Day two with no intermittent Internet outages. Apparently the older ZOOM cable modem went bad. That was not Spectrum's modem. I bought it locally at MicroCenter about 9 years ago. The new one is from Spectrum and I got it because it is supposedly free.

As to the ASUS router doing local name resolution, that's back to working now. I don't know if the servers just needed time to refresh DNS stuff or if rebooting (i.e. resetting eth0/DHCP) did it, but I no longer need all local hosts in /etc/hosts. So, that's apparently not a feature of the Netgear router.

Fingers crossed that the new cable modem solved the problem.

Four days later ... Still no intermittent failures. Running with new cable modem and original ASUS router. The problem must have been a fail[ing] cable modem. Problem solved. Plus, I know that the ASUS will act as a name server for the local hosts and the Netgear does not. Good to know.

Last edited by mfoley; 05-03-2022 at 12:34 PM. Reason: more testing
 
  


Reply

Tags
asus, dns, router



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Netgear N900 WDNA 4100 wireless usb adapter- Help dcuniverse Linux - Newbie 2 08-11-2013 08:04 PM
LXer: Nokia N900 Linux Smartphone LXer Syndicated Linux News 0 08-27-2009 08:01 AM
LXer: Nokia N900 Linux Smartphone LXer Syndicated Linux News 0 08-27-2009 07:30 AM
SuSE Linux Enterprise Desktop 10 + ADSL Netgear DG834GT + USB Netgear WPN111 paolinux Linux - Wireless Networking 1 12-31-2006 05:58 AM
Netgear 2.4GHz Wireless Desktop Card Netgear MA311 Freaksta Linux - Hardware 8 05-27-2003 12:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration