Re: [pve-devel] [PATCH v3 manager] ad #3140: allow interface suffix in dns entries

2020-11-25 Thread Dietmar Maurer
> What text do you mean exactly? The interface name? > Arbitrary null-terminated byte string... Ok > (Yes I can name an interface "---" or 💩 (poop-emoji)..., > neither of which our iface schema in JSONSchema.pm would allow...) great. ___ pve-devel ma

Re: [pve-devel] [PATCH v3 manager] ad #3140: allow interface suffix in dns entries

2020-11-25 Thread Wolfgang Bumiller
What text do you mean exactly? The interface name? Arbitrary null-terminated byte string... (Yes I can name an interface "---" or 💩 (poop-emoji)..., neither of which our iface schema in JSONSchema.pm would allow...) > On 11/25/2020 12:39 PM Dietmar Maurer wrote: > > > Thanks for the info. But

Re: [pve-devel] [PATCH v3 manager] ad #3140: allow interface suffix in dns entries

2020-11-25 Thread Dietmar Maurer
Thanks for the info. But what encoding does that text use? I cannot find that in RFC4007 (they only talk about strings and text). > > Answering myself, it is defined in RFC4007. > > > > But "man resolv.conf" say address must be RFC2373 ? > > It'll still work. It's a very common notation for lin

Re: [pve-devel] [PATCH v3 manager] ad #3140: allow interface suffix in dns entries

2020-11-25 Thread Wolfgang Bumiller
> On 11/25/2020 12:22 PM Dietmar Maurer wrote: > > > Answering myself, it is defined in RFC4007. > > But "man resolv.conf" say address must be RFC2373 ? It'll still work. It's a very common notation for link local addresses, since with multiple interfaces you have multiple routes with the exa

Re: [pve-devel] [PATCH v3 manager] ad #3140: allow interface suffix in dns entries

2020-11-25 Thread Dietmar Maurer
Answering myself, it is defined in RFC4007. But "man resolv.conf" say address must be RFC2373 ? > On 11/25/2020 12:08 PM Dietmar Maurer wrote: > > > What kind of format is that? RFC2373 does not mention it. Please can > you give me a hint? > ___

Re: [pve-devel] [PATCH v3 manager] ad #3140: allow interface suffix in dns entries

2020-11-25 Thread Stoiko Ivanov
On Wed, 25 Nov 2020 12:08:39 +0100 (CET) Dietmar Maurer wrote: > What kind of format is that? RFC2373 does not mention it. Please can > you give me a hint? was curious myself - since I know the format but wasn't sure where it's specified. ripe has a nice explanation: https://labs.ripe.net/Members

Re: [pve-devel] [PATCH v3 manager] ad #3140: allow interface suffix in dns entries

2020-11-25 Thread Dietmar Maurer
What kind of format is that? RFC2373 does not mention it. Please can you give me a hint? > On 11/25/2020 11:36 AM Wolfgang Bumiller wrote: > > > Signed-off-by: Wolfgang Bumiller > --- > changes to v2: > * use `for of` loop in verify_ip64_address_list > > www/manager6/Toolkit.js | 17 ++

[pve-devel] [PATCH v3 manager] ad #3140: allow interface suffix in dns entries

2020-11-25 Thread Wolfgang Bumiller
Signed-off-by: Wolfgang Bumiller --- changes to v2: * use `for of` loop in verify_ip64_address_list www/manager6/Toolkit.js | 17 ++--- www/manager6/Utils.js | 27 +++ www/manager6/lxc/DNS.js | 2 +- 3 files changed, 30 insertions(+), 16 deletions(-) diff