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

each google subdomain can have(?) or has it's own email and password #183

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

UniqueUserajs
Copy link

No description provided.

@@ -109,6 +109,38 @@ func (handler *Handler) updateDNS(domain *settings.Domain, ip string) error {
}
}
}
for _, designated := range domain.DelegatedSubDomains {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May I know what does the DelegatedSubDomains used for?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If so, this part of the code is only available for the Google handler?

Copy link
Owner

@TimothyYe TimothyYe Aug 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it is needed to check the other providers. I'm just not sure if this change will affect the other providers. For example, is the config DelegatedSubDomains compulsory? Or for the other providers can just ignore it from the config file?

@UniqueUserajs
Copy link
Author

UniqueUserajs commented Aug 26, 2022 via email

@UniqueUserajs
Copy link
Author

UniqueUserajs commented Aug 27, 2022 via email

@UniqueUserajs
Copy link
Author

UniqueUserajs commented Aug 27, 2022 via email

@TimothyYe
Copy link
Owner

I only changed the config handler for google, which now accepts either configuration. (see internal/utils/settings.go). If other providers support this configuration I would move the either/or check into its own function.

On Sat, Aug 27, 2022 at 2:03 PM Timothy @.> wrote: @.* commented on this pull request. ------------------------------ In internal/handler/handler.go <#183 (comment)>: > @@ -109,6 +109,38 @@ func (handler Handler) updateDNS(domain settings.Domain, ip string) error { } } } + for _, designated := range domain.DelegatedSubDomains { I think no need to check the other providers. I'm not sure if this change will affect the other providers. For example, is the config DelegatedSubDomains compulsory? Or for the other providers can just ignore it from the config file? — Reply to this email directly, view it on GitHub <#183 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARQAHVF7BKAYEETSEVVWGPTV3JJ5JANCNFSM57E7IKMQ . You are receiving this because you authored the thread.Message ID: @.*>

OK, let me test the compatibility.

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

Successfully merging this pull request may close these issues.

None yet

2 participants