Configuring URI Record

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 :

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].

Thanks

[1] https://en.wikipedia.org/wiki/URI_record

-- --
Eduardo Morrás

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?