[Dnsmasq-discuss] domain per interface

richardvoigt at gmail.com richardvoigt at gmail.com
Tue Mar 18 23:42:44 GMT 2008

If all else fails, you can run two instances of dnsmasq with two
separate config files, each bound to a different interface.

On Sat, Mar 15, 2008 at 2:49 PM, /dev/rob0 <rob0 at gmx.co.uk> wrote:
> I don't see how (if it is possible) to set a domain value per
>  interface. I'm serving DHCP on a wired LAN and an insecure wireless
>  segment. I want wired hosts to be "$HOST.lan.example.net." and the
>  wireless ones, "$HOST.wifi.example.net."
>  Am I missing something?
>  Here's the deal: I want an extra layer of protection for my nfsd. The
>  exports(5) file lists "*.lan.example.net." for access to shares. The
>  wireless hosts should not be allowed NFS. (Yes, it's firewalled also,
>  but the more layers the better IMO. At least I rest better. :) )
>  Maybe this does it:
>     http://tools.ietf.org/html/rfc2132#section-3.17
>  dnsmasq.conf :
>  ...
>  dhcp-range=wifi,,,,12h
>  dhcp-option=wifi,15,wifi.example.net
>  ...
>  (where is the wireless interface IP address)
>  --
>     Offlist mail to this address is discarded unless
>     "/dev/rob0" or "not-spam" is in Subject: header
>  _______________________________________________
>  Dnsmasq-discuss mailing list
>  Dnsmasq-discuss at lists.thekelleys.org.uk
>  http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

More information about the Dnsmasq-discuss mailing list