[ previous ] [ next ] [ threads ]
 
 From:  Peter Allgeyer <allgeyer at web dot de>
 To:  m0n0wall dash dev at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall-dev] DHCP DNS Servers per-interface
 Date:  Sat, 30 Apr 2005 11:52:53 +0200
Am Freitag, den 29.04.2005, 19:23 -0700 schrieb Kyle Mott:
> I just installed 1.2b7 (great work!), and noticed that there is still no 
> option for specifying DHCP DNS Servers on a per-interface basis. Is 
> there some reason for this?
Maybe you are the first one asking for this?
Thought about it and this is what has to be done:

Current scheme:

DHCP Server is enabled for interface A (Services: DHCP server):
	DNS forwarder is enabled (Services: DNS forwarder):
		-> m0n0wall assigns IP of interface A as DNS Server

DHCP Server is enabled for interface A (Services: DHCP server):
	DNS forwarder is disabled (Services: DNS forwarder):
	allow overrite is not set (System: General setup):
		-> m0n0wall assigns static DNS Server entries

DHCP Server is enabled for interface A (Services: DHCP server):
	DNS forwarder is disabled (Services: DNS forwarder):
	allow overrite is set (System: General setup):
		-> m0n0wall assigns DNS Servers learnt from ISP

NEW:

DHCP Server is enabled for interface A (Services: DHCP server):
	DNS forwarder is enabled or disabled
	allow overrite is set or unset (System: General setup)
	overwrite global DNS settings is set (Services: DHCP server)
		-> m0n0wall assigns per interface DNS Servers
		   (Services: DHCP server)

I'll take a look into the code, if this is easily to achieve.

Ciao ...
	... PIT ...


---------------------------------------------------------------------------
 copyleft(c) by |           I did this 'cause Linux gives me a woody. It
 Peter Allgeyer |   _-_     doesn't generate revenue.  -- Dave '-ddt->`
                | 0(o_o)0   Taylor, announcing DOOM for Linux
---------------oOO--(_)--OOo-----------------------------------------------