hi Peter > On 10 Oct 2023, at 09:40, Peter Davies <pet...@isc.org> wrote: > > Hi Daniel, > The "domain-name-servers" option expects a list of IP addresses. Kea does > not > resolve domain names as dhcpd did. > See: > https://kea.readthedocs.io/en/kea-2.4.0/arm/dhcp4-srv.html#standard-dhcpv4-options > > <https://kea.readthedocs.io/en/kea-2.4.0/arm/dhcp4-srv.html#standard-dhcpv4-options> > i got it, forgot that KEA want IP and not names. > > If you need to see the text, you could manually change the format to > hexstring, i.e.: > "data": "'fr-06:/vol/system/share/conf'" > > I've added Gitlab feature request #51, "Text to hexstring" for you. > see: https://gitlab.isc.org/isc-projects/keama/-/issues/51 > <https://gitlab.isc.org/isc-projects/keama/-/issues/51> >
so when the option is text in isc-dhcp, it MUST be string and in hex? if so it’s not really user friendly :-), I don’t have the ascii table in my head :-) so yes, all this is handled by scripts, but … a question: I see that the if/then/else is commented out, meaning I should check it and if im ok whit it just uncomment it? I still have to learn the new syntax :-( thanks danny > Kind Regards Peter > > > > On 10/10/2023 07.41, Daniel Braniss wrote: >> Hi, >> first, as a very old user of isc dhcp, my compliments on KEA! >> >> our dhcpd.conf is about 32K lines, and after some minor tweaks managed to >> run keama >> without errors (it seems ISC-DHCP is a bit less strict than keama (strange >> since they share code)) >> these are some of the oddities: >> >> this one seems harmless but … >> original isc-dhcp: >> >> subnet 132.65.192.0 netmask 255.255.252.0 { >> option domain-name "cs.huji.ac.il <http://cs.huji.ac.il/>"; >> option domain-name-servers nsa,sa1,shuldig; >> option routers 132.65.192.1; >> } >> >> becomes: >> { >> "id": 1, >> "subnet": "132.65.233.0/24", >> "option-data": [ >> { >> "space": "dhcp4", >> "name": "domain-name", >> "code": 15, >> "data": "cs.huji.ac.il <http://cs.huji.ac.il/>" >> }, >> { >> "space": "dhcp4", >> "name": "domain-name-servers", >> "code": 6, >> // "original-data": "nsa,sa1,shuldig”, <- ????? >> "data": "nsa, sa1, shuldig” <- ?????? >> }, >> { >> "space": "dhcp4", >> "name": "routers", >> "code": 3, >> "data": "132.65.224.1" >> } >> ] >> }, >> >> this one is a bit strange: >> original isc-dhcp: >> >> option FBSD.conf-path code 5 = text; >> >> becomes: >> "option-def": [ >> ... >> { >> "space": "FBSD", >> "name": "conf-path", >> "code": 5, >> "type": "string" >> }, >> >> so far so good, but then >> >> … >> >> { >> "space": "FBSD", >> "name": "conf-path", >> "code": 5, >> "csv-format": false, >> // "original-data": "fr-06:/vol/system/share/conf", >> "data": "66722d30363a2f766f6c2f73797374656d2f73686172652f636f6e66" >> }, >> >> the string becomes hex? >> >> have some more odd issues, but for later. >> >> thanks >> >> danny >> >> >> > -- > Peter Davies > Support Engineer > Internet Systems Corporation > pet...@isc.org <mailto:pet...@isc.org> > 001 650-423-1460 > -- > ISC funds the development of this software with paid support subscriptions. > Contact us at https://www.isc.org/contact/ for more information. > > To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. > > Kea-users mailing list > Kea-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/kea-users
-- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users