Date: Mon, 20 Nov 2023 03:25:53 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 275205] dns/coredns: change working directory to load extra config files Message-ID: <bug-275205-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275205 Bug ID: 275205 Summary: dns/coredns: change working directory to load extra config files Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: jinking.this@gmail.com Flags: maintainer-feedback?(yuri@freebsd.org) Assignee: yuri@freebsd.org Created attachment 246435 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D246435&action= =3Dedit change working directory in precmd dns/coredns: fix hosts file can not be load from Corefile Change working directory to config directory before running service. The cwd of coredns daemon was /, need to be changed to config directory whe= re Corefile stays. eg. >example.com { > hosts example.hosts { > reload 300s > fallthrough > } >} example.hosts file now can be placed in config directory("/usr/local/etc/coredns", by default). --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275205-7788>