stub-zone with authoritative answers?

François Lafont francois.lafont.1978 at gmail.com
Sun Dec 7 15:44:08 UTC 2025


Hi,

1. Is it possible to configure Unbound to have a *kind*
    of stub-zone like this :

```conf
stub-zone:
   name: "domain.tld."
   stub-addr: "W1.X1.Y1.Z1" # addresses of authoritative
   stub-addr: "W2.X2.Y2.Z2" # servers for "domain.tld."
server
   stub-no-cache: yes # we want to receive updated answers
```

**but**:

a) the answers for this zone contain the "aa" flag
    (ie the Unbound server lies and pretends to be an
    authoritative server even if it is not).
b) As Unbound pretends to be an authoritative server,
    it accepts non-recursive queries from clients (in
    addition to the recursive requests it already accepts,
    of course).

2. Is the point 1. possible in a view?

According to my search, 1. and 2. are currently not possible.
But maybe I have missed something...

Bye.

-- 
François Lafont



More information about the Unbound-users mailing list