How to change DNS server on a Huawei B535-232 router

Step 1: Log into the router

Enter http://192.168.1.1/ in the address bar of your browser to access the router’s administration interface. You must be connected to the router via Wi-Fi or cable to be able to change settings.

Step 2: Go to the DHCP settings

First, click on “Advanced” in the top menu. Secondly, click on “Router” in the menu at the left side, and select “DHCP” in the submenu (selected by default).

Step 3: Access the command line in your browser

How to access the command line depends on your browser.

Chrome

To access the JavaScript Console:

  • On macOS press: “Command + Option (Alt) + J”

  • On Windows/Linux press: “Shift + CTRL + J”

Firefox

To access the Web Console:

  • On macOS press: “Command + Option (Alt) + K”

  • On Windows/Linux press: “Ctrl + Shift + K”

Safari

Press “Command + Option (Alt) + C” to access the JavaScript Console.

Edge

To access the Console:

  • On macOS press: “Command + Option (Alt) + J”

  • On Windows/Linux press: “Ctrl + Shift + J”

Step 4: Get access to DNS settings

On the command line enter:

$('#dhcp_dns').show();

The router’s administration interface for DHCP will now include an option to specify a DNS server of your choice. If necessary, close the command line window to return to the administration interface in full size.

Step 5: Specify the IP address of a DNS server

  • Click the check box next to “Set up the DNS server manually”.

  • Enter an IP address of a DNS server in the field “Primary DNS server”. It is not mandatory to enter a secondary IP address, but many providers also provide a secondary IP address in case of server or network problems.

  • Finally, save the settings.

Some fast stable public DNS servers are:

Cloudflare DNS

  • Primary server: 1.1.1.1

  • Secondary server: 1.0.0.1

Quad9

  • Primary server: 9.9.9.9

  • Secondary server: 149.112.112.112

Step 6: Reboot the router

Reboot the router by clicking the reboot icon at the top. It takes approx. a few minutes and all connected devices will briefly lose the connection. The router now uses your chosen DNS server.

Last updated