Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 897704 - net-dns/coredns request to add savedconfig USE flag that lets one customize plugins.
Summary: net-dns/coredns request to add savedconfig USE flag that lets one customize p...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-25 16:33 UTC by Rahil Bhimjiani
Modified: 2023-02-25 23:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rahil Bhimjiani 2023-02-25 16:33:30 UTC
From https://coredns.io/manual/toc/#configuration

"The binaries we provide have all plugins, as listed in plugin.cfg, compiled in. Adding or removing is easy, but requires a recompile of CoreDNS."

Currently I've to add following dirty patch to customize plugin.cfg. 
https://gitlab.com/rahilarious/gentoo-config/-/blob/main/etc/portage/patches/net-dns/coredns/0001-remove-bloat.patch

With savedconfig flag modding will be easier.

I was able to reduce binary size from 72MiB to 22MiB which will help in reducing memory usage on production server.

Thanks.