Jack wrote:
> Hi,
> 
> Will the localdns thing also work when there is just 1 network adapter 
> in de astlinux box?
> As I also have to define INTIF or is there a workaround to let it work 
> on just 1 adapter?
> 
> Thx,
> 
> Jack
> 

Jack,

        localdns is only enabled when you have both EXTIF and INTIF defined, 
and here's why:

        dnsmasq gets disabled when you don't have INTIF defined (pbx-only 
mode).  It would not be difficult to re-enable it for localdns WITHOUT 
specifying INTIF, but that is only part of the problem...

        dnsmasq does both DHCP and DNS forwarding.  It would require a 
significant amount of logic in the dnsmasq init script to handle the 
various combinations of INTIF, INT2IF, localdns, etc.  For instance:

LOCALDNS=yes
EXTIF=eth0
#INTIF

        dnsmasq would need to be configured to only listen for DNS on loopback, 
and not answer DHCP requests for any network interfaces.  This doesn't 
seem that hard, but in my experience dnsmasq has some funny quirks when 
it comes to partitioning service by interface.

        I like to take "baby steps" and the LOCALDNS change was big enough.  I 
would like to verify that it works as expected BEFORE I change how 
dnsmasq functions.

        For now, you should be able to define INTIF (enter router mode) and 
work around any issues that might cause with your setup until localdns 
without router mode can be worked out.
        
--
Kristian Kielhofner
_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to