1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

E2000 tomato with 3 DDNS ?

Discussion in 'Tomato Firmware' started by zatoom, Oct 30, 2013.

  1. zatoom

    zatoom Addicted to LI Member

    I use openDNS and DynDNS.
    Now i want to use IPv6 from Hurricane Electric to suport IPv6 into my network
    But Tomato Firmware v1.28.0502 MIPSR2Toastman-RT-N K26 Std has 2 Dynamic DNS
    Is there a fimware that support 3 or more Dynamic DNS ?
  2. M_ars

    M_ars LI Guru Member

    Hi, no Firmware has that Build in.
  3. lancethepants

    lancethepants Network Guru Member

    A few way you could accomplish this.

    1. DNSOmatic ought to be able to handle doing OpenDNS and DynDNS. So then you only have to update DNSomatic and you have space for HE.

    2. You could look in the tomato code, and see how they are doing it, then make your own wanup script doing that.

    3. Find some wanup script on the internet, and modify it to work on the router.
    ie http://planetfoo.org/blog/archive/2012/04/23/using-an-ipv6-tunnel-broker-with-linux/

    This one requires curl with ssl support. If you go that route, you can get static curl at http://lancethepants.com/files

    edit: I can assist if you can't figure any of these on your own.
  4. zatoom

    zatoom Addicted to LI Member

    Thanks, lancethepants.
    DNSOmatic did the job.
  5. jerrm

    jerrm Network Guru Member

    Using Tomato:

    This should work, not tested, may need some tweaking, but will be enough to get things started if you're interested.:

    1: Remove existing ddns entries and save.
    2: Add your "third" entry as the primary service and save.
    3: Execute "nvram get ddnsx0" and note the service name (first word)
    4: Copy /var/lib/mdu/ddnsx0.conf to /etc/ddnsx3.conf"
    5: Edit the file to replace instances of "ddnsx0" with "ddnsx3"
    6: Execute "nvram setfile2nvram /etc/ddnsx3.conf"
    7: Schedule a cron entry to execute "mdu --service namefromstep3 /etc/ddnsx3.conf"
    8: Edit the ddns settings and put back your "real" settings for provider 1 and 2.

    If you have a dynamic ip, use the "external address checker" when setting up the ddns entry, or use something like sed to replace the addr entry in the .conf file with the current WAN IP.

    Is wanup called if the external IP is changed? You may want to place an mdu entry there too. I don't think we have any dynamic IPs anymore.
    Last edited: Nov 1, 2013
    Ped Man likes this.
  6. zatoom

    zatoom Addicted to LI Member

    Thanks Jerrm, but that is too far for me.
    There are too many variables that can go wrong.
    I now use DNSOmatic and that works fine for what I need.
    Thanks again.
    Last edited: Nov 1, 2013
  7. jerrm

    jerrm Network Guru Member

    Not really much to go wrong. Once setup it should be stable, same tools the system uses. I personally despise anything that requires yet another online account to worry about, especially when a few lines of script could avoid it.
  8. zatoom

    zatoom Addicted to LI Member

    In itself a good aim but to me a step too far, I want to know what I do and now I lack the time to dive into.

Share This Page