How to change the DNS settings on a Linksys WAG54GS router

Thumbnail image of Setup Router Staff
Setup Router Staff
(Last Updated: ) | Reading Time: 4 minutes

This page shows how to change the DNS settings on the Linksys WAG54GS router.

Other Linksys WAG54GS Guides

This is the dns guide for the Linksys WAG54GS. We also have the following guides for the same router:

What is the DNS setting on a Router

When you connect a router to the Internet it gets a few settings from your ISP automatically. One of the settings that the ISP sets in your router is the DNS setting. DNS stands for Domain Name System and it is used to convert Internet names into actual IP addresses. For instance, when you go to "google.com", your are really connecting to an IP address that is mapped through DNS to a number such as:

  • 173.194.33.73

This mapping happens automatically every time you visit any page on the Internet.

Why Change Your Router's DNS Setting

Some ISPs choose to abuse the DNS system and map unknown names to servers that they control. This can be done in a way that you don't know it is happening since your router is getting its DNS settings from your ISP. For instance, if you have one of these ISPs who is hijacking your DNS, and you try to surf the web to "some-random-site.com" and "some-random-site.com" does not exist, you might get a page back from your ISP with local advertisements on it.

By changing your DNS setting in your router you will effectively change the DNS setting for every computer on your network. This is because when a device is connected to your network your router automatically hands out its own DNS settings to that device. This way you can protect your entire network from ISP hijacking with just one setting.

What Should I Change My DNS To

There are 2 really great DNS servers on the Internet that you can choose from right now: Google Public DNS and OpenDNS. If you are not sure which one to pick then just use Google Public DNS.

When you change the DNS settings in your router, you usually have to enter a Primary and a Secondary setting. The secondary is only used if the primary can not be located. Here are common settings:

If you want to use Google Public DNS, use the following settings:

  • Primary: 8.8.8.8
  • Secondary: 8.8.4.4

If you want to use OpenDNS, use the following settings:

  • 208.67.222.222
  • 208.67.220.220

Login To The Linksys WAG54GS

To get started configuring the Linksys WAG54GS DNS page you need to login to your router. If you are already logged in you can skip this step.

To login to the Linksys WAG54GS, follow our Linksys WAG54GS Login Guide.

Change the DNS settings on a Linksys WAG54GS

If you followed our login guide above then you should see this screen.

router status mac address internet IP
This is the status page from your Linksys WAG54GS router.

Starting on the Status page of the Linksys WAG54GS router, click the choice at the top of the page labeled Setup, then Basic Setup.

Configure the DNS section of your Linksys WAG54GS

router setup
This is the setup page from your Linksys WAG54GS router.

This is the correct page to be on in order to change the Domain Name System settings, or DNS settings.

This router has two different spots for setting the DNS server on the same page, we will set both. The first is in the section labeled IP Settings. This is most likely the DNS Proxy. In the box labeled Primary DNS, enter the primary address of the DNS server you want to use. Enter the secondary address in the boxes labeled Secondary DNS.

Scroll a little farther down this page to the Network Address Server Settings (DHCP). In this section you see another place to enter the DNS server, this one is the one the router will use. In the boxes labeled Static DNS 1 enter the same primary address that you entered earlier. This DNS server will always be accessed first. In the next set of boxes, labeled Static DNS 2, enter the same secondary address that you picked earlier. This address is the one that is used when the first can't be found. If you have a third address, enter that in the next set of boxes called Static DNS 3.

That is all there is to it. Click Save Settings before exiting.

Possible Problems when Changing your DNS settings

Most devices on your network will not begin using the new DNS settings until they have been rebooted. After rebooting a device you can go to it's network settings and verify that it is using the DNS servers that you specified.

Other Linksys WAG54GS Info

Don't forget about our other Linksys WAG54GS info that you might be interested in.

This is the dns guide for the Linksys WAG54GS. We also have the following guides for the same router: