[Dnsmasq-discuss] Interface based DNS names
Kevin Darbyshire-Bryant
kevin at darbyshire-bryant.me.uk
Fri Feb 21 08:28:51 UTC 2014
Localise-queries option as well I think.
--
Cheers,
Kevin at Darbyshire-Bryant.me.uk {PH}
Sent from my phone, apologies for brevity & spelling.
> On 21 Feb 2014, at 05:30, "Mike O'Connor" <mike at oeg.com.au> wrote:
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi klondike
>> On 21/02/2014 3:29 pm, klondike wrote:
>>
>> In an ideal world, it would be possible to tune the reply depending on
>> the network the request came from to avoid unnecessary routing accross
>> VLANs, for example if a request is sent for router.lan from the
>> 10.10.0.0/16 network the reply would be 10.10.0.1 but if it is sent from
>> 10.60.0.0/16 the reply would be 10.60.0.1 this would provide the
>> possibility of having the servers listening on trunk lines with tagged
>> VLANs on the switch so routing would be unnecessary to access them.
> If you use 802.1q vlan and bring the these directly to the router
> (running dnsmasq) and assign the two different networks to the
> interfaces, dnsmasq will just do this correctly.
>
>
> dhcp-range=10.10.0.1,10.10.255.254,4h
> dhcp-range=10.60.0.1,10.60.255.254,4h
>
> These lines will just find the correct interface and supply the correct
> DHCP records.
>
> Mike
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEARECAAYFAlMG5AEACgkQfgQf7OYYFPWnlACgsl08zXLGtFZq4g/zxbJA6n4o
> 57IAniMZbV1Lea8527OxMQcpyu0LwNn0
> =AWom
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2348 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20140221/f92ad6b6/attachment-0001.bin>
More information about the Dnsmasq-discuss
mailing list