[Dnsmasq-discuss] DNSmasq forwarding to DNS doesn't works
jsylvand at leadformance.com
Fri Aug 26 09:44:52 BST 2011
We are trying to move from dhcpd + bind to dnsmasq for our small company.
On the test server, the dhcp provided by dnsmasq works properly, as the
internal dns who works better than we want : it's possible to ping the
machine's name given in the dnsmasq.conf, but also the machine's name
written on the machine (who is different), very good !
But I'm having an issue with the forwarding to external DNS. My DNS can't
resolve a request like google.com so it must send it to a DNS upstream, like
the DNS of my Internet Servcie Provider*.
*What I have understood is dnsmasq read the file resolv.conf (or the file we
have provided) to know DNS upstream, but it doesn't work for me.
Here is options I have provided in my dnmasq.conf file (without all
# DNS Server (Internal): 126.96.36.199
# Statics IP Addresses (I have indicated the dnsserver, I don't know if it's
In the file resolv.conf:
nameserver <ISP 1 IP address1>
nameserver <ISP 1 IP address2>
nameserver <ISP 2 IP address1>
nameserver <ISP 2 IP address2>
I don't understand why it doesn't work, probably because I don't have
understood the real functioning of dnsmasq...
Can you help me ?
If I had the 'no-resolv' option, the dnsmasq will not see in the
resolv.conf, so what is the line to add in the dnsmasq.conf to inscribe DNS
upstream ? Be careful, we don't want to send a dhcppack with all dns to all
machines like this:
dhcp-option=6,<ISP 1 IP address1>,<ISP 1 IP address2>,etc,
We want to send a dhcppack with only our internal DNS server which have to
resolv himself (with a DNS upstream) a request it can't resolv with only
Thank you for your help.
*Jeremie SYLVAND | System & Network Assistant*
*LEADFORMANCE* *|* 7 Avenue des Ducs de Savoie *|* 73000 CHAMBERY
Tel. : +33 (0)4 79 25 22 22 * |* www.leadformance.com
Leadformance vainqueur aux E-Commerce Awards 2010 catégorie Innovation : voir
la vidéo <http://www.youtube.com/watch?v=u8zJ1B2-Gg4>
Découvrez toutes les fonctions de BRIDGE en 3 min : voir la
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dnsmasq-discuss