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!
regarding namecheap AAAA:
https://www.namecheap.com/support/api/methods/domains-dns/set-hosts/
It would appear namecheap now have a method to update the AAAA record type, but it is not very good. It overwrites all existing records, instead of updating one. However if you only have one record to update it may be of interest.
I don’t have a fritzbox yet. How does fritzbox do ipv6 regarding outside-in access?
I’m on Vodafone Kabel in NRW – ipv6 only – and I need to get thru the Vodafone Station router, or just replace it. It does not do NAT, rather its firewall exposes whichever ipv6 GUA has been assigned by its DHCPv6 server. No other ipv6 address can be exposed/hit from outside(eg. SLAAC addresses with the correct prefix are forever firewalled in).
I’m able to hit Windows machines thru that firewall, but similarly configured Debian/Ubuntu machines just can’t be hit for some reason.
Between the firewall and Debian/Ubuntu’s default network configuration, I’m locked into this problem, wondering if the fritzbox would give me a little more control.
Hi, I recommend a FRITZ!Box Cable, directly on DOCSIS 3.1, completely removing that provider box (either that, or enable bridge mode). These provider boxes are awful, and you’re right, the firewall doesn’t do what you want it to do, either. I have no more issues hosting things since I got a FRITZ!Box as replacement. Note: You can use AVM’s “MyFRITZ” for dual stack dynamic DNS, and then use its domain as CNAME. It’s not the best solution, but it’s good enough for home users. Another option (if you don’t need DECT or phone stuff) is to enable bridge mode and install an OpenWrt router, but that’s for more advanced users.
If you decide to go for a FRITZ!Box, I recommend buying your own FRITZ!Box to own (not rent!) because that way the ISP has no control over it, and you get the latest updates directly from AVM.
These are Amazon affiliate links for the latest FRITZ!Box Cable models. (:
FRITZ!Box 6660: https://amzn.to/3xwYImN
FRITZ!Box 6690: https://amzn.to/3dl3ZH6
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.