Hello i have problem with my configuration
I use only odhcpd for both ipv4 and ipv6
I can resolve my router but not my local device as they respond NXDOMAIN with a nslookup from the router
Here the config
config unbound
option dns64 '0'
option edns_size '1280'
option extended_luci '0'
option hide_binddata '1'
option listen_port '53'
option manual_conf '0'
option query_minimize '1'
option root_age '9'
option ttl_min '120'
option validator '1'
option validator_ntp '1'
option rebind_localhost '1'
option extended_stats '0'
option add_wan_fqdn '0'
option add_extra_dns '0'
option localservice '1'
option domain 'Ansuel-Network'
option enabled '1'
option dhcp_link 'odhcpd'
option protocol 'ip6_prefer'
option resource 'large'
option recursion 'aggressive'
option unbound_control '1'
option rebind_protection '2'
option domain_type 'transparent'
option add_local_fqdn '2'
list trigger_interface 'lan'
list trigger_interface 'wan'
also as a secondary problem
I have a 192.168.2.0/23 subnet
And i have 2 dhcp / dns server (one on 192.168.2.1 and other on 192.168.3.1)
By adding forward dns the other router can't be resolved to the ip
(Example:
first router name: ansuel-router 192.168.2.1
second router name: no-lag-router 192.168.3.1
trying nslookup on 192.168.3.1 from 192.168.2.1 respond with a NXDOMAIN)
This is the configuration of unbound
forward-zone:
name: .
forward-addr: 1.0.0.1@853#cloudflare-dns.com
forward-addr: 1.1.1.1@853#cloudflare-dns.com
forward-addr: 2606:4700:4700::1001@853#cloudflare-dns.com
forward-addr: 2606:4700:4700::1111@853#cloudflare-dns.com
forward-addr: 192.168.2.1@53
forward-first: no
forward-tls-upstream: yes