<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
As Adam suggested, look at NetworkManager. For a static
configuration, it would probably be best to make sure it's disabled.
While it's not systemd-level invasive (cue sound of can of worms
opening), it does tend to get its mitts on things it would be best
if it didn't. It may be the thing for roaming clients, but not for
servers that stay put on a fixed IP address.<br>
<br>
<div class="moz-cite-prefix">On 2016-08-16 14:41, Kevin McGregor
wrote:<br>
</div>
<blockquote
cite="mid:CACBFUzjkupsXnL+etkNqbp=Q3AORoWKObjoh+8R9sD0eJp229g@mail.gmail.com"
type="cite">
<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's a server, and we don't use DHCP for servers (alas).
We'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"><<a
moz-do-not-send="true"
href="mailto:gedetil@cs.umanitoba.ca" target="_blank">gedetil@cs.umanitoba.ca</a>></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'm running Ubuntu 14.04 on a particular server. In the
/etc/resolv.conf<br>
there are two search lines:<br>
</span>
search <a moz-do-not-send="true"
href="http://domA.example.org" rel="noreferrer"
target="_blank">domA.example.org</a> <<a
moz-do-not-send="true" href="http://domA.example.org"
rel="noreferrer" target="_blank">http://domA.example.org</a>>
<a moz-do-not-send="true" href="http://domB.example.org"
rel="noreferrer" target="_blank">domB.example.org</a><br>
<<a moz-do-not-send="true"
href="http://domB.example.org" rel="noreferrer"
target="_blank">http://domB.example.org</a>> # [NOTE
I made these up, but the form is the same]<br>
search <a moz-do-not-send="true"
href="http://domA.example.org" rel="noreferrer"
target="_blank">domA.example.org</a> <<a
moz-do-not-send="true" href="http://domA.example.org"
rel="noreferrer" target="_blank">http://domA.example.org</a>><span
class=""><br>
<br>
I want the search setting to be just:<br>
</span>
search <a moz-do-not-send="true"
href="http://domA.example.org" rel="noreferrer"
target="_blank">domA.example.org</a> <<a
moz-do-not-send="true" href="http://domA.example.org"
rel="noreferrer" target="_blank">http://domA.example.org</a>><span
class=""><br>
<br>
I'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 moz-do-not-send="true"
href="http://domB.example.org" rel="noreferrer"
target="_blank">domB.example.org</a> <<a
moz-do-not-send="true" href="http://domB.example.org"
rel="noreferrer" target="_blank">http://domB.example.org</a>>
from? I've<span class=""><br>
looked in all the usual places (I think), and tried
"grep -R domB *" in<br>
/etc, but nothing turns up! I'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"></font></span><br>
</blockquote>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Gilles R. Detillieux E-mail: <a class="moz-txt-link-rfc2396E" href="mailto:grdetil@scrc.umanitoba.ca"><grdetil@scrc.umanitoba.ca></a>
Spinal Cord Research Centre WWW: <a class="moz-txt-link-freetext" href="http://www.scrc.umanitoba.ca/">http://www.scrc.umanitoba.ca/</a>
Dept. of Physiology and Pathophysiology, Faculty of Health Sciences,
Univ. of Manitoba Winnipeg, MB R3E 0J9 (Canada)
</pre>
</body>
</html>