Coredns: rewrite: Support wildcard domain matching

Created on 28 Nov 2017  路  5Comments  路  Source: coredns/coredns

I'd like to use the rewrite plugin to change all requests to Ubuntu mirrors as follows:

rewrite name *.archive.ubuntu.com mirror.local.com

However, the rewrite plugin doesn't currently support wildcards.

enhancement plugirewrite

Most helpful comment

@jpds , I think this is resolved in #1297

rewrite name regex (.*)\.archive.ubuntu.com {1}.mirror.local.com

or

rewrite name regex (.*)\.archive\.ubuntu\.com mirror.local.com

All 5 comments

That's a nice idea/enhencement

@jpds , I think this is resolved in #1297

rewrite name regex (.*)\.archive.ubuntu.com {1}.mirror.local.com

or

rewrite name regex (.*)\.archive\.ubuntu\.com mirror.local.com

That's a nice idea/enhencement

@miekg , is the issue ripe for closing?

[ Quoting notifications@github.com in "Re: [coredns/coredns] rewrite: Supp..." ]

That's a nice idea/enhencement

@miekg , is the issue ripe for closing?

looks like it :) (sorry haven't been following closely as John was doing most of
it)

1297

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SivaKesava1 picture SivaKesava1  路  4Comments

miekg picture miekg  路  4Comments

JaroVojtek picture JaroVojtek  路  6Comments

msschl picture msschl  路  6Comments

Mynom picture Mynom  路  5Comments