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 < [email protected]> wrote: > On Fri, Jul 23, 2021 at 05:43:22PM +0530, sunil rathod wrote: > > On Fri, Jul 23, 2021, 17:01 Simon Kelley <[email protected]> > 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@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@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 > [email protected] > https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss >
_______________________________________________ Dnsmasq-discuss mailing list [email protected] https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
