[Dnsmasq-discuss] Dnsmasq replying with refuse without forwarding request to upstream server.

sunil rathod srathod1980 at gmail.com
Sun Jul 25 13:40:28 UTC 2021


Thank you guys,  from logs I figured out that it dnsmasq was not getting
upstream server IP,  it was reading a wrong config file.

Sunil

On Fri, Jul 23, 2021, 19:10 Geert Stappers via Dnsmasq-discuss <
dnsmasq-discuss at lists.thekelleys.org.uk> wrote:

> On Fri, Jul 23, 2021 at 05:43:22PM +0530, sunil rathod wrote:
> > On Fri, Jul 23, 2021, 17:01 Simon Kelley <simon at thekelleys.org.uk>
> wrote:
> > > On 23 July 2021 09:35:06 GMT+01:00, sunil rathod wrote:
> > >>
> > >> I get a warning message saying no upstream servers configured when I
> > >> start the dnsmasq.  But in dnsmasq.conf file I have configured
> upstream
> > >> server as below
> > >> server=8.8.8.8 at eth0
> > >> dnsmasq is running but I get that warning message.
> > >>
> > >
> > > Ok. So you're not configuring a server and getting the expected
> response.
> > > Your problem now is to work out why dnsmasq is not reading your
> > > configuration. Note that it logs the configured servers ar start up, so
> > > that should help debugging.
> > >
> > Hello Simon,
>
> Hello All Time Zones and mailing list archive visitors.
>
> > I have configured upstream server in. Conf file as below
> > server=8.8.8.8 at eth0
> > But somehow dnsmasq not able to read it.  Wondering why is it not
> reading?
>
>
> Besides the
> > > Your problem now is to work out why dnsmasq is not reading your
> > > configuration. Note that it logs the configured servers ar start up,
> > > so that should help debugging.
> there was also
> |Could you please
> |1. add "log-queries=extra" and "log-facility=/tmp/dnsmasq.log" to your
> |   configuration,
> |2. restart dnsmasq,
> |3. do the DNS query that ends up in REFUSED, and
> |4. send us the generated log file
> |
> |Maybe it reveals something of interest.
> |
> |Best,
> |Dominik
>
>
> In other words:
>   Go beyond "it doesn't work for me" by providing actual information.
>
>
>
> Groeten
> Geert Stappers
> --
> Silence is hard to parse
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20210725/c4fc52d7/attachment.htm>


More information about the Dnsmasq-discuss mailing list