dyndns/samples.txt
Torben Nehmer 45d4e45bb1 Reworked update code, split v4/v6 updates
- collect dns updatees individually, so that we clear A and AAAA separately if and only if needed.
- made nft AddIP call more resilient against partial updates
- updated nft processing code to no longer add nil to a v4/v6 set which would end in an invalid call to AddIP when updating nft. call it individually now.
- updated samples with real world traces from an AVM Box
2021-09-25 11:56:50 +02:00

39 lines
1.9 KiB
Plaintext

Fritz Box kann nur IPv4 und IPv6 getrennt.
URLs werden durch spaces getrennt:
https://dyndns.nehmer.net/update?UserName=<username>&Password=<passwd>&IPv4=<ipaddr> https://dyndns.nehmer.net/update?UserName=<username>&Password=<passwd>&IPv6=<ip6addr>&IPv6Net=<ip6lanprefix>
ergibt:
79.192.127.0 - - [22/Sep/2021:18:16:17 +0200] "GET /update?UserName=atlantis&Password=xxx&IPv4=79.192.127.157 HTTP/1.1" 500 5641 "-" "Fritz!Box DDNS/1.0.2"
79.192.127.0 - - [22/Sep/2021:18:16:18 +0200] "GET /update?UserName=atlantis&Password=xxx&IPv6=2003:ef:8fff:1021:7eff:4dff:fe7e:e901&IPv6Net=2003:ef:8f0f:fc00::/64 HTTP/1.1" 500 5621 "-" "Fritz!Box DDNS/1.0.2"
/update?UserName=atlantis&Password=xxx&IPv4=79.192.127.157
/update?UserName=atlantis&Password=xx&IPv6=2003:ef:8fff:1021:7eff:4dff:fe7e:e901&IPv6Net=2003:ef:8f0f:fc00::/64
/update?UserName=example&Password=kennwort&IPv4=79.192.127.157
/update?UserName=example&Password=kennwort&IPv6=2003:ef:8fff:1021:7eff:4dff:fe7e:e901&IPv6Net=2003:ef:8f0f:fc00::/64
/update?UserName=test&Password=kennwort&Domain=atlantis.nehmer.net&IPv4=79.202.5.79&IPv6=2003:ef:8fff:905:7eff:4dff:fe7e:e901&DualStack=1&IPv6Net=2003:ef:8f08:f600::/64
Zerlegt:
/update?
UserName=test
&Password=kennwort
&Domain=atlantis.nehmer.net
&IPv4=79.202.5.79
&IPv6=2003:ef:8fff:905:7eff:4dff:fe7e:e901
&DualStack=1
&IPv6Net=2003:ef:8f08:f600::/64
ispconfig.vhost
ProxyPass /hello http://127.0.0.1:8080/hello
ProxyPass /update http://127.0.0.1:8080/update
http://localhost:8080/update?UserName=example&Password=kennwort&Domain=atlantis.nehmer.net&IPv4=79.202.5.79&IPv6=2003:ef:8fff:905:7eff:4dff:fe7e:e901&DualStack=1&IPv6Net=2003:ef:8f08:f600::/64
http://localhost:8080/update?UserName=example&Password=kennwort&Domain=atlantis.nehmer.net&IPv6=2003:ef:8fff:905:7eff:4dff:fe7e:e901&DualStack=1&IPv6Net=2003:ef:8f08:f600::/64
http://localhost:8080/update?UserName=example&Password=kennwort&Domain=atlantis.nehmer.net&IPv4=79.202.5.79