This is a quick guide on how to set up Namecheap Dynamic DNS on your FRITZ!Box.
For this guide, we’ll assume your domain is example.com, registered with Namecheap and that you’re running FRITZ!OS 7.20 or newer.
- In your FRITZ!Box web interface (usually http://fritz.box), sign in and go to Internet > Freigaben > DynDNS
- Check the box “DynDNS benutzen” to enable DynDNS
- In the provider dropdown (“DynDNS-Anbieter”) choose custom (“Benutzerdefiniert”)
- In the “Update-URL” enter the URL shown below
- In Domain name (“Domainname”) enter example.com (or your actual domain, rather)
- In Username (“Benutzername”) enter either @ if you want to use the root domain, or enter the subdomain to use
- In Password (“Kennwort”) enter the Namecheap “Dynamic DNS Password” (Can be found in the Namecheap Dashboard in your domain settings under “Advanced DNS”)
Namecheap Update-URL for FRITZ!Box:
https://dynamicdns.park-your-domain.com/update?host=<username>&domain=<domain>&password=<passwd>&ip=<ipaddr>
Note that this is for IPv4 only! Sadly Namecheap does not support Dynamic DNS with IPv6 yet.
Explanation on username / hostname
Namecheap wants both a domain name, and a hostname. The domain name (or zone) in this case would be example.com.
The “username” in FRITZ!Box is the hostname on Namecheap. If you want to use example.com as is, then you’ll need to use @ as username.
If you instead want to use subdomain.example.com as the hostname then you’ll enter “subdomain” into the username field.
Source on Update-URL
That’s all there is to it! Happy hosting!
Fritzbox gives me a 520 error in the logs. Any ideas to fix this?
Is it possible to add multiple host names to update the dns for multiple subdomains?
Yes and no, while FRITZ!Box does not support adding multiple hostnames, there’s a trick:
1. Create one domain name (or subdomain) which you will enter into the FRITZ!Box dynamic DNS setting
2. For each other domain you want to use, create a CNAME record that points to the first domain (the one you’re using for dynamic DNS)
For example, you might have fritzbox.example.com in your FRITZ!Box dynamic DNS setting, and you want to use something.example.com, too. So, you would make something.example.com a CNAME record pointing to fritzbox.example.com (you can also use a top-level domain, or a different domain). Just make sure that they all are a CNAME record pointing to the one used in the FRITZ!Box setting.