User Agents

Web browsers and everyday web tech, explained

Change DNS on Galaxy S9: Step-by-Step

· 6 min read · How the Web Works

In this article
  1. Why Change DNS on Your Galaxy S9?
  2. How to Change DNS on Galaxy S9 (Wi-Fi)
  3. How to Change DNS on Galaxy S9 (Mobile Data)
  4. Common Problems and Fixes
  5. What About Private DNS (DNS over TLS)?
  6. Which DNS Should You Choose?
  7. Risks and Considerations
  8. Frequently Asked Questions

To change the DNS server on a Samsung Galaxy S9, you must set a static IP address for your Wi-Fi connection and then enter the DNS addresses you want to use. This is because Android does not offer a simple system-wide DNS setting; the change is made per network.

Why Change DNS on Your Galaxy S9?

Changing the DNS (Domain Name System) server on your Galaxy S9 can improve browsing speed, bypass certain geographic content blocks, and add a layer of security against phishing sites. The default DNS provided by your Internet Service Provider (ISP) may be slower or less reliable than public alternatives like Google Public DNS (8.8.8.8 and 8.8.4.4), Cloudflare (1.1.1.1 and 1.0.0.1), or OpenDNS (208.67.222.222 and 208.67.220.220).

When you type a website address, your phone uses a DNS server to translate that name (like example.com) into an IP address. A faster, more secure DNS can make that translation quicker and help block access to known malicious sites. For example, OpenDNS offers content filtering options that can block adult content or phishing sites before they even load.

How to Change DNS on Galaxy S9 (Wi-Fi)

Follow these steps to change the DNS for a specific Wi-Fi network. Note that the change applies only to that network; if you connect to a different Wi-Fi, you'll need to repeat the process.

  1. Open the Settings app on your Galaxy S9.
  2. Tap Connections.
  3. Tap Wi-Fi.
  4. Press and hold the name of the network you are connected to. A menu will pop up.
  5. Tap Manage network settings.
  6. In the new window, tap the IP settings drop-down menu and choose Static.
  7. Scroll down to the DNS 1 and DNS 2 fields. Enter your desired DNS addresses (e.g., for Google DNS: 8.8.8.8 and 8.8.4.4).
  8. Tap Save.

Your phone will disconnect and reconnect to the Wi-Fi network. After that, the new DNS is active for that network.

How to Change DNS on Galaxy S9 (Mobile Data)

Changing DNS for mobile data (LTE/4G) is not possible through the stock Android settings on the Galaxy S9. The phone always uses the DNS provided by your carrier. To change DNS on mobile data, you need a third-party app that uses a local VPN to route your DNS queries. Popular options include DNS Changer or 1.1.1.1 (Cloudflare's app). These apps create a virtual private network (VPN) on your device that intercepts DNS requests and sends them to the DNS server you choose. Keep in mind that using such an app may show a persistent notification and can slightly affect battery life.

Common Problems and Fixes

After changing DNS, you might encounter a few issues. Here are common ones and how to solve them:

  • Internet not working after saving: Double-check that you entered the DNS numbers correctly. A single wrong digit (e.g., 8.8.8.9) will break internet access. Also, make sure the IP address and Gateway fields are still filled correctly—they are usually auto-filled when you switch to Static.
  • DNS change not sticking: If the DNS resets to automatic after a while, it may be because you are using a VPN app or a private DNS setting. Go to Settings > Connections > More connection settings > Private DNS and set it to Off or Automatic to avoid conflicts.
  • Wi-Fi keeps disconnecting: This can happen if the static IP configuration conflicts with the router's DHCP range. Try changing the IP address in the settings to something like 192.168.1.50 (if your router uses 192.168.1.x) to avoid a conflict.

What About Private DNS (DNS over TLS)?

The Galaxy S9, running Android 9 or later, has a feature called Private DNS that encrypts your DNS queries. This is different from the manual static method above. To use it:

  1. Go to Settings > Connections.
  2. Tap More connection settings.
  3. Tap Private DNS.
  4. Select Private DNS provider hostname and enter a hostname like dns.google or one.one.one.one.
  5. Tap Save.

This method encrypts your DNS traffic, preventing eavesdroppers on the network from seeing which websites you visit. It works on both Wi-Fi and mobile data, but it requires the DNS provider to support DNS over TLS. Google and Cloudflare both do.

Which DNS Should You Choose?

Your choice of DNS depends on what you want to achieve. Here is a quick comparison of popular public DNS providers:

  • Google Public DNS (8.8.8.8 / 8.8.4.4): Fast and reliable, with good uptime. It does not filter content, but it does log queries for 48 hours for security purposes.
  • Cloudflare (1.1.1.1 / 1.0.0.1): Emphasizes privacy—it promises not to log your IP address. It is also very fast.
  • OpenDNS (208.67.222.222 / 208.67.220.220): Offers optional content filtering (family shield versions). It can block adult sites and phishing, but may be slightly slower.
  • Quad9 (9.9.9.9): Focuses on security by blocking malicious domains using threat intelligence. It does not log personal data.

For most users, Google or Cloudflare are great starting points. If you want parental controls, OpenDNS is a good choice.

Risks and Considerations

Changing DNS is generally safe, but there are a few things to keep in mind:

  • Trust the provider: Your DNS provider sees every domain you request. Choose a reputable one to avoid privacy issues.
  • Speed may not improve: If your ISP's DNS is already fast, you may not notice a difference. The biggest gains are often in resolving new or less common domains.
  • Static IP conflicts: Setting a static IP can cause problems if the IP is already in use. Always pick a high number (like .200) to reduce the chance of conflict.
  • VPN interference: If you use a VPN app, it may override your DNS settings. Disable the VPN or configure its own DNS settings if you want to use a specific DNS.

Frequently Asked Questions

Will changing DNS on my Galaxy S9 affect all apps?

Yes, if you change the DNS via the Wi-Fi static settings, it applies to all apps that use the network for internet access. Some apps (like browsers) may have their own DNS settings, but most will use the system DNS.

Can I change DNS without setting a static IP?

No, on the Galaxy S9's stock Android, you must set a static IP to manually enter DNS addresses. The only alternative is using a third-party app that creates a local VPN, which works without static IP.

Why is my Galaxy S9 not using the DNS I set?

This can happen if you have a VPN enabled, if the Private DNS option is set to a specific hostname, or if the network you are connected to is using a captive portal that forces its own DNS. Check those settings and try again.

Is it safe to use a public DNS like 8.8.8.8?

Yes, using a well-known public DNS is safe and often more secure than your ISP's DNS. However, be aware that the provider can see your DNS queries, so choose one you trust. Avoid unknown or obscure DNS servers.

Does changing DNS on Wi-Fi also change it for hotspot data?

No, the change applies only to the specific Wi-Fi network you configured. If you use your phone as a mobile hotspot, the hotspot uses your mobile data's DNS, which you cannot change without a third-party app.

Can I revert to automatic DNS?

Yes, simply go back to the Wi-Fi network settings, tap IP settings, and choose DHCP instead of Static. This will restore automatic DNS from your router.