Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2985 - uci unbound forward zone port #7755

Open
openwrt-bot opened this issue Apr 9, 2020 · 0 comments
Open

FS#2985 - uci unbound forward zone port #7755

openwrt-bot opened this issue Apr 9, 2020 · 0 comments
Labels

Comments

@openwrt-bot
Copy link

@openwrt-bot openwrt-bot commented Apr 9, 2020

kebe:

uci compile two different config options for unbound zone clause based on provided string value for list server.
If port is provided using '@' charactes it assumes it's a host rather than address and compile option to ' forward-host'.
It should be allow to use '@' character in addition to IP address and compile option to 'forward-addr'.

config zone
list zone_name 'myzone.loc.'
list server '10.1.0.2'
list server '10.1.0.1'

compiles to

forward-zone:
name: myzone.loc.
forward-addr: 10.1.0.1@53
forward-addr: 10.1.0.2@53

config zone
list zone_name 'myzone.loc.'
list server '10.1.0.2@5053'
list server '10.1.0.1@5053'

compiles to

forward-zone:
name: myzone.loc.
forward-host: 10.1.0.1@5053
forward-host: 10.1.0.2@5053

config zone
list server '10.1.0.2'
list server '10.1.0.1'

OpenWrt SNAPSHOT r12784-5562c5add2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant