I would like to have unbound as dns cache on my SolidRun Clearfog router for my lan/wlan.
So i installed unbound and the luci app to manage it.
When i enable unbound and reboot my router (running lede from branch v17.01.2) i get ipv6 adresses on my switched lan (6 ports) but no ipv4. Whats wierd is that on my wlan i still get ipv4 and ipv6.
I dont know how i can investigate further in this. Maybe this is a known problem or someone might know what could cause that or tell me how i can turn on some debugging to provide input for more help?
Thanks in advance!
Use search for other unbound threads, more info & solution inside (probably;-)
Found your thread (Unbound & dnsmasq won't DHCP IP4, only IP6 Netgear R7800 on 17.01.2) a few minutes ago. Maybe i get that working...
This is also very helpful.
Got it working now. This is probably the best documentation about this topic: https://github.com/openwrt/packages/tree/master/net/unbound/files#parallel-dnsmasq
I guess the most important part is:
config unbound
option dhcp_link 'dnsmasq'
verify:
[oli@localhost ~]$ dig kernel.org
; <<>> DiG 9.11.1-P1-RedHat-9.11.1-1.P1.fc26 <<>> kernel.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49839
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 6, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1280
;; QUESTION SECTION:
;kernel.org. IN A
;; ANSWER SECTION:
kernel.org. 600 IN A 198.145.29.83
;; AUTHORITY SECTION:
kernel.org. 86400 IN NS ns41.constellix.net.
kernel.org. 86400 IN NS ns51.constellix.net.
kernel.org. 86400 IN NS ns61.constellix.net.
kernel.org. 86400 IN NS ns11.constellix.com.
kernel.org. 86400 IN NS ns21.constellix.com.
kernel.org. 86400 IN NS ns31.constellix.com.
;; Query time: 244 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: So Jul 02 18:43:48 CEST 2017
;; MSG SIZE rcvd: 197
[oli@localhost ~]$ dig kernel.org
; <<>> DiG 9.11.1-P1-RedHat-9.11.1-1.P1.fc26 <<>> kernel.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25680
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 6, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1280
;; QUESTION SECTION:
;kernel.org. IN A
;; ANSWER SECTION:
kernel.org. 598 IN A 198.145.29.83
;; AUTHORITY SECTION:
kernel.org. 86398 IN NS ns41.constellix.net.
kernel.org. 86398 IN NS ns51.constellix.net.
kernel.org. 86398 IN NS ns61.constellix.net.
kernel.org. 86398 IN NS ns11.constellix.com.
kernel.org. 86398 IN NS ns21.constellix.com.
kernel.org. 86398 IN NS ns31.constellix.com.
;; Query time: 0 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: So Jul 02 18:43:50 CEST 2017
;; MSG SIZE rcvd: 197