From 31a9b08c53ff1847999bb9d77d0c76bdd194415f Mon Sep 17 00:00:00 2001 From: Sebastian Wanke Date: Thu, 20 May 2021 12:22:57 +0200 Subject: [PATCH] Here the `nameserver.info` call should be used to check if a domain is registered in the INWX-Nameserver and not the domain call because it checks if the domain is bought from INWX. According to issue #827 --- lexicon/providers/inwx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lexicon/providers/inwx.py b/lexicon/providers/inwx.py index 2f6554d6b..2542b39e2 100644 --- a/lexicon/providers/inwx.py +++ b/lexicon/providers/inwx.py @@ -76,7 +76,7 @@ def _authenticate(self): """ opts = {"domain": self._domain} opts.update(self._auth) - response = self._api.domain.info(opts) + response = self._api.nameserver.info(opts) try: self._validate_response(response=response, message="Failed to authenticate") except Exception as e: