OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: ilya_rt on May 15, 2023, 10:34:25 PM

Title: OS-Bind GUI bug or feature
Post by: ilya_rt on May 15, 2023, 10:34:25 PM
Hi!
May be someone can help me to clear details of Bind zone management via GUI.
I'm trying to add secondary zone to Bind DNS with GUI.
There is <Primary IP> form field and it is intended for IP addresses of master DNS server, ok that's good. It manages this variable
primaries { 1.2.3.4; };
in file /usr/local/etc/namedb/named.conf

While I'm adding just an IP address into this field everything works great. But when I want to add port it does not work. According to Bind man <primaries> can be list of address with port numbers and other attributes https://bind9.readthedocs.io/en/latest/reference.html#namedconf-statement-primaries (https://bind9.readthedocs.io/en/latest/reference.html#namedconf-statement-primaries)
If I manually change config file its ok, named works with non standard ports, but until I change something via GUI. Then GUI rewrites <primaries> to its values without port number and this breaks things.

So is this ok behavior or should I file bugreport somewhere?
Title: Re: OS-Bind GUI bug or feature
Post by: Patrick M. Hausen on May 16, 2023, 07:50:50 AM
More like a feature request, IMHO, but please do file an issue on Github.