Информация об изменениях

Сообщение Re[3]: dhcp_option 121 - как раздать клиентам разные настрой от 03.01.2023 18:32

Изменено 03.01.2023 18:33 vsb

Re[3]: dhcp_option 121 - как раздать клиентам разные настрой
Здравствуйте, rg45, Вы писали:

vsb>>https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html


R>Это dnsmasq — исполняемый файл и его параметры. А мне нужно описание dnsmasq.conf — чтоб были расписаны все dhcp-options по номерам, как минимум (а их там до хрена и больше). Ну и весь другой контент, который выглядит очень обширным.


Невнимательно читаешь.

At startup, dnsmasq reads /etc/dnsmasq.conf, if it exists. (On FreeBSD, the file is /usr/local/etc/dnsmasq.conf ) (but see the --conf-file and --conf-dir options.) The format of this file consists of one option per line, exactly as the long options detailed in the OPTIONS section but without the leading "--". Lines starting with # are comments and ignored. For options which may only be specified once, the configuration file overrides the command line. Quoting is allowed in a config file: between " quotes the special meanings of ,:. and # are removed and the following escapes are allowed: \\ \" \t \e \b \r and \n. The later corresponding to tab, escape, backspace, return and newline.

К примеру найди там опцию --dhcp-range и прочитаешь всё про неё.

Никакой другой справочной документации (кроме исходников) не существует.
Re[3]: dhcp_option 121 - как раздать клиентам разные настрой
Здравствуйте, rg45, Вы писали:

vsb>>https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html


R>Это dnsmasq — исполняемый файл и его параметры. А мне нужно описание dnsmasq.conf — чтоб были расписаны все dhcp-options по номерам, как минимум (а их там до хрена и больше). Ну и весь другой контент, который выглядит очень обширным.


Невнимательно читаешь.

At startup, dnsmasq reads /etc/dnsmasq.conf, if it exists. (On FreeBSD, the file is /usr/local/etc/dnsmasq.conf ) (but see the --conf-file and --conf-dir options.) The format of this file consists of one option per line, exactly as the long options detailed in the OPTIONS section but without the leading "--". Lines starting with # are comments and ignored. For options which may only be specified once, the configuration file overrides the command line. Quoting is allowed in a config file: between " quotes the special meanings of ,:. and # are removed and the following escapes are allowed: \\ \" \t \e \b \r and \n. The later corresponding to tab, escape, backspace, return and newline.

К примеру найди там опцию --dhcp-range и прочитаешь всё про неё.