Skip to content
Switch article
Using OKPROXY on WindowsUsing OKPROXY on LinuxHow to Change DNS Settings

How to Change DNS Settings

Choose where to change DNS based on which devices need to use the new settings:

  • To update multiple miners or the entire LAN, change DNS on the router.
  • If only the current computer has trouble opening websites or downloading files, change DNS on that computer.
  • If only one miner has a problem, or it still has a problem after you change the router settings, change DNS in that miner's dashboard.

If you are unsure, start with the router. Do not immediately change the static IP and DNS settings on multiple miners. Incorrect IP, gateway, or DNS values can take a miner offline.

Change DNS on the router

After you change DNS on the router, devices that obtain their network settings automatically from that router will use the new DNS servers. Menu names vary by router brand:

  1. Connect to the LAN used by the miners and open the router management address in a browser, such as 192.168.1.1, 192.168.0.1, or 10.0.0.1.
  2. Sign in to the router and open Internet Settings, WAN Settings, External Network Settings, Network Parameters, or a similarly named page.
  3. Find DNS, DNS Server, Preferred DNS, Alternate DNS, or similar fields.
  4. Change DNS from Automatic to Manual, then enter the DNS addresses you want to use, such as 223.5.5.5 and 114.114.114.114.
  5. Save the settings. If prompted, restart or reconnect the router, or reconnect the miners and computers to the network.

Record the original settings first

Record the original DNS settings before making changes. A miner using a static IP may need to be updated separately in its dashboard. If your network uses multiple routers, change the router to which the miners are actually connected.

Change DNS on a computer

General Windows path:

  1. Press Win + R, enter ncpa.cpl, and press Enter to open Network Connections.
  2. Right-click the active Ethernet or WLAN connection and select Properties.
  3. Select Internet Protocol Version 4 (TCP/IPv4), then click Properties.
  4. Select Use the following DNS server addresses.
  5. Enter the Preferred DNS server and Alternate DNS server, then click OK.
  6. Disconnect and reconnect the network, or restart the computer, before testing again.

General Linux desktop path:

  1. Open Settings > Network.
  2. Select the active connection, such as Wired, Wi-Fi, or Wireless.
  3. Click Settings, the gear icon, or Edit next to the connection.
  4. Open IPv4.
  5. Change DNS from Automatic to Manual, then enter the DNS addresses.
  6. Save the settings, then reconnect the network or restart the computer before testing again.

Do not edit system files if you are unsure

If the Linux server has no graphical interface, or you are unsure which network manager it uses, change DNS on the router or in the miner dashboard instead. Directly editing system configuration files is not recommended for inexperienced users.

Change DNS in a miner dashboard

Changing DNS in a miner dashboard affects only that miner. Menu names vary by brand, but the settings are usually under Network, Network Settings, Network Configuration, or IP Settings.

  1. Enter the miner IP address in a browser and sign in to its dashboard.
  2. Open Network, Network Settings, Network Configuration, or IP Settings.
  3. Find DNS, Preferred DNS, Alternate DNS, or similar fields.
  4. If the page requires you to select Static or Static IP before entering DNS, record the current IP Address, Subnet Mask, Gateway, and DNS values first.
  5. Enter the DNS addresses and click Save, Apply, or Save & Apply. Wait for the miner network to restart, then open the miner IP address again.

Verify all network settings before saving

Check the IP address, gateway, and DNS carefully before saving. Incorrect values can take the miner offline and may require on-site network access or the router dashboard to correct.