docker-pihole-unbound icon indicating copy to clipboard operation
docker-pihole-unbound copied to clipboard

IPV6 activation unbound

Open bastdut opened this issue 4 years ago • 5 comments

Hi there!

I was wondering where was stored the unbound-pihole.conf file on raspberry pi after installing this image. I need to activate IPV6 but cannot find it.

Any idea?

Thanks

bastdut avatar Mar 17 '21 14:03 bastdut

It sits in /etc/unbound/unbound.conf.d/pi-hole.conf.

But I think you'd better clone this repo, make your changes in docker-pihole-unbound/one-container/pihole-unbound/unbound-pihole.conf and then build your own version of the docker image with

docker build -f Dockerfile -t cbcrowe/pihole-unbound:latest .

and a

docker build -f Dockerfile -t cbcrowe/pihole-unbound:`cat VERSION` .

Afterwards simply start the container again (assuming you stopped the container first with docker-compose down) with the new docker image with docker-compose up -d. This has the advantage of preserving your changes when you throw away the container.

digsim avatar Mar 20 '21 13:03 digsim

I suppose I could also just add a docker-compose named volume for /etc/unbound so changes to settings will persist.

chriscrowe avatar Mar 20 '21 23:03 chriscrowe

This would be much appreciated

Rar9 avatar Mar 23 '21 11:03 Rar9

Ok I have no clue where to find

/etc/unbound/unbound.conf.d/pi-hole.conf There is no folder named unbound anywhere. Are we talking about the two-container solution?

Your one-container paths are the following?

- etc_pihole-unbound:/etc/pihole:rw
- etc_pihole_dnsmasq-unbound:/etc/dnsmasq.d:rw

where the first folder contains:

adlists.list      list.1.raw.githubusercontent.com.domains  pihole-FTL.conf
custom.list       localbranches                             pihole-FTL.db
dns-servers.conf  local.list                                setupVars.conf
GitHubVersions    localversions                             setupVars.conf.update.bak

I'm using the one container solution and was also wondering if it may be possible to activate ipv6. Tried to use it via macvlan (need to use a different ipv4 address / interface since there are other services running on important ports) but it failed.

I'm still not sure whether ipv6 is really necessary since some people claim that each ipv6 address which cannot be resolved falls back to ipv4?

blowbuh avatar Mar 26 '21 10:03 blowbuh

I suppose I could also just add a docker-compose named volume for /etc/unbound so changes to settings will persist.

Is this still a todo?

Nyurael avatar Jan 21 '22 22:01 Nyurael