Re: local-unbound in a jail
- Reply: Steve Kirk : "Re: local-unbound in a jail"
- In reply to: Steve O'Hara-Smith : "Re: local-unbound in a jail"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Feb 2022 13:35:31 UTC
Steve O'Hara-Smith wrote: > On Fri, 18 Feb 2022 17:02:45 +0000 > Steve Kirk <steve@unixnation.net> wrote: > >> Afternoon all, >> >> I suspect that I know the answer to this question, however... I have >> tried to run local-unbound in a jail (as I intend to run rspamd in said >> jail) but it seems like it doesn't play nicely because there's no >> loopback address *inside* the jail which is the only interface this >> service is designed to work with. > > Setting up a cloned loopback on lo1 etc for jails is common > practice, does that not work for local unbound ? > > The technique is described under ezjail in the handbook but it can > be used without using ezjail. > The alternate more common method is to change the config file of the software that is looking for loopback by giving it the jails ip address to use as loopback ip address.