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

DNS Wildcard Problem #84

Open
kfbfarley opened this issue Jun 11, 2022 · 0 comments
Open

DNS Wildcard Problem #84

kfbfarley opened this issue Jun 11, 2022 · 0 comments
Labels

Comments

@kfbfarley
Copy link

The following line of code is broken when you have a domain like: mail.adbc.com.pt, mail.abcd.com.br

DOMAIN=echo ${SERVER_HOSTNAME} | awk 'BEGIN{FS=OFS="."}{print $(NF-1),$NF}'

The result becomes: com.pt or com.br which is not what we prettend to use

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants