> For the complete documentation index, see [llms.txt](https://xsn.gitbook.io/xsn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xsn.gitbook.io/xsn/wiki/spotify-ad-free-with-nextdns.md).

# Spotify ad-free with NextDNS

## Summary

Spotify constantly attempts to connect to the various ad and analytics servers it uses in the background.\
Targeted DNS filtering prevents the app from loading ad requests. This is the purpose of blocking, allowing you to play songs without ads.

## Requirement

* You need NextDNS Account for configuration, you can create account here

<p align="center"><a href="https://nextdns.io/" class="button primary" data-icon="shield">NextDNS</a></p>

* Android and iOS support Private DNS
* Spotify App with login account

## Start Settings

* After you create account and you have active Account, now open dashboard NextDNS
* Then go to Tab "Privacy" because you need active various filters in Blocklist, this list blocklist you must be active \[Add a Blocklist]

> 1. CHEF-KOCH's HOSTS Spotify Ad-Filter List
> 2. HaGeZi - Multi PRO
> 3. Steven Black
> 4. NextDNS Ads & Trackers Blocklist
> 5. AdGuard DNS filter
> 6. AdGuard Mobile Ads filter

* Next step, go to tab "Denylist" for spesific domain blocking, please add all this domain one by one on your Denylist

```
*.payments.spotify.com
*.checkout.spotifycdn.com
*.api.spotify.com
*.g2.spotify.com
*.desktop.spotify.com
*.ads.spotify.com
*.spclient.wg.spotify.com
*.audio-ak-spotify-com.akamaized.net
*.audio2.spotify.com
*.analytics.spotify.com
*.adstats.spotify.com
*.adeventtracker.spotify.com
```

* After that go to Tab "Allowlist" then add this list, this for ensure Spotify can login normally&#x20;

```
*.login5.spotify.com
```

* All is set, now go to Tab "Setup" then copy your address DNS-over-TLS/Quic and paste to your Private DNS in your Phone

<div data-with-frame="true"><figure><img src="/files/QJcD5wMeGszI1seB8usy" alt="" width="563"><figcaption></figcaption></figure></div>

* Now turn on airplane mode on your phone then turn off for reset your network
* Open your Spotify and try a Song

{% hint style="info" icon="memo-circle-info" %}
Notes:

* I got all of this from various sources that I've read, so there's a chance it won't work, but you can try it.
* This method only for minimizing advertisements on Spotify not unlocking Premium Features
  {% endhint %}

{% hint style="success" %}
Join

<i class="fa-user-message">:user-message:</i> [Morphe XSN Lite Channel](https://eksan127.gitbook.io/xsn-lite#join-xsn-lite-channel)

* <i class="fa-telegram">:telegram:</i> [Telegram](https://t.me/morphexsnlite)
* <i class="fa-whatsapp">:whatsapp:</i> [WhatsApp](https://whatsapp.com/channel/0029Vb5lYPi7YSd3ugsaVS2Z)
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://xsn.gitbook.io/xsn/wiki/spotify-ad-free-with-nextdns.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
