Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with subdomain #18

Open
DrGeek opened this issue Jun 30, 2022 · 0 comments
Open

Error with subdomain #18

DrGeek opened this issue Jun 30, 2022 · 0 comments

Comments

@DrGeek
Copy link

DrGeek commented Jun 30, 2022

I couldn't use this plugin for subdomain until I changed those 2 lines :

 def _perform(self, domain, validation_name, validation):
        self._get_powerdns_client().add_txt_record(
            domain.split('.')[-2]+'.'+domain.split('.')[-1], validation_name, validation)

    def _cleanup(self, domain, validation_name, validation):
        self._get_powerdns_client().del_txt_record(
            domain.split('.')[-2]+'.'+domain.split('.')[-1], validation_name, validation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant