Skip to content

Commit

Permalink
ddns-gargoyle: Add new IP lookup provider ip2location.io
Browse files Browse the repository at this point in the history
  • Loading branch information
lantis1008 committed Feb 17, 2024
1 parent 8706593 commit 013f4dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions package/ddns-gargoyle/src/check_local_ip_urls.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ char default_ip_lookup_url_data[][MAX_LOOKUP_URL_LENGTH] = {
"https://ifconfig.co/ip",
"https://ipapi.co/ip",
"https://api.ip.sb/ip",
"https://ip2location.io/ip",
"\0"
};

Expand Down
2 changes: 2 additions & 0 deletions package/ddns-gargoyle/src/ddns_updater.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ char default_ip_lookup_url_data[][MAX_LOOKUP_URL_LENGTH] = {
"https://ifconfig.co/ip",
"https://ipapi.co/ip",
"https://api.ip.sb/ip",
"https://ip2location.io/ip",
"\0"
};

Expand All @@ -114,6 +115,7 @@ char default_ip6_lookup_url_data[][MAX_LOOKUP_URL_LENGTH] = {
"https://ipapi.co/ip",
"https://api.ip.sb/ip",
"https://api.aruljohn.com/ip",
"https://ip2location.io/ip",
"\0"
};

Expand Down

0 comments on commit 013f4dd

Please sign in to comment.