[Dnsmasq-discuss] Documentation error: Inaccurate conf-file behavior

wkitty42 at gmail.com wkitty42 at gmail.com
Wed Jul 23 15:19:33 UTC 2025


On 7/23/25 5:47 AM, moistice at riseup.net wrote:
> -C, --conf-file=<file>
>      Specify a configuration file. The presence of this option stops
> dnsmasq from reading the default configuration file (normally
> /etc/dnsmasq.conf). Multiple files may be specified by repeating the
> option either on the command line or in configuration files. A filename
> of "-" causes dnsmasq to read configuration from stdin.
> 
> I am confused with "The presence of this option STOPS dnsmasq FROM
> READING the default configuration" part.


IIUC, this is only for when -C or --conf-file= is used *on the command line*... 
AFAIK it does not apply when conf-file is found inside a config file...


-- 
  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list unless*
        *a signed and pre-paid contract is in effect with us.*



More information about the Dnsmasq-discuss mailing list