yes, looks similar to https://github.com/yast/yast-dns-server/blob/604428dc170dceea2697f16a10108230c38c20aa/src/include/dns-server/dialog-main.rb#L324-L326 so it should be OK