Home Apple

Apple

Information about configuring the ADnull DNS server on iPhone, iPad, and Mac devices.
By Vitalii
2 articles

How to Set Up ADnull DNS on macOS Using DNS Manager

What does the script do? DNS Manager for macOS automatically configures ADnull DNS on your Mac using simple dialog windows — no manual editing of system settings required. The script configures: - System DNS (for Safari and all apps) DNS (Domain Name System) is like a phone book for the internet. When you type a website address, for example google.com, your computer contacts a DNS server to find out the IP address of that site. By default, this request is sent through your internet provider's server. ADnull System DNS replaces that server with its own — it blocks ads and trackers before they ever reach your browser. This works for Safari, Mail, App Store, and any other apps on your Mac. - DNS-over-HTTPS (DoH) (for Chrome, Firefox, Edge, Opera, Brave, Vivaldi, Arc) Modern browsers have their own DNS mechanism, independent from the system one. By default, DNS requests from the browser are sent in plain text — your internet provider and other parties on the network can see them. DNS-over-HTTPS solves this problem: it encrypts DNS requests and sends them over a secure HTTPS connection — the same way regular website traffic works. Your provider can only see that you connected to ADnull, but not which sites you are looking up. On top of that, DoH blocks ads and trackers directly inside the browser. The script configures DoH separately in each browser using official mechanisms — Chrome Policy, Firefox policies.json, and equivalents for other browsers. When finished, it automatically flushes the DNS cache and restarts your browsers. Requirements - macOS 12 (Monterey) or later - Your Mac administrator password - An active ADnull subscription Step 1. Download the script Log in to your ADnull dashboard → Settings → click "DNS Manager for macOS". The file adnull-macos-XXXXX.sh will be saved to your Downloads folder. A prompt with the run command will appear immediately: Step 2. Open Terminal Press ⌘ Space, type Terminal, and press Enter. Step 3. Run the script In the prompt dialog, copy the command (click the copy icon), paste it into Terminal (⌘ V), and press Enter. bash ~/Downloads/adnull-macos-XXXXX.sh Step 4. Enter your administrator password Terminal will ask for your Mac password. Type it and press Enter. Characters won't appear while you type — this is normal. Step 5. Browser restart warning An ADnull dialog will appear: WARNING! All browsers will be restarted to apply the settings. Please save all data before continuing. Save any open tabs and unsaved data, then click "Continue". Step 6. Choose where to enable DNS A checklist will appear showing only the browsers installed on your Mac. - System DNS (Safari & all apps) — enables ADnull across the entire system - Google Chrome, Firefox, Opera, and others — configures DNS-over-HTTPS per browser To disable ADnull for a specific item — uncheck it. Click OK. Step 7. Done! A confirmation dialog will appear: "Settings applied". Click OK — ADnull DNS is now active. FAQ I see a message about Xcode Command Line Tools Open Terminal and run: xcode-select --install Follow the on-screen instructions, then run the script again. How do I disable ADnull DNS? Run the script again and uncheck the items you want to remove — the settings will be cleared. Is the script safe? Yes. The script is generated individually for your account. It only changes DNS settings and collects no data. Do not share the script with anyone — it is tied to your personal DNS domain. How can I verify the script doesn't do anything unexpected? You can open the script in any text editor and read its contents. Find the downloaded file adnull-macos-XXXXX.sh in your Downloads folder, right-click it and choose Open With → TextEdit. The script is written in plain text — you will see every command it runs.

Last updated on Mar 16, 2026

How to Set Up ADnull DNS Using a DNS Profile on iPhone, iPad, and Mac

What is a DNS profile? A DNS profile is Apple's official mechanism for configuring DNS at the system level. Once installed, it automatically protects all apps on the device: Safari, Chrome, Mail, TikTok, and any other app — no additional configuration needed. The profile uses DNS-over-HTTPS (DoH) — your DNS requests are encrypted and transmitted over the secure HTTPS protocol. Your internet provider cannot see which sites you visit, and ads and trackers are blocked before the page even loads. The profile is active on all networks: Wi-Fi, mobile data, and others. Step 1. Download the profile Log in to your ADnull dashboard → Settings → click "DNS Profile for Apple". The file adnull-apple-XXXXX.mobileconfig will be saved to your device. Installing on iPhone and iPad Step 2. Allow the profile download After tapping the button, your browser will ask permission to download a configuration profile. Tap "Allow". Step 3. Open Settings Open Settings on your iPhone or iPad. A banner "Profile Downloaded" will appear at the top — tap it. If the banner does not appear, go to Settings → General → VPN & Device Management and find the ADnull profile in the list. Step 4. Install the profile Tap "Install" in the top right corner. Enter your passcode or use Face ID / Touch ID. Tap "Install" again to confirm. Step 5. Done! Tap "Done". ADnull DNS is now active on your iPhone or iPad. Installing on Mac Step 2. Open the downloaded file Double-click the downloaded file adnull-apple-XXXXX.mobileconfig in your Downloads folder. Step 3. Open System Settings Go to System Settings → General → Device Management. Step 4. Install the profile Find the ADnull profile in the list and click "Install". Enter your administrator password and confirm the installation. Step 5. Done! ADnull DNS is now active on your Mac. How to remove the profile iPhone / iPad: Settings → General → VPN & Device Management → ADnull → Remove Profile. Mac: System Settings → General → Device Management → ADnull → Remove Profile. FAQ Does the profile work on mobile data? Yes. The profile is active on all networks — Wi-Fi, 4G/5G, and others. Does the profile affect internet speed? No. DNS requests take milliseconds and have no impact on connection speed. Is the profile safe? Yes. The profile is generated individually for your account and only configures DNS. It does not collect data, intercept traffic, or change any other device settings. Do not share the profile with anyone — it is tied to your personal DNS domain. What if the profile won't install? Make sure you are downloading the profile using Safari — on iOS, other browsers may not support installing configuration profiles.

Last updated on Mar 16, 2026