Hi all,
I have a dns issue.
I use PiHole has dhcp & dnsserver.
Openwrt is the router(192.168.1.1), and the internet box configured in bridge mode (192.168.0.1)
All is quite correct : internet acces from PCs, external acces is avalaible.
But
nslookup openwrt.org
;; connection timed out; no servers could be reached
nslookup openwrt.org 8.8.8.8
Server: 8.8.8.8
Address: 8.8.8.8#53
Name: openwrt.org
Address 1: 139.59.209.225
Address 2: 2a03:b0c0:3:d0::1af1:1
ping 139.59.209.225
PING 139.59.209.225 (139.59.209.225): 56 data bytes
64 bytes from 139.59.209.225: seq=0 ttl=52 time=21.096 ms
I don t find where is the problem
many thanks in advance for you help.
Well, you cannot just have such configuration on your router without any knowledge.
Onion is for the tor protocol.
Either you or someone else installed some package or modified the router in this way.
If you are in doubt, do a reset to defaults and configure it again from scratch.
no, it s me who installled from scatch. Off course, i have some knowledge.
But, quite sure, tor was installed by default with the basic configuration. I have at the moment disable all about tor.
Any way, if i install again, i will surely spend time again et maybe will reproduce the same mistakes...
Tks again for your help @trendy
If your problem is solved, feel free to mark the relevant post as the solution; and edit the title to add "[SOLVED]" to the beginning (click the pencil behind the topic).
I have been struggling with the exact same problem for a few weeks now, I have tried setting the DNS servers in either the WAN and LAN, or both. Only my router itself can't resolve DNS, any other device on the network can.
I don't want to steal this topic, but this is my output:
(10.0.1.1 is the router and 10.0.1.2 is the box where pihole is hosted)
I have copied your config file parts and changed them accordingly, and it opkg updates without a problem now! To be honest, I don't know what option fixed it, so I'll include my relevant sections after fixing.
Name: $domain (I am a new user, I can only post 2 links in one post)
Address 1: 172.217.17.68
Address 2: 2a00:1450:400e:80d::2004
root@LEDE:~# nslookup www.google.com
;; connection timed out; no servers could be reached
I feel that it has something to do with ipv6, I have tried disabling ipv6 as far as I can find (blank out the prefix in interfaces, stop wan6), but I also noticed that DNS resolving is somehow really slow right now.
EDIT:
my log is riddled with this message. Something is causing an (infinite) loop between pihole and OpenWRT?
Sun Jan 12 20:29:58 2020 daemon.warn dnsmasq[10294]: Maximum number of concurrent DNS queries reached (max: 150)
You can find Pihole's IPv6 address by clicking on the Settings tab in piholes web page , It's on the first page. If you look at @trendy He added pihole's IPv6 with
Apparently you have misconfigured something about the local nameserver of the router.
If you directly ask the Pihole it answers back.
What is the output of:
ls -l /etc/resolv.* /tmp/resolv.*; head -n -0 /etc/resolv.* /tmp/resolv.*
Same for you @ivohulsman (also make sure you have configured properly pihole and there is no loop in queries between OpenWrt and Pihole).