Skip to content

Commit a0247f7

Browse files
authored
Remove myip.is from ip provider defaults (#146)
1 parent c9bdbab commit a0247f7

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -157,18 +157,18 @@ You can define the names of the environment variables by using the `env:` prefix
157157

158158
If not specified, the following defaults apply:
159159

160-
| Name | Default Value |
161-
|--------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|
162-
| `skipUpdateCheck` | `false` |
163-
| `ipProviders` | `["https://ifconfig.me/ip", "https://ipecho.net/plain", "https://myip.is/ip", "https://checkip.amazonaws.com", "https://api.ipify.org"]` |
164-
| `kubernetes.enabled` | `false` |
165-
| `managedRootRecord` | `true` |
166-
| `cloudflare.deleteGrace` | `0` (delete records instantly) |
167-
| `cloudflare.defaults.type` | `CNAME` |
168-
| `cloudflare.defaults.proxied` | `true` |
169-
| `cloudflare.defaults.ttl` | `1` |
170-
| `notifications.slack.username` | `SyncFlaer` |
171-
| `notifications.slack.iconURL` | `https://www.cloudflare.com/img/cf-facebook-card.png` |
160+
| Name | Default Value |
161+
|--------------------------------|--------------------------------------------------------------------------------------------------------------------|
162+
| `skipUpdateCheck` | `false` |
163+
| `ipProviders` | `["https://ifconfig.me/ip", "https://ipecho.net/plain", "https://checkip.amazonaws.com", "https://api.ipify.org"]` |
164+
| `kubernetes.enabled` | `false` |
165+
| `managedRootRecord` | `true` |
166+
| `cloudflare.deleteGrace` | `0` (delete records instantly) |
167+
| `cloudflare.defaults.type` | `CNAME` |
168+
| `cloudflare.defaults.proxied` | `true` |
169+
| `cloudflare.defaults.ttl` | `1` |
170+
| `notifications.slack.username` | `SyncFlaer` |
171+
| `notifications.slack.iconURL` | `https://www.cloudflare.com/img/cf-facebook-card.png` |
172172

173173
### Additional Records
174174

internal/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func GetConfig(configFilePath string) *Configuration {
136136
}
137137

138138
if config.IPProviders == nil {
139-
config.IPProviders = append(config.IPProviders, "https://ifconfig.me/ip", "https://ipecho.net/plain", "https://myip.is/ip/", "https://checkip.amazonaws.com", "https://api.ipify.org")
139+
config.IPProviders = append(config.IPProviders, "https://ifconfig.me/ip", "https://ipecho.net/plain", "https://checkip.amazonaws.com", "https://api.ipify.org")
140140
log.Debugf("IP providers is empty, defaulting to %s", strings.Join(config.IPProviders, ", "))
141141
}
142142

0 commit comments

Comments
 (0)