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

Example #12

Closed
chris-edwards-pub opened this issue Jan 11, 2023 · 1 comment
Closed

Example #12

chris-edwards-pub opened this issue Jan 11, 2023 · 1 comment

Comments

@chris-edwards-pub
Copy link

chris-edwards-pub commented Jan 11, 2023

Hello,

Is this how I would server more than one domain from the same database?

This is my current Corefile...

. {
    forward . 8.8.8.8 9.9.9.9
    log
    errors
    debug
    cache
    reload
}

example.org {
    mysql {
        dsn root:XXXXXXXXXX@tcp(coredns.us-east-1.rds.amazonaws.com:3306)/coredns
    }
    log
    errors
    debug
}

example.com {
    mysql {
        dsn root:XXXXXXXXXX@tcp(coredns.us-east-1.rds.amazonaws.com:3306)/coredns
    }
    log
    errors
    debug
}

I'll move the dsn to an environment variable later, I am just trying to do a POC.

Thanks for any help.

Chris

@khash
Copy link
Member

khash commented Nov 16, 2023

I'm going to close this as I can see you have other issues after this.

@khash khash closed this as completed Nov 16, 2023
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

2 participants