How to specify custom port for "forward-host/stub-host"?

Alex Simenduev shamil at
Mon Feb 5 12:39:21 UTC 2018

Unbound 1.6.7

This doesn't work for me:

    domain-insecure: "consul.internal"

   name: "consul.internal"
   stub-host: at 8600 #

This will work:

    domain-insecure: "consul.internal"

   name: "consul.internal"
   stub-addr: at 8600

I'd like to mention that resolving of the host set in `stub-addr` works as
expected. Only port is problematic part.
So If I remove @PORT part from it I can see in unbound debug logs that it
can successfully resolve the  "" host,  but adding @PORT
resolving fails, in the log I see it tries to resolve
(the ?8600 part is wrong IMO)

On Mon, Feb 5, 2018 at 10:41 AM, Over Dexia via Unbound-users <
unbound-users at> wrote:

> Am 04.02.2018 um 15:47 schrieb Alex Simenduev via Unbound-users:
> > Adding @port-number doesn't work like for "forward-addrs/stub-addr". Is
> > there any way?
> Works for me.
> Unbound version? Platform? Full config stanza?
> Error message? Symptoms?
> jo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Unbound-users mailing list