Knowledge base

1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!

Search

This guide explains how to configure ddclient, a tool available on most Linux distributions, to use it with the Infomaniak DynDNS service.

 

Prerequisites

  • Install the ddclient package for your distribution (e.g., sudo apt install ddclient).
  • Have a DynDNS record already created on the domain or subdomain to be updated.
  • Make sure the SSL module for Perl is installed: sudo apt install libio-socket-ssl-perl.

 

ddclient configuration

The configuration file /etc/ddclient.conf must contain the following information:

protocol=dyndns2
ssl=yes
use=web
server=infomaniak.com
login=enter_your_login
password=enter_your_password
yourdomain.xyz
  • ssl=yes: enables a secure connection. This parameter is required for the update to function correctly.
  • use=web: instructs ddclient to use an external service to automatically detect your public IP address.
  • login / password: DynDNS credentials defined in the Infomaniak Manager when adding the Dynamic DNS (help).
  • yourdomain.xyz: replace with your domain or subdomain for DynDNS.

 

Test and verification

Before running ddclient as a service, you can test the configuration with:

sudo ddclient -daemon=0 -verbose -debug

If the configuration is correct, you will see a message such as SUCCESS: updating yourdomain.xyz.

 

Starting the service

Once the configuration is validated, restart and activate ddclient:

sudo systemctl restart ddclient
sudo systemctl enable ddclient

You can check its status with:

sudo systemctl status ddclient

 

But also:

  • Protect the configuration file with: sudo chmod 600 /etc/ddclient.conf.
  • Regularly check that the IP address is being updated correctly by performing a DNS lookup (dig yourdomain.xyz or nslookup).
  • If your IP address does not change frequently, keep a reasonable refresh interval to avoid unnecessary requests.

Has this FAQ been helpful?

This guide explains how to redirect a domain name directly to another, or how to automatically send visitors to your website to another page address (internal or external URL).

 

Introduction

  • To redirect traffic, you will need to take action…
    • … either on the domain name itself (it must be hosted by Infomaniak and its DNS must also be Infomaniak's),
    • … or on the code present in your pages (e.g., .htaccess page, homepage, etc.) if you have a website.

 

Acting on the domain name

Via Web Redirection Tool

The tool available in the Manager allows you to easily manage your domain name (or subdomain) and redirect it to the internet address of your choice.

via DNS modifications or A record updates

Change the DNS of the domain name or modify its A/AAAA records to redirect web traffic to another provider.

 

Modify the page code…

… by inserting HTML code

Insert this line of code between the <head> and </head> tags of your homepage (usually named index.html):

<meta http-equiv="refresh" content="5;url=INSERT-HERE-NEW-URL">

Replace 5 with the desired wait time in seconds (0 for immediate execution).

The Google search engine indicates that it is preferable to use a 301 redirect on the server-side (see below). The W3C also advises against using it.

… via PHP code to be inserted

If the website page has a .php extension, insert this function call at the very top of the file:

header("refresh: 5; url=INSERT-HERE-NEW-PAGE-URL");
```

… via the .htaccess file

… via fichier .htaccess

To redirect all traffic to your site (regardless of the page being accessed) to another address, insert the following into the .htaccess file at the root of your site:

RewriteEngine On
RewriteRule ^(.*)$ INSERT-HERE-NEW-URL/$1 [R=301]

To target the page that should be redirected:

Redirect permanent /old_page.html insert destination URL here

Redirectpermanent, Redirect permanent, and Redirect 301 are equivalent commands.

The following is another example of redirecting a sub-section to the homepage (this directive has the advantage of working with "deep links" unlike a permanent redirect):

RewriteEngine on
RewriteRule "old/path/url" "/" [L]

Refer to this other guide for more information.


Has this FAQ been helpful?

This guide concerns domain names with the .se extension.

 

Introduction

  • The .se domains are managed by Internetstiftelsen i Sverige (IIS), the official organization that governs domain names in Sweden.
  • They were introduced in 1986, and it was during the 2000s that they experienced a surge in popularity because their suffix could be used for words like "clo.se", "sen.se", etc.

 

Change the owner of a .se domain

To change the owner of a .se domain, the procedure defined by the IIS requires filling out a specific form.

In the form, the IIS IDNO (ID Number) field is a key requirement:

  • For Swedish citizens: enter the social security number (Personnummer), e.g. 800101-1234,
  • For Swedish companies: use the company registration number (Organisationsnummer), e.g. 556123-4567,
  • For foreign citizens or non-Swedish companies: enter an identification number, such as a passport number, ID card, or equivalent for your country.

This is used to authenticate the owner and prevent disputes or fraudulent use of the domain. The change may take a few days, depending on how quickly the documents are verified.


Has this FAQ been helpful?

This guide explains how to add or modify one or more SRV records in the DNS zone (of a domain name) managed in the Infomaniak Manager.

 

Introduction

  • This type of record indicates which services are available for a domain.
  • They are often used for XMPP, LDAP protocols, or to configure Microsoft Office 365.

 

Modify the DNS zone

To manage this type of record in a DNS zone:

  1. Click here to access your domain management in the Infomaniak Manager (need help?).
  2. Click directly on the name assigned to the domain in question.
  3. Click on DNS Zone in the left-hand menu.
  4. Click the button to add a record:
  5. Click the SRV radio button to add a record.
  6. Click the Next button:
  7. Enter the values for the SRV record required for your DNS zone (the ._tcp.domain… is already entered).
  8. Leave the default value for the TTL.
  9. Click the Save button:

Verify that the complete SRV record has been added correctly in the records table:


Has this FAQ been helpful?

This guide explains how to find and display DNS information for any domain name registered with Infomaniak (or elsewhere).

 

Domain with Infomaniak

To access your domain names and view the DNS servers configured:

  1. Click here to access your domain management in the Infomaniak Manager (need help?).
  2. Click directly on the name assigned to the domain in question:
  3. Click on DNS Servers in the left-hand menu:

 

WHOIS Search

To view the DNS information of another domain name, use a WHOIS service such as https://whois.infomaniak.com/, for example, or https://who.is (be aware of the advertisements on all these third-party services).

This will provide you with a clear overview of a domain name's DNS status at a specific point in time.

DNS servers are often displayed in pairs and begin with ns..., followed by numbers and the name of the registrar or hosting provider.

Please note that the DNS records displayed may not necessarily be the ones most recently selected by the domain manager. This is because there is a propagation time that may need to be taken into account if changes are currently being made to the domain.


Has this FAQ been helpful?

This guide explains how to register domain names with Infomaniak in the .ngo or .ong TLDs.

 

Registration Validation

To order a .ngo or .ong domain, you must be a non-governmental organization; this means that registering a .ngo or .ong domain triggers a verification process after the domain is registered.

You will receive an email (at the email address provided in the WHOIS) containing a link to complete this verification. It is important to follow this process within 360 days of registration; otherwise, your domain name will be rejected and deleted by the registry.

Please note that the domain will only become active once this registration process is complete.


Has this FAQ been helpful?

This guide helps you if you receive error mails that mention SPF when you write to gmail, microsoft, or similar addresses.

 

Are all your services with Infomaniak?

The Global Security tool informs you of any configuration inconsistency regarding your Infomaniak Mail Service.

 

Are some of your services elsewhere?

To resolve an email sending issue when your email is managed by Infomaniak and your website is with another provider (like Wix for example) and in this situation the DNS zone of the domain name is managed elsewhere, refer to this other guide.


Has this FAQ been helpful?

This guide details the allowed and prohibited characters when creating a domain name (up to 63 characters) with Infomaniak.

 

Introduction

  • The characters allowed in a domain name are determined by the technical standards established by the Internet Corporation for Assigned Names and Numbers (ICANN) and, where applicable, by national or regional regulatory bodies, such as AFNIC for .fr domains.
  • To understand the possibilities offered for an email address (the part before the at symbol @), see this other guide.

 

Allowed characters in a domain name

The allowed characters in standard domain names include:

Allowed charactersNotes
Lettersa à z
Numbers0 à 9
Hyphen- (not allowed at the beginning or end of a label)
Accented / special charactersSee below

 

Special characters, accents (punnycode)

There are also domain extensions that allow the use of accented characters or other special characters. These rules may vary depending on the specific domain extension (such as .fr, .com, .net, etc.) and the policies established by the relevant regulatory bodies.

It is possible to purchase a domain name from Infomaniak that contains an accent on a letter (é for example). This encoding method, which allows the inclusion of non-Latin characters, such as accented, Cyrillic, Chinese characters, etc., in domain names, is called Punycode. It transforms Unicode characters into a form of ASCII that is readable by computer systems. This means that a domain name containing non-ASCII characters is transformed into an ASCII string that begins with xn--.

This transformation is reversible with certain software/email clients, which can then correctly interpret and display the original domain name. However, in general, Infomaniak does not recommend using email with domain names that contain accented characters:

Indeed, not all browsers, operating systems, and applications necessarily support domain names with accented characters in the same way, which can lead to compatibility issues in some cases.

 

Characters not allowed in a domain name

The following characters (period, space, exclamation mark, hash, dollar sign, percent, caret, ampersand, asterisk, parenthesis, equals sign, bracket, chevron, comma, quotation marks, slash, semicolon, question mark…) are not allowed in Infomaniak domain names:

Forbidden charactersRemarks
PointReserved for separating labels; not allowed at the beginning or end of a label, or as a standalone character within a label.
Space 
Special characters!, #, $, %, ^, &, *, (, ), =, [, ], <, >, ,, ;, ", /, ?
Non-ASCII charactersExcept via Punycode for certain extensions
Control charactersASCII codes less than 32 (non-printable)

Has this FAQ been helpful?

This guide explains how to restore backups of previous versions of your files and other web data from your Infomaniak hostings, and how to set up an effective backup policy if the automatically and freely provided backups no longer meet your availability or security needs.

 

Web Hostings (Starter, Shared, Cloud Server)

Refer to these guides to restore automatic backups:

 

Refer to these guides to backup and restore:

 

Also refer to https://faq.infomaniak.com/snapshot.

 

Messaging

 

Domains / DNS Zones


Has this FAQ been helpful?

This guide details the allowed and prohibited characters when creating an email address (up to 64 characters) in an Infomaniak Mail Service.

 

Introduction

  • The allowed characters differ depending on whether they appear before or after the at symbol @. For example, in nom-utilisateur.mail@nom-domaine.xyz:
    • Before the at symbol: the nom-utilisateur.mail part corresponds to the username.
    • After the at symbol: the nom-domaine.xyz part corresponds to the domain name.
  • To learn about the possibilities offered at the domain name level (the part after the at symbol @), see this other guide.

 

Part before the at symbol: nom-utilisateur.mail

The RFC 5321 and RFC 5322 standards define the general syntax of email addresses. However, email providers – including Infomaniak – apply additional restrictions to ensure security, consistency, and compatibility with most software/email clients.

For example, an address such as -@exemple.com is syntactically valid according to RFC 5322, but is not accepted when created on Infomaniak servers.

These additional rules help to:

  • prevent abuse (spam, malicious automation, etc.);
  • comply with naming conventions (an identifier consisting only of - does not make sense);
  • to ensure compatibility with email software/clients that handle certain address formats poorly.

In summary: RFC 5322 defines what is syntactically possible, but each server determines what is actually usable in practice.

 

Allowed characters before the at sign

The following characters can be used in the part before the at sign of an Infomaniak email address:

Allowed charactersExamples / Notes
Lettersa to z and A to Z
Numbers0 à 9
Hyphen- (not allowed as the first or last character)
Underscore_
Period. (allowed as long as it is not placed at the beginning, at the end, or consecutively)

 

Forbidden characters before the at sign

The following characters (at sign, exclamation mark, hash, dollar, percent, caret, ampersand, asterisk, parenthesis, equals sign, bracket, chevron, comma, quotation marks, semicolon, question mark…) cannot be used to create an Infomaniak email address:

Forbidden charactersNotes
@reserved for separating the username and the domain
(space) 
!, #, $, %, ^, &, *not supported
(, ), =, [, ]not supported
<, >, ,, ;, ", /, ?not supported
Non-ASCII characterse.g. accents or non-Latin letters
Control characters (ASCII codes < 32)non-printable, prohibited

Has this FAQ been helpful?

This guide explains what you should do if you receive a message, by email, post, or fax, from an unknown company or one claiming to be Infomaniak.(or a competitor) and mentioning the domain name(s) you own, and requesting payment for fees related to these products.

 

Introduction

  • Several organizations are known for aggressively pursuing domain name registrations (slamming), with the aim of acquiring them or simply making money at your expense.
    • These include: Brandon Gray Internet Services, NameJuice.com, and Global Netsource. In addition, Asian companies are listed here.
    • The company called Domain Registrar of America (DROA) also aims to scam domain name holders by sending a fax or email offering to renew one or more domain names 2 to 3 months before their expiration date. This offer appears official and professional and offers very competitive prices.
  • The catch: by signing with these unscrupulous companies, you authorize the transfer of your domain names to these "registrars," with all the risks of your websites and email services being deactivated. Of course, you are encouraged to pay by credit card! Some companies have been the subject of legal action in the USA, Great Britain, and Canada but remain very active in Europe.

 

Some recommendations

In order to avoid being scammed:

  1. Determine who is sending you this message... Is it a company you know, writing to you from Switzerland or France, in French, etc., or is it a message coming from abroad (USA, United Kingdom, Jamaica, Asia, etc.), in English, etc.?
  2. Determine the status of your domain name and where it is currently located; to do this, start by performing a WHOIS search on infomaniak.com/whois, for example.
  3. Do not respond to these messages under any circumstances... Destroy them, or you risk paying exorbitant and unnecessary amounts.
  4. Consult the AFNIC Guide on slamming and other fraudulent practices.
  5. Activate Domain Privacy for added peace of mind.
  6. Report these messages.

Has this FAQ been helpful?

This guide explains how to transfer a domain name you own from another company to Infomaniak.

 

Introduction

  • In general, during a transfer, no already paid period is lost; the domain's expiration date will be extended by one year.
  • A bulk transfer is also possible.
  • The terms "EPP", "AuthCode", "AuthInfo", "transfer code", and "authorization code" all refer to alphanumeric sequences specific to the domain, the main purpose of which is to verify the owner's authorization before a transfer between Registrars.

 

1. Obtain the authorization code

Obtain it from your customer account with your current provider (refer to these other specific guides), or request it from them!

It may be necessary to unlock any transfer protection.

 

2. Transfer the domain name

Search for the domain name in question on this Infomaniak page.

Click the button to start the transfer!

 

3. Configure the options

Follow the wizard by adding or removing the desired options.

After entering the domain name holder's contact information, this step is the most important:

Leave the toggle switch activated as shown above if…

  • … all products or services related to this domain name are already with Infomaniak.
  • … no products or services are linked to your domain name.

or deactivate the toggle switch if…

  • … some products or services related to this domain name are located elsewhere than with Infomaniak.

 

4. Enter the authorization code

Below, paste the authorization code copied in step 1, then validate the transfer by clicking the button:

Then click the Next button in the bottom right corner to proceed to the last step.

 

5. The last step

The last step allows you to pay any applicable fees (depending on the domain extension being transferred) and set the renewal method.

Read and accept the terms and conditions, then click Next to complete the order:

 

6. Manage your domain names

Find your domain names in the Infomaniak Manager and monitor their transfer, configuration, expiration, etc.

If a problem occurs with the transfer, an email will be sent to you containing the reason for the failure and the procedure for resuming the transfer.

Also, do you want to transfer your services such as websites or email addresses? See this other guide. Discover also the Infomaniak migration service.


Has this FAQ been helpful?

This guide explains how to redirect traffic from an alias (synonym) domain name to your main domain, or force the display of the main domain in the browser's address bar.

 

Prevent duplicate content

Let's imagine that your website is hosted under the main domain example.com and that you have configured an alias domain such as example-alias.com.

By default, when a visitor enters one or the other of these addresses in their browser, the typed URL remains displayed. This can generate duplicate content, which harms natural search engine optimization (SEO).

To prevent this, you can force a redirect: if a visitor types example-alias.com, they will be automatically redirected to example.com.

This configuration is done in the .htaccess file located at the root of your hosting (usually in the /web folder via your FTP access). If this file does not yet exist, you must create it.

Then, insert the following directives into the file:

RewriteEngine On

# Force HTTPS and canonical domain redirection
RewriteCond %{HTTP:X-Forwarded-Proto} !https [OR]
RewriteCond %{HTTP_HOST} !^example\.com$ [NC]
RewriteRule ^(.*)$ https://example.com/$1 [R=301,L]

Adapt the code above to your needs:

  • Replace example.com with your main domain name and its extension (.com, .org, .ch, etc.). Add www. before your domain if you prefer to force the display of the www subdomain.
  • If a redirection loop occurs, you can replace the protocol condition with RewriteCond %{HTTPS} off (especially if your hosting does not use a reverse proxy).

For more information, see the documentation on automatic redirects to HTTPS.


Has this FAQ been helpful?

This guide details the specific features of the .pt domain extension (for Portugal), including the administrative procedures for registration or transfer, and the rules established by the entity responsible for managing Portuguese domain names (DNS.PT).

 

New registration of a .pt domain

If you are registering a new domain name with the .pt extension for the first time (anywhere, regardless of the Registrar you use) from your Manager, Infomaniak will request an ID for the owner and the technical contact.

This ID, which is mandatory, represents the following for companies:

  • their tax identification number (VAT number without the country code)

and for individuals:

  • the passport or ID card number.

Once the order has been placed, the domain will have the status "registered" but will only become fully active 5 days after its creation date.

You can order additional .pt domains from Infomaniak, but if you wish to order them elsewhere, using the same contact details, this will no longer be possible (see below).

 

If you have already registered a .pt domain

DNS.PT only accepts one active contact per ID, regardless of the Registrar.

In practice, this means that if you have already registered a .pt domain elsewhere, Infomaniak will not be able to create your contact information with the same ID and register the ordered domains. The only solution is to transfer all your .pt domains to Infomaniak.

As mentioned previously, it is perfectly possible to order additional .pt domain names from Infomaniak.


Has this FAQ been helpful?

This guide explains how to connect a domain name managed with Infomaniak to an external service.

 

Specific guides

Click on the link corresponding to the external service you wish to connect to your domain nameregistered with Infomaniak:

 

Guide for any other external service

To connect your domain name to any other external service such as Odoo, Microsoft 365, or Squarespace, follow the procedures below:

  1. Click here to access the management of your product on the Infomaniak Manager (need help?)
  2. Click directly on the name assigned to the product in question.
  3. Click on Connect a service in the left-hand menu.
  4. Click the blue Connect button on the tile corresponding to your external service and follow the procedure:

 

If the external service you want to connect is not in the list, you will need to manually change some of the technical information for your domain name:

  • Refer to this other guide to modify all DNS records if that is what you were asked to do…
  • … or this other guide if you only need to modify specific DNS records (for example, the MX record if you need to link your domain to an external email service).

Has this FAQ been helpful?

This guide presents commands that can be executed to test a connection or network and thus further identify the possible source of the error.

 

Perform a Telnet…

TELNET allows you to test the connection to a server without taking into account all the additional settings of a mail or FTP application, in order to determine the source of a problem. For example, if the connection fails on an SMTP server, you will need to check whether your firewall is blocking port 587 or 465.

 

… on macOS

  1. Search for Network Utility.
  2. Go to the Ping, Lookup, or Traceroute tab, depending on what you want to test.
  3. You can also use a Terminal application (command-line interface, CLI) on your device and, depending on what you want to test, enter:
    traceroute [server]
    nc [server] [port]
    Replace [server] with the server name or its IP address, and do the same for [port]…

 

… on Windows

Enable Telnet beforehand if necessary.

  1. Use a Terminal application (command-line interface, CLI) on your device, for example by typing Run then cmd.
  2. In the window that opens, depending on what you want to test, type:
    tracert [server]
    telnet [server] [port]
    Example: telnet mail.infomaniak.com 587(this allows you to test the SMTP port if your software/email client does not allow you to send emails)…

 

… on Android

  1. Use the Simple Telnet Client app, which allows you to easily test by filling in two fields (for example, mail.infomaniak.com and port 143 or 993)…

 

Perform a PING

PING allows you to determine if a machine is accessible via the Internet. You can also use this tool to verify that you are connecting to the correct machine, for example, after a DNS change, by checking the IP address obtained. It is possible to perform a ping on a domain name, a hostname, or an IP address.

PING is definitely blocked on Infomaniak shared hosting plans.


Has this FAQ been helpful?

This guide details the steps to take if you don't see any difference on your website after making a change, compared to its version before the change. These tips are also relevant if you encounter issues while using the Infomaniak product interface.

 

Introduction

  • While you browse, a web browser saves the data you view in a dedicated space. This is done to avoid repeatedly requesting the same data from the server, saving time and resources.
  • Your cache can contain a large amount of data, and sometimes the browser gets confused. As a result, websites may not display correctly or may display an outdated version.
  • Clearing the cache ensures that you are viewing the latest version of the page or folder.

 

Clear your web browser's cache…

 

… on Safari

Choose your macOS version to view the corresponding Apple support.

 

… regarding Google tools (Chrome, Android, etc.)

Please refer to the Google help.

 

… on Firefox

Please refer to the Mozilla help.

 

… on Edge / Internet Explorer

Refer to the Microsoft help.


Has this FAQ been helpful?

This guide explains how to add or modify a DKIM record in a DNS zone (domain name/subdomain) managed in the Infomaniak Manager.

 

Introduction

  • The DKIM (Domain Keys Identified Mail) protocol authenticates your emails with a unique digital signature.
  • It guarantees that your messages have not been altered during their transmission and certifies the sender's identity, thus preventing spoofing by spammers.
  • DKIM is enabled by default for all Mail Services whose DNS zone is managed with Infomaniak.
  • All your emails are automatically signed, whether they are sent from the Mail Infomaniak app or the email software/client of your choice.

 

Check DKIM registration

If you have a Mail service with Infomaniak, the easiest way is to go to the Global Security tool to easily check and correct certain problematic records.

And when your domain name is managed elsewhere, you will find the DKIM record to add to the DNS zone:

 

Manually modify the DNS zone (not recommended)

To manage this type of record in a DNS zone:

  1. Click here to access your domain management in the Infomaniak Manager (need help?).
  2. Click directly on the name assigned to the domain in question.
  3. Click on DNS Zone in the left-hand menu.
  4. Click the button to add a record:
  5. Click the DKIM radio button to add a record.
  6. Click the Next button:
  7. Enter the DKIM values required for your DNS zone.
  8. Leave the default value for the TTL.
  9. Click on the Save button:

 

Add multiple DKIM records

You can have multiple DKIM records on your domain/subdomainwithout any limit, unlike DMARC or SPF, as long as your DNS host allows it.

If you use multiple third-party email providers, such as the Odoo ERP, it is necessary to add a DKIM for Odoo in addition to the one for Infomaniak.

Use unique DKIM selectors to avoid conflicts with existing records.


Has this FAQ been helpful?

This guide details the specific features of the .swiss domain name extension, which is subject to certain conditions.

 

Introduction

  • Previously reserved for businesses, registration for a .swiss domain is now open to individuals and sole proprietorships not registered in the commercial register.
  • You can now submit your registration request for Give yourself the best possible chance and secure your family name or brand.
  • By submitting your request now, Infomaniak will immediately submit your request to the Federal Office of Communications for review.
  • Regarding registration for businesses, it is not immediate, and the waiting period of several weeks is independent of Infomaniak. Your requests will be rejected if they do not meet certain conditions.

 

Reserve your domain in .swiss

Beyond a unique opportunity to register your family name or your brand:

  • Unlike the .ch domain, which is accessible to everyone, the .swiss extension is subject to validation by the Federal Office of Communications (OFCOM).
  • The .swiss domain certifies your presence in the Swiss market and sends a strong and credible signal to your Swiss and international partners.
  • Get 1 email address with your .swiss domain for free by ordering a kSuite standard account, which includes all kDrive productivity/storage applications.
  • Infomaniak offers the best price for the .swiss domain, even after the first year's promotional period.

The complete terms and conditions for individuals and sole proprietorships are detailed during the ordering process; however:

  • You must be a natural person domiciled in Switzerland or a Swiss national.
  • Swiss nationals living abroad can also apply for a .swiss domain for private, charitable, or association purposes.
  • The desired .swiss domain must contain one of the following elements in relation to the person submitting the registration request:
    • one of the official names or other names registered in the civil registry
    • one of the first names
    • a surname
    • a name of a registered partnership
    • a name received in a religious order
    • an artist's name under which the person is known
    • a name related to a distinctive sign (e.g., a registered trademark) to which the applicant has rights

 

AVS and UPI (Universal Person Identification) numbers are not visible in the WHOIS.


Has this FAQ been helpful?

This guide explains how to resolve access errors to your Web Hosting following an IP address change (server migration, for example).

 

Introduction

  • To save time, your system maintains a table that maps domain names to IP addresses.
  • If the website changes its "location" (IP address), your computer tries to access the old address.
  • Clearing the cache forces the system to request the new address from the DNS servers.

If your computer retains the old address in its memory,clearing the DNS cache can restore the connection.

 

Clear the DNS cache…

 

… on Windows

Use the command prompt to refresh your network settings:

  1. Open the Start menu.
  2. Type cmd and press Enter.
  3. In the black window that opens, type the following command and press Enter: 
    ipconfig /flushdns

 

… on macOS

On recent versions of macOS, the process is done via the Terminal:

  • Open the Terminal (via Spotlight or Applications > Utilities).
  • Copy and paste the following command:
    sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
  • Enter your session password (it will not be displayed while typing) and validate.

 

… on Linux

Most modern distributions use systemd-resolved. Open your terminal and run:

  • sudo resolvectl flush-caches

Note: If you are using an older service, the commandsudo systemctl restart nscd remains valid.


Has this FAQ been helpful?