<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<br><br>&gt; Date: Tue, 23 Sep 2008 18:02:13 -0400<br>&gt; From: chekh@pcbi.upenn.edu<br>&gt; To: agcme@hotmail.com<br>&gt; CC: dnsmasq-discuss@thekelleys.org.uk<br>&gt; Subject: Re: [Dnsmasq-discuss] Override DNS servers in DHCP packet<br>&gt; <br>&gt; On Tue, 23 Sep 2008 15:45:24 -0400<br>&gt; A C &lt;agcme@hotmail.com&gt; wrote:<br>&gt; <br>&gt; &gt; <br>&gt; &gt; Does dnsmasq use the DNS servers listed in /etc/resolv.conf over those listed in a DHCP packet?  I was forced to use DHCP for my public connection but I don't want to use the provided DNS servers as they are slower than the ones I had manually configured.<br>&gt; <br>&gt; I think typically the DHCP client would write /etc/resolv.conf with the<br>&gt; information it is provided by the DHCP server.  Then dnsmasq looks<br>&gt; there, unless you configure it otherwise.<br>&gt; <br>&gt; If you're talking about serving up different DNS servers via dnsmasq's<br>&gt; bult-in DHCP server, then take a look at: dnsmasq --help dhcp <br>&gt; <br><br>I was indeed talking about the first situation and not serving up alternate DNS servers.&nbsp; As it turns out, my installation is using udhcpd and writing the data to /tmp/resolv.conf while dnsmasq is still looking at /etc/resolv.conf.&nbsp; Since I don't have any directives to look at any other resolv.conf that I can see, I think it's safe to assume that dnsmasq is honoring my own /etc/resolv.conf and ignoring the DHCP packet.<br><br /><hr />See how Windows Mobile brings your life together—at home, work, or on the go. <a href='http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/' target='_new'>See Now</a></body>
</html>