Sample Header Ad - 728x90

Unbound stub-zone not working

1 vote
1 answer
2120 views
I have an unbound server that resolves VPN addresses as local data:
local-data: "host1.wireguard. A 10.10.100.10"
local-data: "host2.wireguard. A 10.100.100.11"
Polling it directly returns DNS records just fine. But added a stub zone, that points to the Unbound server, I do not get any results. This is part of configuration from my local unbound:
stub-zone:                                                                                                                                                                                                 
        name: "wireguard"                                                                                                                                                                                         
        stub-addr: 10.10.10.1  # DNS server's address
                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
forward-zone:                                                                                                                                                                                              
        name: "."                                                                                                                                                                                          
        forward-addr: 1.1.1.1@853#cloudflare-dns.com
        forward-addr: 1.0.0.1@853#cloudflare-dns.com
I tried different variations of the config, but to no avail. Anything I am missing?
Asked by Emerick Whyte (11 rep)
Sep 5, 2020, 02:02 PM
Last activity: May 8, 2025, 01:02 AM