![]() ![]() ![]() Make sure you create the DNS entry for the domain name you want to update on CloudFlare the DIUP action parameter will only update the IP for an entry that already exists. Instead of using HTTP basic auth I just use a random key. $curl = "$hostname&u=$username&tkn=$api&ip=$ip" ![]() URL: /cloudflare_update.php?key=&hostname=Ĭloudflare_update.php if(empty($_GET) || ($_GET != "")) die DD-WRT DDNS settings DDNS Service: Custom The way I have it configured is to have DD-WRT call a PHP script on a remote web server, which then detects the client IP and sends the update request to CloudFlare via their API. I don't think you can set it up where DD-WRT calls CloudFlare directly. URL from "Location" works perfectly and parameter "a" is included. Set-Cookie: _cfduid= expires=Mon, 2 23:50:00 GMT path=/ domain=.You must include an `a' paramiter, with a value of DIUP|wl|chl|nul|ban|comm_news|devmode|sec_lvl|ipv46|ob|cache_lvl|fpurge_ts|async|pre_purge|minify|stats|direct|zone_check|zone_ips|zone_errors|zone_agg|zone_search|zone_time|zone_grab|app|rec_se Set-Cookie: _cfduid= expires=Mon, 2 23:50:00 GMT path=/ domain=. Check usr,pass,hostname! (HTTP/1.1 303 See OtherĬache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Tue Jan 24 00:36:48 2012: W:INADYN: Error validating DYNDNS svr answer. Tue Jan 24 00:36:47 2012: I:INADYN: IP address for alias '' needs update to '' ![]() It works if I use it in browser, but in dd-wrt I get this output: Tue Jan 24 00:36:47 2012: INADYN: Started 'INADYN Advanced version 1.96-ADV' - dynamic DNS updater. Unfortunately I encountered a problem… Here is an example request from their ddclient configuration: I'm trying to configure Dynamic DNS client on my router with dd-wrt (v24-sp2) firmware so it would dynamically change IP address in one of the DNS records. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |