[ previous ] [ next ] [ threads ]
 
 From:  "Brian Buys" <bbuys at tritel dot com>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  DNS forwarding issue
 Date:  Wed, 1 Sep 2004 14:37:02 -0600
Hello all,

Recently I upgraded to the 1.1 version of m0n0 (cd-rom image) and I have been very impressed.  An
interesting thing has happend though, and I was hoping to get some insight as to what might be going
on.  

A couple of days ago, my dhcp clients lost DNS services.  I have DNS forwarding enabled on m0n0, and
am using it as my DHCP server.  I went through a number of steps to regain the DNS functions through
the DHCP, but to no avial.  Rebooted the router (several times), disabled/re-enabled DNS forwarding,
deleted/re-entered DNS server entries in the General setup page, ipconfig /release/renew/flushdns on
the clients, rebooted the clients, etc.  Currently, I have hardcoded the DNS servers in each client
as a work-around.  

I tried going back to 1.0 and restoring my old config, and that didn't help either.  I even went so
far as to build a new config.xml from the ground-up last night, so now I'm not even sure it's a
problem with m0n0.  If it is not, then I apologize for being off-topic, but I would like to be sure
that m0n0 is doing what it is supposed to.

So I guess I have a two-part question, really.  First, how can I tell if DNS forwarding is working
properly in m0n0.  Second, is there anything in the following config info that looks out-of-place?  


Below you will find the full text from my resolv.conf and dhcpd.conf files, as well as related
segments of the config.xml file.

Thanks in advance,

Brian

      resolv.conf 
domain domain.com
nameserver 206.81.128.1
nameserver 204.147.80.5dhcpd.conf option domain-name "domain.com";
default-lease-time 7200;
max-lease-time 86400;
authoritative;
log-facility local7;
ddns-update-style none;
subnet 192.168.150.0 netmask 255.255.255.0 {
	pool {
		range 192.168.10.51 192.168.150.150;
	}
	option routers 192.168.150.1;
	option domain-name-servers 192.168.150.1;
	default-lease-time 72000;
	max-lease-time 86400;
} <system>
              <hostname>host</hostname>
              <domain>domain.com</domain>
              <dnsallowoverride/>
              <username>user</username>
              <password>xxxxx</password>
              <timezone>MST</timezone>
              <time-update-interval>300</time-update-interval>
              <timeservers>pool.ntp.org</timeservers>
              <webgui>
                  <protocol>http</protocol>
                  <port/>
              </webgui>
              <dnsserver>206.81.128.1</dnsserver>
              <dnsserver>204.147.80.5</dnsserver>
          </system>
     


<dhcpd>
        <lan>
            <enable/>
            <range>
                <from>192.168.150.51</from>
                <to>192.168.150.150</to>
            </range>
            <defaultleasetime>72000</defaultleasetime>
            <maxleasetime>86400</maxleasetime>
        </lan>
    </dhcpd>



<dnsmasq>
        <enable/>
        <hosts>
            <host>ftp</host>
            <domain>domain.com</domain>
            <ip>192.168.150.250</ip>
            <descr>DNS Entry for FTP Server</descr>
        </hosts>
        <hosts>
            <host>mail</host>
            <domain>domain.com</domain>
            <ip>192.168.150.250</ip>
            <descr>DNS entry for Mail Server</descr>
        </hosts>
        <hosts>
            <host>www</host>
            <domain>domain.com</domain>
            <ip>192.168.150.250</ip>
            <descr>DNS Entry for WWW Server</descr>
        </hosts>
    </dnsmasq>