[ previous ] [ next ] [ threads ]
 From:  "Kevin R. Porter" <krp2 at bellsouth dot net>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Beta 1.1b13 --> DNS still does not work, clients get "Query refused" responses.
 Date:  Sun, 13 Jun 2004 18:24:19 -0400
I am running M0n0wall on a Soekris NET4801, booting from a CF card,
configured as follows:

    <client2>----[8-way switch]----->[Soekris/M0n0wall]---->ADSL ISP(PPPOE)
    ...                   |                          sis0=LAN       sis2=WAN

While M0n0wall beta 1.1b9 appears to work correctly with my PPPOE over ADSL
link, the two latest beta's 1.1b12 and 1.1b13 do NOT provide DNS service to
behind the M0n0wall.

With 1.1b12 or 1.1b13 all DNS queries from clients behind the M0n0wall get
'Query refused' as shown below:

    Default Server:  m0n0wall.local

    > m0n0.ch
    Server:  m0n0wall.local

    *** m0n0wall.local can't find m0n0.ch: Query refused

I believe this is due to the M0n0wall's /etc/resolv.conf file not getting
updated with the DNS server addresses received from my ISP as part of the
PPPOE link establishment.

With beta 1.1b13, I see the following from the

RESOLV.CONF contains only the line:
    "domain local"

SYSTEM LOG shows the PPPOE "IFACE Up" event followed by DNSMASQ
reading /etc/resolv.conf, but does not log anything after that.

    Jun 13 16:47:38 m0n0wall mpd: [pppoe] IFACE: Up event
    Jun 13 16:47:39 m0n0wall dnsmasq[88]: reading /etc/resolv.conf

DNS does NOT work with 1.1b12, or 1.1b13.

However, if I look at the page from beta
1.1b9, I see:

RESOLV.CONF contains three lines:

    "domain local"
    "nameserver nnn.nnn.nnn.nn1" (the actual DNS servers provided by my ISP)
    "nameserver nnn.nnn.nnn.nn2"

And the SYSTEM LOG shows the same PPPOE "IFACE Up" event, however this time
DNSMASQ finds more useful data in /etc/resolv.conf:

Jun 13 17:49:33 m0n0wall mpd: [pppoe] IFACE: Up event
Jun 13 17:50:07 m0n0wall dnsmasq[81]: reading /etc/resolv.conf
Jun 13 17:50:07 m0n0wall dnsmasq[81]: using nameserver 2xx.???.???.235#53
Jun 13 17:50:07 m0n0wall dnsmasq[81]: using nameserver 2xx.???.???.254#53

DNS DOES WORK with 1.1b9.

I have dropped back to 1.1b9 pending a fix.