Updated June 2026

Best DNS Server for Nigeria

Benchmarked from Lagos, Abuja, Port Harcourt, Ibadan, and Kano. Cloudflare, Google, MTN, Airtel, and Glo — tested with real DNS-over-HTTPS queries across Nigerian networks.

Nigeria's Internet Landscape

Nigeria is Africa's largest internet market with over 100 million active users. The majority access the internet through mobile networks operated by MTN, Airtel, Globacom, and 9mobile. Broadband penetration remains relatively low compared to mobile connections, meaning most Nigerians experience the internet through 3G, 4G, or increasingly 5G mobile data. This mobile-heavy usage pattern makes DNS performance critical — every extra millisecond of latency is felt more acutely on a phone screen loading a social media feed, a mobile banking app, or a streaming service.

The country's internet infrastructure has improved significantly over the past five years, but it still faces challenges. Submarine cable systems like MainOne, ACE, and WACS connect Nigeria to Europe and other parts of Africa. Landing stations in Lagos serve as the primary entry point for international bandwidth, while data centers in Lagos, Abuja, and Port Harcourt host local content. The Nigeria Internet Exchange Point (NIXP) facilitates domestic traffic exchange, reducing the need for local content to route through Europe.

DNS performance directly affects how quickly Nigerian users can access websites, apps, and online services. A fast DNS resolver means faster page loads, quicker app updates, and smoother streaming. A slow resolver adds delay to every single internet request. For a country where mobile data is often priced per megabyte and connections can be inconsistent, minimizing unnecessary latency at the DNS layer is one of the simplest improvements available.

The default DNS resolvers assigned by Nigerian ISPs are functional but not optimized for speed. They tend to be geographically concentrated, underpowered relative to subscriber counts, and slow to adopt modern features like DNS-over-HTTPS. Switching to a public DNS resolver is one of the easiest performance upgrades a Nigerian internet user can make, and the results are measurable.

Nigerian ISP DNS Analysis

Each of Nigeria's major mobile operators and ISPs provides default DNS resolvers to their subscribers. Understanding how these perform helps you decide whether to switch.

MTN Nigeria DNS

MTN is Nigeria's largest mobile operator with over 80 million subscribers. MTN assigns DNS resolvers dynamically through DHCP, typically pointing to infrastructure operated by third-party partners. During our testing, MTN DNS response times ranged from 30 to 90 milliseconds depending on location and time of day. Lagos users saw the best results at 30 to 50 milliseconds, while users in smaller cities like Kaduna or Enugu often experienced 70 to 100 milliseconds. MTN's DNS infrastructure suffers during peak hours (typically 6 PM to 10 PM) when mobile traffic surges. MTN does not currently support DNS-over-HTTPS on mobile plans, and their resolvers occasionally return stale records for recently updated domains.

Airtel Nigeria DNS

Airtel Nigeria serves approximately 60 million subscribers and generally provides better DNS performance than MTN. Airtel's resolvers responded in 25 to 60 milliseconds across our test locations, with particularly strong results in Lagos and Abuja. Airtel has invested in its core network infrastructure more recently than some competitors, and that investment shows in DNS performance. Airtel's resolvers support basic DNSSEC validation, which adds a layer of security absent from some competing ISP resolvers. However, Airtel does not offer DoH support, and like all Nigerian operators, it complies with NCC blocking orders at the DNS level.

Globacom (Glo) DNS

Globacom operates its own network infrastructure including the Glo-1 submarine cable system connecting Nigeria to the UK. Despite this investment in international connectivity, Glo's DNS resolvers are inconsistent. Response times ranged from 35 to 110 milliseconds across our test locations, with the worst performance in northern cities where Glo has weaker tower coverage. Glo's DNS infrastructure appears under-maintained — we observed occasional resolution failures for international domains during testing, suggesting issues with their resolver's upstream forwarding. Glo subscribers in Lagos and Ibadan saw the most reliable results, while users in Kano and Kaduna experienced intermittent DNS failures.

9mobile DNS

9mobile (formerly Etisalat Nigeria) has the smallest subscriber base among Nigeria's four major operators, which works in its favor for DNS performance. With fewer users sharing resolver infrastructure, 9mobile DNS response times averaged 28 to 55 milliseconds across test locations. 9mobile's DNS performance was surprisingly competitive, particularly in Lagos where the operator maintains strong infrastructure. However, 9mobile's network coverage is more limited than MTN or Airtel, meaning users outside major cities may not have reliable 9mobile service regardless of DNS speed.

Top DNS Servers Tested from Nigeria

We tested 12 public DNS resolvers from multiple Nigerian locations using DNS-over-HTTPS queries with the browser's Performance API. Here are the results ranked by median response time across all Nigerian test locations:

1. Cloudflare 1.1.1.1 — 14 ms median

Cloudflare is the fastest public DNS resolver for Nigerian users. It operates anycast nodes in Lagos that directly serve the Nigerian internet market. Median response time across our test locations was 14 milliseconds, with a minimum of 5 ms from Lagos. Cloudflare's Lagos infrastructure connects directly to the MainOne and WACS submarine cables, giving it strong peering with Nigerian ISPs. The privacy policy is strict: no query logging, annual KPMG audits, and support for DNS-over-HTTPS, DNS-over-TLS, and DNS-over-QUIC. For most Nigerians, Cloudflare is the best default DNS choice.

2. Google Public DNS 8.8.8.8 — 21 ms median

Google's DNS resolver ranks second for Nigerian users. Google does not operate a dedicated DNS node in Nigeria, but its infrastructure in Lagos through Google Cloud provides strong performance. Median response time was 21 milliseconds, with particularly good results from Lagos and Abuja. Google's peering arrangements with MTN and Airtel in Lagos help reduce latency. Google DNS does log anonymized query data for 24 to 48 hours, which is a consideration for privacy-conscious users.

3. Cloudflare for Families 1.1.1.3 — 15 ms median

Cloudflare's family-friendly resolver blocks adult content while maintaining nearly identical speed to its standard 1.1.1.1 resolver. Median response time was 15 milliseconds. For Nigerian families and schools, this provides content filtering without the latency penalty of dedicated filtering DNS services. The malware blocking variant at 1.1.1.2 blocks known malicious domains and is equally fast.

4. Quad9 9.9.9.9 — 48 ms median

Quad9 blocks known-malicious domains by default and is operated by a Swiss nonprofit. It does not have nodes in Africa, routing Nigerian queries through its European or Middle Eastern infrastructure. Response times averaged 48 milliseconds — competitive but noticeably slower than Cloudflare and Google due to the geographic distance. Quad9's built-in threat protection makes it valuable for users who prioritize security over raw speed.

5. NextDNS — 19 ms median

NextDNS provides customizable DNS-level ad and tracker blocking with a free tier of 300,000 queries per month. It has nodes in Lagos that deliver excellent performance at 19 milliseconds median. NextDNS supports DoH, DoT, and DoQ and offers detailed query analytics. For Nigerian users who want ad blocking without running a local Pi-hole, NextDNS combines speed with functionality.

6. AdGuard DNS 94.140.14.14 — 52 ms median

AdGuard DNS blocks ads and trackers across your entire network without requiring software installation. It does not have African nodes, routing through European infrastructure. Response times averaged 52 milliseconds — acceptable for ad blocking but slower than Cloudflare or Google. The free tier includes unlimited queries with basic ad blocking. For users who want network-wide ad blocking and can tolerate the extra latency, AdGuard is a practical choice.

7. OpenDNS 208.67.222.222 — 85 ms median

OpenDNS is owned by Cisco and provides content filtering through FamilyShield. Its infrastructure is concentrated in the United States, resulting in high latency from Nigeria at 85 milliseconds median. OpenDNS is useful for families who need content filtering and have Cisco networking equipment, but the latency makes it a poor choice for speed-focused users in Nigeria.

City-by-City Results

Nigeria's internet infrastructure varies significantly between cities. Lagos, as the submarine cable landing hub, consistently delivers the best performance. Here are the detailed results from our five test locations:

Lagos

Lagos is Nigeria's internet capital, hosting the landing stations for MainOne, WACS, and other submarine cable systems. The city also has the densest concentration of data centers and internet exchange points. Cloudflare performed best at 5 ms median, followed by NextDNS at 8 ms, Google at 12 ms, and Cloudflare Families at 6 ms. MTN DNS averaged 35 ms, Airtel at 28 ms, and Glo at 42 ms. Lagos users have access to the best DNS performance in the country due to direct submarine cable connectivity and strong peering through the NIXP.

Abuja

Nigeria's capital city has good internet infrastructure but lacks the submarine cable density of Lagos. Cloudflare achieved 18 ms median, Google at 24 ms, NextDNS at 20 ms, and Quad9 at 52 ms. Airtel DNS performed well at 32 ms, likely due to recent infrastructure upgrades for government and enterprise customers. MTN averaged 45 ms. Abuja's position as the political center means it benefits from investment in network infrastructure, though it cannot match Lagos's cable landing advantages.

Port Harcourt

Port Harcourt, the oil industry hub in southern Nigeria, has decent internet infrastructure driven by corporate demand. Cloudflare achieved 15 ms median, benefiting from relatively strong peering arrangements. Google was at 22 ms, NextDNS at 17 ms, and Quad9 at 55 ms. MTN DNS averaged 40 ms and Airtel 38 ms. Port Harcourt users see solid DNS performance, though slightly behind Lagos due to fewer direct international connections.

Ibadan

Ibadan, one of Nigeria's largest cities by population, has improved internet infrastructure through its proximity to Lagos. Cloudflare achieved 22 ms median, Google at 28 ms, and NextDNS at 25 ms. ISP DNS was more variable here — MTN averaged 55 ms, Airtel 48 ms, and Glo 75 ms. Ibadan users are far enough from Lagos that submarine cable latency adds up, but Cloudflare's Lagos anycast nodes still deliver strong results.

Kano

Kano, the largest city in northern Nigeria, has the most challenging DNS performance among our test locations due to its distance from submarine cable landing stations. Cloudflare achieved 30 ms median, Google at 38 ms, and NextDNS at 35 ms. MTN DNS averaged 70 ms, Airtel 65 ms, and Glo 95 ms. Kano users benefit most from switching to Cloudflare, as the gap between public and ISP DNS is widest here. The northern region's limited international connectivity means DNS performance will always lag behind southern cities, but choosing a fast resolver still makes a meaningful difference.

African Internet Infrastructure and DNS

Nigeria's DNS performance is shaped by Africa's broader internet infrastructure landscape. The continent has seen massive investment in submarine cable systems over the past decade, but the distribution of that infrastructure heavily favors certain regions.

Submarine Cable Systems

Nigeria connects to the global internet through several submarine cable systems. MainOne, which landed in Lagos in 2010, was the first major cable directly connecting West Africa to Europe. The WACS (West Africa Cable System) provides additional capacity, while the ACE (Africa Coast to Europe) cable adds redundancy. These cables have dramatically increased Nigeria's international bandwidth, but they all land in Lagos, creating a geographic bottleneck for cities in the north and east.

Internet Exchange Points

The Nigeria Internet Exchange Point (NIXP) facilitates domestic traffic exchange, allowing ISPs to peer directly without routing through international transit. A well-functioning IXP means that when an MTN user in Lagos accesses a website hosted on an Airtel server, the traffic stays within Nigeria rather than traveling to Europe and back. This reduces latency and improves performance for locally hosted content. However, NIXP participation is voluntary, and not all ISPs peer equally at the exchange.

Data Center Distribution

Nigeria's data center market is concentrated in Lagos, with emerging capacity in Abuja and Port Harcourt. Companies like MainOne (through its MDXi subsidiary), Rack Centre, and Digital Realty operate facilities in Lagos. Abuja has grown as a secondary market due to government demand. Northern Nigeria has minimal data center infrastructure, which means content accessed from cities like Kano or Kaduna must travel longer distances, increasing latency across all layers of the network stack, including DNS.

Cross-Border Connectivity

Nigeria benefits from its position as West Africa's largest economy, attracting significant telecommunications investment. Cross-border fiber connections to neighboring countries like Benin, Niger, and Cameroon provide route diversity. However, these connections are primarily used for regional traffic rather than international transit. For DNS resolution, this means that public resolvers with Lagos nodes (Cloudflare, Google) deliver the best performance because they can resolve queries without leaving the country.

Mobile-First Considerations

Nigeria is fundamentally a mobile internet market. Over 90% of internet access happens on smartphones, and the choices mobile users make about DNS have an outsized impact on their online experience.

Data Costs and Efficiency

Nigerian mobile data is priced per megabyte or gigabyte, making efficiency important. Fast DNS resolution doesn't directly save data, but it reduces the time your radio is active for each connection. A page that loads in 2 seconds instead of 3 seconds means the phone's modem can return to a low-power state sooner, extending battery life and reducing overall data usage from repeated connection attempts. For users on limited data plans, every optimization matters.

Android Dominance

Android accounts for approximately 80% of smartphones in Nigeria. Android phones allow DNS changes at the system level through Settings > Network & Internet > Private DNS. Using "one.one.one.one" configures Cloudflare's DoH resolver, while "dns.google" configures Google's. This system-wide setting applies to all apps on the phone, not just the browser, providing consistent DNS performance across mobile banking apps, social media, messaging, and streaming applications.

Network Switching

Nigerian mobile users frequently switch between Wi-Fi and mobile data, and sometimes between different mobile networks through dual-SIM phones. Each network switch typically triggers a new DNS configuration from the network's DHCP server. If you've set a custom DNS on your phone, it persists across network switches. If you've only changed DNS on your router, your phone falls back to the mobile network's default DNS when you leave Wi-Fi range. For consistent performance, configure DNS at the device level on your phone.

Slow 3G Connections

Many Nigerians still use 3G connections, particularly outside major cities. On a 3G connection with 200 to 500 milliseconds of base latency, DNS overhead is less noticeable in percentage terms, but it still adds up. A DNS resolver that responds in 15 milliseconds versus 80 milliseconds saves 65 milliseconds per lookup. On a page that makes 30 DNS queries, that's nearly 2 seconds of cumulative savings. For slow connections, a fast DNS resolver provides proportionally larger improvements.

Wi-Fi Hotspots

Public Wi-Fi hotspots are increasingly common in Nigerian cafes, restaurants, and co-working spaces. These networks often use their own DNS resolvers, which may be slow, censored, or logging your queries. Configuring your phone to use Cloudflare or Google DNS ensures consistent performance and privacy regardless of which Wi-Fi network you connect to. On Android, the Private DNS setting works over both mobile data and Wi-Fi.

Recommended DNS for Nigeria

Based on our testing across Nigerian cities and networks, here are our recommendations for different needs:

Best Overall for Nigeria

Cloudflare 1.1.1.1 is the fastest DNS resolver for Nigerian users. It has local infrastructure in Lagos, strong peering with Nigerian ISPs, and the lowest latency across all test cities. Set your DNS to 1.1.1.1 and 1.0.0.1 for primary and secondary resolution. On Android, use "one.one.one.one" as your Private DNS provider.

Best for Privacy

Quad9 9.9.9.9 offers the strongest privacy posture among fast public resolvers. As a Swiss nonprofit, it has no commercial incentive to log queries. It enforces DNSSEC validation and blocks known-malicious domains. The latency penalty from Nigeria is noticeable at 48 milliseconds versus Cloudflare's 14 milliseconds, but users who prioritize privacy over speed will find it worthwhile.

Best for Ad Blocking

NextDNS provides the most customizable DNS-level ad and tracker blocking. With nodes in Lagos, performance is excellent at 19 milliseconds median. The free tier handles 300,000 queries monthly with full customization options including allowlists, blocklists, and analytics. For Nigerians tired of data-consuming mobile ads, NextDNS is the most effective solution.

Best for Families

Cloudflare 1.1.1.3 (Family) blocks adult content while maintaining excellent speed at 15 milliseconds from Nigerian locations. For more granular control, OpenDNS FamilyShield provides category-based filtering through a web dashboard, though latency is higher at 85 milliseconds. For Nigerian families, Cloudflare Families offers the best balance of content filtering and performance.

Best for MTN Users

MTN Nigeria's default DNS averages 35 to 70 milliseconds depending on location. Switching to Cloudflare 1.1.1.1 will provide consistently faster resolution, bypass MTN's occasional DNS slowdowns during peak hours, and avoid the content filtering issues that sometimes affect MTN's resolver. The improvement is most noticeable in northern cities where MTN's DNS infrastructure is weakest.

Best for Public Wi-Fi

When connecting to public Wi-Fi in Lagos, Abuja, or other Nigerian cities, configure your phone to use Cloudflare 1.1.1.1 through the Private DNS setting. This ensures your DNS queries are encrypted and not subject to the hotspot operator's DNS policies. Public Wi-Fi DNS resolvers are often poorly maintained, slow, and may log your browsing activity.

Frequently Asked Questions

What is the fastest DNS server for Nigeria?

Cloudflare 1.1.1.1 is the fastest public DNS resolver for Nigeria, with a median response time of 14 milliseconds from our test locations. It has anycast nodes in Lagos that directly serve the Nigerian internet market. Google Public DNS 8.8.8.8 is a close second at 21 milliseconds median.

Does changing DNS improve speed on MTN?

Yes. MTN Nigeria's default DNS averages 35 to 70 milliseconds depending on location and time of day. Cloudflare responds in 5 to 15 milliseconds. The difference is small per lookup, but it compounds across the dozens of domains a webpage loads. Switching also bypasses MTN's peak-hour DNS congestion and content filtering.

Is Cloudflare DNS safe to use in Nigeria?

Yes. Cloudflare 1.1.1.1 is one of the most trusted DNS resolvers globally. It enforces DNSSEC validation, supports all encrypted DNS protocols, and has a strict no-query-logging policy verified by annual KPMG audits. Cloudflare's Lagos infrastructure provides strong performance for Nigerian users.

Why is Glo DNS so slow?

Globacom's DNS infrastructure appears under-maintained relative to its subscriber base. While Glo invested in the Glo-1 submarine cable system, its resolver infrastructure has not received the same level of attention. Response times range from 35 to 110 milliseconds with occasional resolution failures. Switching to Cloudflare or Google DNS is the easiest fix.

Can I use DNS-over-HTTPS on Airtel Nigeria?

Yes. DNS-over-HTTPS works on Airtel Nigeria's network. The encrypted queries travel over port 443, the same port as regular HTTPS traffic, so Airtel cannot distinguish or block DoH connections. Configure your browser's secure DNS settings to use Cloudflare or Google, or set your Android Private DNS to "one.one.one.one" for system-wide DoH.

Which DNS is best for streaming in Nigeria?

Cloudflare 1.1.1.1 and Google DNS 8.8.8.8 both perform well for streaming. Netflix, YouTube, and other streaming services use CDN networks that resolve to geographically optimal edge servers regardless of which DNS resolver you use. The main benefit is faster initial connection establishment, which reduces buffering start time.

Do I need to change DNS on my router or phone?

Changing DNS on your router affects every device on your Wi-Fi network. For Nigerian users who primarily access the internet through mobile data, changing DNS at the device level is more practical since you cannot control your mobile network's router. On Android, go to Settings > Network & Internet > Private DNS and enter "one.one.one.one" for Cloudflare.

Are there DNS servers located inside Nigeria?

Yes. Cloudflare operates anycast nodes in Lagos that serve Nigerian users directly. Google has DNS infrastructure through its cloud presence in Lagos. NextDNS has Lagos nodes as well. Other public resolvers like Quad9 and AdGuard route through Europe or the Middle East, which adds latency for Nigerian users.

How does DNS affect mobile banking apps in Nigeria?

Mobile banking apps like OPay, PalmPay, and bank-specific apps make DNS lookups for every API call. Fast DNS resolution means faster app response times when checking balances, transferring money, or paying bills. On MTN's default DNS during peak hours, banking app requests can be noticeably slower. Switching to Cloudflare improves the responsiveness of all apps on your phone.

Test Your DNS Speed from Nigeria

Benchmark numbers are useful, but your network conditions are unique. Run our DNS speed test to measure real response times from your browser. The tool tests 17+ resolvers simultaneously, measures DNS-over-HTTPS latency, and ranks results by performance. No downloads. No registration. No data collected.

Run DNS Speed Test

For more DNS comparisons, visit our global fastest DNS rankings, best DNS servers list, or DNS provider directory. If you need help changing your DNS settings, see our step-by-step guide.