cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1060
Views
5
Helpful
39
Replies

Dynamic DNS settings for AVM FritzBox router

dirtyharry_28
Level 1
Level 1

I am using OpenDNS since yesterday and have set it up in my router (AVM Fritz!Box 7330) using the infos for the dynamic IP update which I gathered searching the internet and tried the following configurations:

Config 1:
Update-URL: updates.dnsomatic.com/nic/update?myip=<ipaddr>
Domainname: dnsomatic
Username: [my DNS-O-Matic username]
Password: [my DNS-O-Matic password]

with this config the IP update works (can be seen on DNS-O-Matic and OpenDNS) but my router shows this in the log:
"Dynamic DNS-Fehler: Der angegebene Domainname kann trotz erfolgreicher Aktualisierung nicht aufgelöst werden"
which means "Although update was successful the domain name could not be resolved". Sure it has no TLD.

The "domainname" entry in the router is the customer URL from the dynamic DNS provider which makes the router available from external, like "myusername.dyndns.org".

I did not find any information on the OpenDNS and DNS-O-Matic website what this "domainname" could be. I also tried dnsomatic.com but without success, same with "localhost" - then the error gets even worse:
"Dynamic DNS-Fehler: Die Dynamic DNS-Aktualisierung war erfolgreich, anschließend trat jedoch ein Fehler bei der DNS-Auflösung auf."

Means: Update was successful but an error in DNS resolving occured afterwards" although I can normally access websites.

Currently trying to update directly via OpenDNS instead of DNS-O-Matic using this config.

 

Config 2:
https://updates.opendns.com/nic/update?hostname=home
opendns
Username: [my OpenDNS username]
Password: [my OpenDNS password]

(where "home" is the name for the registered network associated with my account)

With every config I get this error described below config 1) every 30 minutes - which seems to be the interval for the router to send an IP address update to a dynamic DNS service.

 

My question now is:
what should I use as proper "domainname" in the dynamic DNS settings to use with OpenDNS dynamic IP updates?

Maybe "OpenDNSusername.opennds.com" or "OpenDNSusername_networkname.opennds.com"?

 

Thanks a lot!

 

 

Timo

39 Replies 39

alexahar
Cisco Employee
Cisco Employee

The error is due to OpenDNS not actually updating a DDNS domain so there would be no DNS to resolve at the end of it so as long as the DNS update is successful it's good to go. 

dicks1
Level 1
Level 1

On my 7270v3 these are my settings. The Fritzbox throws an occasional "Dynamic DNS-Fehler: Die Dynamic DNS-Aktualisierung war erfolgreich, anschließend trat jedoch ein Fehler bei der DNS-Auflösung auf." but I think this is an issue related to the too short time set for the FritzBox to check the DNS update.

My settings (which work fine, even with just having only OpenDNS and no other DNS service configured in dnsomatic):

Dynamic DNS-Anbieter: Benutzerdefiniert

Update-URL: http://updates.dnsomatic.com/nic/update?hostname=all.dnsomatic.com&myip=<ipaddr>&wildcard=NOCHG&mx=NOCHG&backmx=NOCHG

Domainname: all.dnsomatic.com

Benutzername: [name von opendns-konto]

Kennwort: [kennwort von opendns-konto]

rotblitz
Level 6
Level 6

"I think this is an issue related to the too short time set for the FritzBox to check the DNS update."

I see that you didn't read this thread from begin.  It could be the short timeout, but in your case it isn't.  Because the FritzBox (or anything else) can't resolve the domain name all.dnsomatic.com, this is non-existent.  If you want to prevent from happening this error message, you'll have to read and follow my first response and advices above.

Also, you can shorten your Update-URL for DNS-O-Matic to the following (exactly as you see it here and like the original author posted it): 
updates.dnsomatic.com/nic/update?myip=<ipaddr> 

Everything else is obsolete and of no use.

dicks1
Level 1
Level 1

I did read your original post.

Re. "See at DNS-O-Matic what services are supported, and select a free service from there to subscribe to it to get a hostname you can enter in your router, and keep this updated through DNS-O-Matic as well, same as your OpenDNS service." -> I tried this and added an additional domain to dnsomatic (the created domain from afraid.org).

There is absolutely no difference in the Fritzbox error log when I have the DDNS from afraid.org or the all.dnsomatic.com address in "Domainname".

Also, I have tried both versions of the Update-URL, also there is no difference in the amount of errors in the Fritzbox log.

In all cases you will see "Dynamic DNS-Fehler: Die Dynamic DNS-Aktualisierung war erfolgreich, anschließend trat jedoch ein Fehler bei der DNS-Auflösung auf."

However the good news is, in all cases the IP is updated correctly.

rotblitz
Level 6
Level 6

"There is absolutely no difference in the Fritzbox error log when I have the DDNS from afraid.org or the all.dnsomatic.com address in "Domainname"."

Ah yes, this is new information and throws a different light on it!  Sure, with the afraid.org DDNS name it is the too short timeout of the FritzBox firmware then.  With all.dnsomatic.com it will be always, no matter what the timeout value would be.

You may want to go back to AVM to report this problem with your firmware version, and you may check if there's a firmware update available where this bug may be fixed already.

g2655970
Level 1
Level 1

Since I’m having the same issue with all these „errors“ in my FritzBox-logs, I just emailed AVM and asked for assistance, e.g. settings especially for OpenDNS, with no need for the „domainname“-field :)

Hoping to get a somehow helpful answer!

rotblitz
Level 6
Level 6

Try with the following in the domain name field:  myip.opendns.com
A DNS lookup to this domain returns the source IP address (in case of using OpenDNS' resolvers), and this is what the AVM DDNS check routine does...

g2655970
Level 1
Level 1

Thank you so much, again! Works like a charm!

g2655970
Level 1
Level 1

Dear rotblitz,

I think it would be best to place the further discussion here:

I inserted „myip.opendns.com“ into the specific field. As I wrote, the update worked fine and I didnt receive the „errors“.

Here comes the problem:

It seems as if the FritzBox, does not initiate the updates, when it gets a new IP (ISP reconnect every 24 hours :()

Instead it seems as if the FritzBox first checks out, which IP „myip.opendns.com“ returns. Since this requests returns my actual IP and not the old IP, which OpenDNS has in store, the FritzBox thinks, that everything is fine, OpenDNS is up-to-date, and there is no need for an update :/

So unfortunately this also doesn’t work for me, since the updates are now completely paused.

 

Is there a way/url to get the IP, which OpenDNS has in store for my network?

This would help to initiate updates, when needed, and pause them, when OpenDNS has the latest IP…

I’d appreciate any further idea you have ;)

Thanks!

rotblitz
Level 6
Level 6

Yep, confirmed, I made now the same experience with a Speedport router (produced by AVM).  The "domain name" must not have the current IP address, else no update takes place. :(

Then you must return to what I suggested and tested above: you must fill the domain field with another domain name from a DDNS service.  And you may continue to bother AVM with firmware change requests like an option to not check the "domain name" before the update after an IP address change, and/or an option not to check the update result after the update.

"Is there a way/url to get the IP, which OpenDNS has in store for my network?"

I only know this: https://dashboard.opendns.com/settings/
But this most likely doesn't help either to get the AVM router problem solved...

g2655970
Level 1
Level 1
Mmh ok, thanks for this confirmation! Than let's see how cooperative AVM is ;) Thanks for all your help so fare!

gcrisci
Level 1
Level 1

someone have update about what the AVM assistence have replied about the domainname field?

I have configured all as pointed in this thread, and I get the error every few minutes by my avm fritzbox ...

 

Thank you in any case for all the instructions

rotblitz
Level 6
Level 6

"I get the error every few minutes by my avm fritzbox"

This looks like a totally different problem, unrelated to the topic of this thread.  It seems you have an internet connection timeout defined on your router, or your ISP forces one on you.  See if you have an option like "always online" in your router settings, and enable this.

dirtyharry_28
Level 1
Level 1

I made a short guide how I setup my FritzBox 7362 SL with OpenDNS. Hope this helps some of you.

Although I sometimes get this error "Dynamic DNS-Fehler: Die Dynamic DNS-Aktualisierung war erfolgreich, anschließend trat jedoch ein Fehler bei der DNS-Auflösung auf." which means that DNS update was successful but an error occured afterwards the update of my IP to OpenDNS functions without problems.

After that set your DNS server in the FritzBox to the ones of OpenDNS and you are done:

IPv4:
208.67.222.222
208.67.222.220

IPv6:
2620:0:ccc::2
2620:0:ccd::2

Using this method now for approx. 2 years without any issues.

 




OpenDNS.pdf

rotblitz
Level 6
Level 6

IPv6:
2620:0:ccc::2
2620:0:ccd::2

If you're doing this, you almost cannot make use of the enhanced OpenDNS features like content filtering and stats, for all DNS traffic going through IPv6.  Because you cannot register an IPv6 address at https://dashboard.opendns.com/settings/ yet, OpenDNS cannot associate your related DNS queries over IPv6 with your settings.

If you want to use this features, you must disable IPv6 traffic, at least for the DNS traffic.