-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with unbound DNS resolving #179
Comments
What do logfiles say? Or what do you see in the web-interface? |
The bottom ones use Cloudflare but the entries saying sent to 127.0.0.1#5335 use your unbound-server. I don't see anything wrong here, but I might be mistaken. In my query log I see the same. |
the issue that I have is using unbound I get no DNS however with cloud flare I get DNS queries answered |
The service is running
Edit: so I did a bit of troubleshooting and checking my unbound config and everything is fine, the same as I set it up on bare metal `root@f8ac1a4712f0:/# dig google.com ;; OPT PSEUDOSECTION: ;; ANSWER SECTION: ;; Query time: 24 msec root@f8ac1a4712f0:/# dig pi-hole.net @127.0.0.1 -p 5335 ; <<>> DiG 9.16.33-Debian <<>> pi-hole.net @127.0.0.1 -p 5335 root@f8ac1a4712f0:/#` `oot@f8ac1a4712f0:/etc/unbound/unbound.conf.d# cat pi-hole.conf Config pulled from https://docs.pi-hole.net/guides/unbound/server:
root@f8ac1a4712f0:/etc/unbound/unbound.conf.d#` `root@f8ac1a4712f0:/etc/unbound/unbound.conf.d# dig fail01.dnssec.works @127.0.0.1 -p 5335 ; <<>> DiG 9.16.33-Debian <<>> fail01.dnssec.works @127.0.0.1 -p 5335 root@f8ac1a4712f0:/etc/unbound/unbound.conf.d# dig dnssec.works @127.0.0.1 -p 5335 ; <<>> DiG 9.16.33-Debian <<>> dnssec.works @127.0.0.1 -p 5335 root@f8ac1a4712f0:/etc/unbound/unbound.conf.d#` |
Unfortunately I don't have a clue. Same test here:
The only differences I see is that I have the REV_SERVER-stuff and I use my own image (forked from this repo) which uses a newer version of Unbound but that shouldn't make a difference).
How does the following look like on your site? As I don't get unbound logging in syslog (or thought I didn't got it) I enabled it:
Maybe that can give a better clue? |
Another thing: FTL_CONFIG_LOCAL_IPV4 points to your host where your docker-container is running? |
Hi Pluim003, FTL_CONFIG_LOCAL_IPV4 points to my docker which shares the same IP as my pi-hole I also changed my settings to match yours REV_Server but having the same issues |
Ok. Sounds/looks good. Then I'm afraid I can't help you any further. Hopefully someone else? |
Let‘s give it a try. I was running into similar issues because of different VLANs I use. Have you tried the setting „permit all origins“ in the interface settings. |
So I tried this however I'm still not getting any DNS while using unbound |
Do you, by any chance use Ubiquiti hardware? If so, have you tried to deactivate DNS for IPS? I‘ll also try to find my notes that I took when installing piHole. I ran in exactly the same issues and there was another thing that I had to configure to make it work. Have you also tried if it works in host network mode instead of bridge? Maybe your docker instance blocks some traffic using bridge mode. |
The only Ubiquiti hardware I have is my AP, the rest of my set up is mostly cisco, TP link 5 port switch and my opnsense firewall which does my DHCP. I'll try the host network mode and see what happens. |
Hi everyone, I was hoping to get some assistance on here with the all in one container. I've always ran pi-hole on a VM or bare mental so I'm quite new to docker so please forgive my lack of knowledge and understanding of docker.
If I was to change my DNS on my docker pi-hole gui to say cloudflare it works fine however when using unbound recursive DNS I can't seem to get it to work. I was hoping to get some help on troubleshooting the issues.
I've copied and pasted the container stuff below:
Env
0 FTLCONF_LOCAL_IPV4=10.1.1.177
1 TZ=Europe/London
2 WEBPASSWORD=
3 WEBTHEME=default-darker
4 PIHOLE_DNS_=127.0.0.1#5335
5 DNSSEC="true"
6 DNSMASQ_LISTENING=single
7 PATH=/opt/pihole:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
8 phpver=php
9 PHP_ENV_CONFIG=/etc/lighttpd/conf-enabled/15-fastcgi-php.conf
10 PHP_ERROR_LOG=/var/log/lighttpd/error-pihole.log
11 IPv6=True
12 S6_KEEP_ENV=1
13 S6_BEHAVIOUR_IF_STAGE2_FAILS=2
14 S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0
15 FTL_CMD=no-daemon
16 DNSMASQ_USER=pihole
ExposedPorts
443/tcp { }
53/tcp { }
53/udp { }
5335/tcp { }
67/udp { }
80/tcp { }
Mounts
Name /Pi-Hole
NetworkSettings
Bridge
EndpointID 686639b5d84f6927d92354030557f2683b5916dd4d397eb8aaf08015173b7b73
Gateway 172.17.0.1
GlobalIPv6Address
GlobalIPv6PrefixLen 0
HairpinMode false
IPAddress 172.17.0.7
IPPrefixLen 16
IPv6Gateway
LinkLocalIPv6Address
LinkLocalIPv6PrefixLen 0
MacAddress 02:42:ac:11:00:07
Networks
bridge
Aliases
DriverOpts
EndpointID 686639b5d84f6927d92354030557f2683b5916dd4d397eb8aaf08015173b7b73
Gateway 172.17.0.1
GlobalIPv6Address
GlobalIPv6PrefixLen 0
IPAMConfig { }
IPAddress 172.17.0.7
IPPrefixLen 16
IPv6Gateway
Links
MacAddress 02:42:ac:11:00:07
NetworkID 1b2fba1f3419b170d01f4c7ae47316fc8e7186ae6efab0704b3dd35a6acf15ba
The text was updated successfully, but these errors were encountered: