Discussion:
[Dnsmasq-discuss] Regex patch
Thiago Alves
2018-06-11 16:19:52 UTC
Permalink
Hello,

I need to use the address regex feature in my prod k8s cluster:
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2012q1/005615.html

I need to catch all DNS entries in a format like "^[a-zA-Z\.]+\.com\.
[a-zA-Z\.]+\.cluster\.local$"

However I see it is not merged to the master branch. This means that I will
have apply the patch to version 2.62 (it is not compatible with the latest
version), recompile it and create a custom docker image to be used by
kube-dns.

Is my understanding correct? Or is there a better way of achieving this goal

Thanks
Thiago Alves
2018-06-17 15:46:46 UTC
Permalink
Sorry for being insistent here

I just need to confirm that:

1) The regex feature is not available in the official releases, so the only
way to enable it is by applying the patch mentioned in my previous message
2) It is safe to apply the patch on version 2.62 and use it in production
envs

Thanks
Post by Thiago Alves
Hello,
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/
2012q1/005615.html
I need to catch all DNS entries in a format like "^[a-zA-Z\.]+\.com\.
[a-zA-Z\.]+\.cluster\.local$"
However I see it is not merged to the master branch. This means that I
will have apply the patch to version 2.62 (it is not compatible with the
latest version), recompile it and create a custom docker image to be used
by kube-dns.
Is my understanding correct? Or is there a better way of achieving this goal
Thanks
--
[image: Aurea] <http://www.aurea.com/>

*Thiago Alves Silva*


Chief Architect
***@aurea.com
+5511995675707
Skype: t.a.silva
john doe
2018-06-17 16:52:34 UTC
Permalink
Post by Thiago Alves
Sorry for being insistent here
1) The regex feature is not available in the official releases, so the only
way to enable it is by applying the patch mentioned in my previous message
2) It is safe to apply the patch on version 2.62 and use it in production
envs
If you want to use features that are not in the official version of
dnsmasq it is your responsability to insure that they are working as you
expect them to!
--
John Doe
Geert Stappers
2018-06-17 17:24:19 UTC
Permalink
Post by john doe
Post by Thiago Alves
Sorry for being insistent here
1) The regex feature is not available in the official releases, so the only
way to enable it is by applying the patch mentioned in my previous message
2) It is safe to apply the patch on version 2.62 and use it in production
envs
If you want to use features that are not in the official version of
dnsmasq it is your responsability to insure that they are working as
you expect them to!
Reports like

Here is the updated patch of what I found in the archive.
It does work for me.

do help to get a patch included.


Groeten
Geert Stappers
--
Leven en laten leven
Loading...