Configuring URI Record

Stuart Henderson stu at spacehopper.org
Tue Nov 20 22:09:32 UTC 2018


On 2018-11-19, Eduardo via Unbound-users <unbound-users at nlnetlabs.nl> wrote:
>
> Hello,
>
> I have a working unbound dns server. Now, I want to map "http://c.mobel" to
> internal uri "http://192.168.4.86:3600/service.php". For that, I write in
> unbound.conf :

I'm not too sure there is much software that will pay attention to URI record types..

> server: 
> ......
> #Create local/internal zone
> local-zone: "mobel." transparent
> #bind http://c.mobel to http://192.168.4.86:3600/service.php
> local-data: '_http._tcp.c.mobel. IN URI 10 1
> "http://192.168.4.86:3600/service.php"' ....
>
> forward-zone:
>       name: .
>       forward-addr: 1.1.1.1        # Cloudflare
>       forward-addr: 1.0.0.1        # Cloudflare
> ....
>
>
> If I add TTL time between "mobel." and "IN", it shows an error, I delete TTL.
>
> Checking with unbound-checkconfig shows no warning and unbound launchs without
> problems, but don't work.
>
> Am I doing it rigth? Can't found any example in the net about configure URI
> entries, only the wikipedia[1].

How are you testing?





More information about the Unbound-users mailing list