<div dir="ltr">Nope, static:<div><span style="font-family:monospace,monospace;font-size:12.8px">iface eth0 inet static</span><br></div><div><br></div><div>It&#39;s a server, and we don&#39;t use DHCP for servers (alas). We&#39;re using dnsmasq locally on all servers solely for DNS resolution caching.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 16, 2016 at 2:36 PM, Gilbert E. Detillieux <span dir="ltr">&lt;<a href="mailto:gedetil@cs.umanitoba.ca" target="_blank">gedetil@cs.umanitoba.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is this server setting its interface addresses manually, or is it a DHCP client?  In the latter case, the DHCP server may be specifying the domain search list, and the client side is happily overwriting your /etc/resolv.conf on every lease renewal.<br>
<br>
Gilbert<span class=""><br>
<br>
On 16/08/2016 2:14 PM, Kevin McGregor wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
I&#39;m running Ubuntu 14.04 on a particular server. In the /etc/resolv.conf<br>
there are two search lines:<br></span>
search <a href="http://domA.example.org" rel="noreferrer" target="_blank">domA.example.org</a> &lt;<a href="http://domA.example.org" rel="noreferrer" target="_blank">http://domA.example.org</a>&gt; <a href="http://domB.example.org" rel="noreferrer" target="_blank">domB.example.org</a><br>
&lt;<a href="http://domB.example.org" rel="noreferrer" target="_blank">http://domB.example.org</a>&gt; # [NOTE I made these up, but the form is the same]<br>
search <a href="http://domA.example.org" rel="noreferrer" target="_blank">domA.example.org</a> &lt;<a href="http://domA.example.org" rel="noreferrer" target="_blank">http://domA.example.org</a>&gt;<span class=""><br>
<br>
I want the search setting to be just:<br></span>
search <a href="http://domA.example.org" rel="noreferrer" target="_blank">domA.example.org</a> &lt;<a href="http://domA.example.org" rel="noreferrer" target="_blank">http://domA.example.org</a>&gt;<span class=""><br>
<br>
I&#39;ve deleted the top/offending line, but every time I restart dnsmasq or<br>
run resolvconf -u (for example), the offending line comes back. Where is<br></span>
it getting the <a href="http://domB.example.org" rel="noreferrer" target="_blank">domB.example.org</a> &lt;<a href="http://domB.example.org" rel="noreferrer" target="_blank">http://domB.example.org</a>&gt; from? I&#39;ve<span class=""><br>
looked in all the usual places (I think), and tried &quot;grep -R domB *&quot; in<br>
/etc, but nothing turns up! I&#39;m at a loss.<br>
<br>
Any pointers on where I should look next?<br>
<br>
Thanks,<br>
Kevin<br>
</span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
Manitoba UNIX User Group        E-mail: &lt;<a href="mailto:gedetil@muug.mb.ca" target="_blank">gedetil@muug.mb.ca</a>&gt;<br>
c/o Gilbert E. Detillieux       Web:    <a href="http://www.muug.mb.ca/" rel="noreferrer" target="_blank">http://www.muug.mb.ca/</a><br>
University of Manitoba          Phone:  <a href="tel:%28204%29474-8161" value="+12044748161" target="_blank">(204)474-8161</a><br>
Winnipeg MB CANADA  R3T 2N2     Fax:    <a href="tel:%28204%29474-7609" value="+12044747609" target="_blank">(204)474-7609</a><br>
______________________________<wbr>_________________</font></span><div class="HOEnZb"><div class="h5"><br>
Roundtable mailing list<br>
<a href="mailto:Roundtable@muug.mb.ca" target="_blank">Roundtable@muug.mb.ca</a><br>
<a href="http://www.muug.mb.ca/mailman/listinfo/roundtable" rel="noreferrer" target="_blank">http://www.muug.mb.ca/mailman/<wbr>listinfo/roundtable</a><br>
</div></div></blockquote></div><br></div>