Coredns: How to add cname to coredns

Created on 29 Apr 2020  路  5Comments  路  Source: coredns/coredns

How to add cname to coredns

needs info question

All 5 comments

[ Quoting notifications@github.com in "[coredns/coredns] How to add cname ..." ]

How to add cname to coredns

/label needs info
/label question

I hope to use the cname function in coredns to resolve the internally-named domain name to the public domain name, how to achieve it?

Still not really clear what you want to do... a simple example would go a long way.

Nevertheless, you may be able to use the _template_ plugin to do what you want.
The _template_ plugin can create a CNAME based on the incoming request.

@zouyee, The hosts plugin doesn't support creating CNAMEs.

@NadamHL, I am closing this. Please feel free to reopen if you have time to better describe what you want to do and why you want to do it with examples.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

miekg picture miekg  路  6Comments

miekg picture miekg  路  4Comments

guihkx picture guihkx  路  6Comments

ghost picture ghost  路  6Comments

qrr1995 picture qrr1995  路  3Comments