-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from mxmehl/live-tests
Add functional tests against test API
- Loading branch information
Showing
7 changed files
with
102 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# SPDX-FileCopyrightText: 2024 Max Mehl <https://mehl.mx> | ||
# | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
# App configuration for INWX DNS Recordmaster. | ||
# This is not the place for domain records, these can be anywhere and used with the -c flag | ||
|
||
# Login data for the INWX API. Can also be a sub-account | ||
[inwx_account] | ||
# Username and password are both required | ||
username = "__INWX_OTE_USER__" | ||
password = "__INWX_OTE_PASS__" | ||
|
||
# In case your account is 2FA-protected, you can add the TOTP shared secret here | ||
# The program will automatically create a TOTP token for you. | ||
# Note that this may reduce the account's security drastically. It may be better | ||
# to create a sub-account with restricted access. You may also ask the INWX | ||
# support to limit access to this account to certain IP addresses. | ||
shared_secret = "" | ||
|
||
# Whether to use the INWX test instance at https://www.ote.inwx.de. Default: false | ||
test_instance = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# SPDX-FileCopyrightText: 2024 Max Mehl <https://mehl.mx> | ||
# | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
test-mehl.mx: | ||
.: | ||
- type: A | ||
content: "10.1.33.7" | ||
- type: NS | ||
content: ns.ote.inwx.de | ||
ttl: 86400 | ||
- type: NS | ||
content: ns2.ote.inwx.de | ||
ttl: 86400 | ||
mail: | ||
- type: CNAME | ||
content: mehl.mx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# SPDX-FileCopyrightText: 2024 Max Mehl <https://mehl.mx> | ||
# | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
test-mehl.mx: | ||
.: | ||
- type: A | ||
content: "127.0.0.1" | ||
- type: NS | ||
content: ns.ote.inwx.de | ||
ttl: 86400 | ||
- type: NS | ||
content: ns2.ote.inwx.de | ||
ttl: 86400 | ||
cloud: | ||
- type: MX | ||
content: example.com |