In the man page in the section on "-S, --local, --server" it says
(among other things) :-

      Also permitted is a -S flag which gives a domain but no IP address; this  
tells
      dnsmasq  that  a  domain  is local and it may answer queries from 
/etc/hosts or
      DHCP but should never forward queries on that domain to any  upstream  
servers.
      --local  is  a synonym for --server to make configuration files clearer 
in this
      case.

Does this mean that "a domain but no IP address" can only be given
with the -S flag?  I suspect not but it's not immediately clear. 
Looking at the syntax given in the first line it would seem that
-S, --local and --server are *exactly* the same and one can choose
which to use to make the configuration file more user friendly.

E.g. I have in my dnsmasq configuration file:-

    local=/zbmc.eu/

since my static IP home system is at zbmc.eu and I give the various systems
here names like esprimo.zbmc.eu, backup.zbmc.eu and so on.

Presumably I could change the above line to:-

    server=/zbmc.eu/

and everything would work the same.  Presumably the -S option is only for
use in the dnsmasq command line

-- 
Chris Green

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to