Skip to content

Commit

Permalink
Resolved issue with "host" needing to be set, removed unnecessary gui…
Browse files Browse the repository at this point in the history
…dance for end user
  • Loading branch information
CyberAustin committed Jul 25, 2023
1 parent 3b87e5c commit e6bb0f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions docs/nowdns.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
{
"provider": "nowdns",
"domain": "domain.com",
"host": "@",
"username": "username",
"password": "password",
}
Expand All @@ -20,7 +19,6 @@

### Compulsory parameters

- `"domain"` your domain name
- `"host"` leave it set to `"@"`
- `"domain"` your full domain name (FQDN)
- `"username"` your email address
- `"password"`
2 changes: 1 addition & 1 deletion internal/provider/providers/nowdns/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func New(data json.RawMessage, domain, host string,
}
p = &Provider{
domain: domain,
host: host,
host: "@",
ipVersion: ipVersion,
username: extraSettings.Username,
password: extraSettings.Password,
Expand Down

0 comments on commit e6bb0f3

Please sign in to comment.