Use Opendns or Googledns with the fritz box 7170

Published: by Creative Commons Licence

  • Tags:

Like one of the many xs4all customers I am the (proud) owner of a fritzbox 7170 to facilitate my internet connection.

One of the issues with this modem is the absense of overriding all settings. One of the things that cannot be changed are the dns server that are used by the fritz box itself or the clients served via the fritz box dnsmasq.

However there is a solution, which goes via the following steps:

  1. Enable the telnet daemon by dailing: #96*7*
  2. login the fritz model using telnet (use either the dns name, or the ip adress, default
  3. nvi /var/flash/ar7.cfg
  4. use the / to search for overwritedns1 & overwritedns2
  5. fill in the ip adresses of the servers from opendns or google (resp. & or &
  6. repeat steps 4 & 5 once (both entries should occure twice)
  7. save the file and quit nvi (:wq)
  8. reboot the modem by the command reboot

Check if the settings are active. Dns lookups should be faster and when using opendns more controle is available.