[Dnsmasq-discuss] Dnsmaq giving default gateway address as dns server on DHCP offer

2017-08-04 Thread Anoop Ravi
Hi, I am using dnsmasq as dns and dhcp server on my device. Somehow dnsmasq is not giving correct dns server address to my clients. Instead it is giving default gateway ip. I have correct dns servers listed in resolv.conf and my dnsmasq.conf is pointing to correct resolv file using "resolv-file

[Dnsmasq-discuss] [ HELP ] Dnsmaq giving default gateway address as dns server on DHCP offer

2017-08-05 Thread Anoop Ravi
> Hi, > > I am using dnsmasq as dns and dhcp server on my device. Somehow dnsmasq is > not giving correct dns server address to my clients. Instead it is giving > default gateway ip. I have correct dns servers listed in resolv.conf and my > dnsmasq.conf is pointing to correct resolv file using

Re: [Dnsmasq-discuss] Dnsmaq giving default gateway address as dns server on DHCP offer

2017-08-06 Thread Anoop Ravi
Hi, Richard, As you said, I was under an impression that dnsmasq will provide all the nameserver entries in resolv.conf to the clients. Thank you for correcting me. But, my clients are not resoving the names with this configuration. It is getting correct domain name and server ip as dns server

Re: [Dnsmasq-discuss] Dnsmaq giving default gateway address as dns

2017-08-06 Thread Anoop Ravi
Thank you for the Info. I dont need dhcp-option 6 to be enabled. On packet capture, I can see DNS query going to dnsmasq, then to nameserver. The response from name server is going directly to the client instead of dnsmasq. Client is getting response as Refused. Any clue on what is happening? -