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 Network 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.
  9. alpovs

    alpovs Networkin' Nut Member

    I am resurrecting this old thread because my recent one didn't get much attention. I'd like to use more than 2 DDNS providers from Tomato just like the OP but without the involvement of DNSomatic. I am on the side of jerrm here. If you are still around, your recipe doesn't work - variables ddnsx0 and ddnsx1 don't return service names.

    Any suggestion on how to use more than 2 DDNS providers from within Tomato will be appreciated. I tried assigning a ddnsx2 variable but it gets ignored.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice