ddns.config 917 B

1234567891011121314151617181920212223242526272829303132
  1. #
  2. # Please read http://wiki.openwrt.org/doc/uci/ddns
  3. #
  4. config ddns "global"
  5. option ddns_dateformat "%F %R"
  6. # option ddns_rundir "/var/run/ddns"
  7. # option ddns_logdir "/var/log/ddns"
  8. option ddns_loglines "250"
  9. option upd_privateip "0"
  10. config service "myddns_ipv4"
  11. option service_name "dyndns.org"
  12. option lookup_host "yourhost.example.com"
  13. option domain "yourhost.example.com"
  14. option username "your_username"
  15. option password "your_password"
  16. option interface "wan"
  17. option ip_source "network"
  18. option ip_network "wan"
  19. config service "myddns_ipv6"
  20. option update_url "http://[USERNAME]:[PASSWORD]@your.provider.net/nic/update?hostname=[DOMAIN]&myip=[IP]"
  21. option lookup_host "yourhost.example.com"
  22. option domain "yourhost.example.com"
  23. option username "your_username"
  24. option password "your_password"
  25. option use_ipv6 "1"
  26. option interface "wan6"
  27. option ip_source "network"
  28. option ip_network "wan6"