<html><head></head><body><div>I was unclear. I have IP configuration data written in /etc/sysconfig/network-scripts/ifcfg-<ifacename> (RHEL/CentOS/Fedora location). That's how NetworkManager gets what it needs to run networking (as long as it's not blocked in the ifcfg-<device> file specifically.</div><div><br></div><div>The new method is to have resolve.conf "built" each time the network is started up. </div><div><br></div><div>I use bind managed through Free-IPA for DNS for my domains.</div><div><br></div><div>On Wed, 2018-03-07 at 15:01 -0600, Todor Fassl wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>You mean add the equivalent values to /etc/systemd/resolv.conf? Nothing.
I actually copied a working resolv.conf from another machine to
/etc/systemd/resolv.conf and restarted systemd.resolvd. The resulting
/etc/resolv.conf file (actually a symlink to
../run/systemd/resolve/stub-resolv.conf) was the same. I even deleted
the ../run/systemd/resolve/stub-resolv.conf and then restarted
systemd.resolvd to make sure it was generating a new file. No joy.
I am not totally surprised that experiment did not work though. I think
the resolv.conf is correct as far as it goes. It is the behaviour of the
thing listening at 127.0.0.53 that is in question.
On 03/07/2018 01:46 PM, Jim Kinney wrote:
> What happens if you add
>
> DNS1=8.8.8.8
> DOMAIN=mydomain.net
>
> To the network configuration? NetworkManager will that that as an entry
> in resolv.conf and write it there.
>
> I thought systemd-resolvd was used only (mostly) during startup to do
> thing like handle remote filesystems, etc. I've never used it.
>
> On March 7, 2018 2:38:13 PM EST, Todor Fassl via Ale <<a href="mailto:ale@ale.org">ale@ale.org</a>> wrote:
>
> Well, I could just disable systemd-resolvd and then create a
> /etc/resolv.conf in a text editor. But I'd rather not go
backwards. I've
> mentioned before on this list that I rue the day I decided to
switch my
> end users from debian stable to ubuntu. But I can't go back on that
> either. I'd like to get systemd.resolvd working.
>
> Have you ever heard of this term, "multi label name"? I am
thinking it
> means either an fqdn *or* an unqualified dn. So examples would be
spock
> and/or spock.example.com.
>
> On 03/07/2018 12:32 PM, Lightner, Jeffrey wrote:> This posts
suggests it
> is systemd-resolved and gives options for using dnsmasq instead:
>
>
>
>
<a href="https://askubuntu.com/questions/898605/how-to-disable-systemd-resolved-and-resolve-dns-with-dnsmasq">https://askubuntu.com/questions/898605/how-to-disable-systemd-resolved-and-resolve-dns-with-dnsmasq</a>
>
>
> My RHEL7 systemd doesn't have systemd-resolved.
>
> -----Original Message-----
> From: Ale [<a href="mailto:ale-bounces@ale.org">mailto:ale-bounces@ale.org</a>] On Behalf Of Lightner,
> Jeffrey
>
> via Ale
>
> Sent: Wednesday, March 07, 2018 1:28 PM
> To: Todor Fassl; Atlanta Linux Enthusiasts
> Subject: Re: [ale] Multi-label names
>
> Does it run any better if you turn off systemd-resolv (systemctl
> stop
>
> systemd-resolv)?
>
>
> What is in your /etc/resolv.conf on the two servers?
>
>
>
> -----Original Message-----
> From: Ale [<a href="mailto:ale-bounces@ale.org">mailto:ale-bounces@ale.org</a>] On Behalf Of Todor Fassl
> via Ale
> Sent: Wednesday, March 07, 2018 1:09 PM
> To: Atlanta Linux Enthusiasts
> Subject: [ale] Multi-label names
>
> I am having a problem after an upgrade to ubuntu artful. If I
do a
>
> host lookup for a non-existing, unqualified host name, it takes a
long
> time to error ot. Say I have a host named spock. I can say, "host
spock"
> and that comes back instantly. If I say, "host sopck" or some other
> typo, it takes like 10 seconds and I get this:
>
> $ host -v sopck
> Trying "sopck.example.com
> Trying "sopck"
> ;; connection timed out; no servers could be reached
>
> On an old machine, I get this:
> $ host -v sopck
> Trying "sopck.example.com
> Trying "sopck"
> Host sopck not found: 3(NXDOMAIN)
> Received 98 bytes from 192.168.0.1#53 in 0 ms
>
> I see that on the ubuntu/artful machines, I am running
> systemd-resolv
>
> (through no fault of my own). It's listening on 127.0.0.1 and caching
> DNS queries. So trying to read the man page for systemd-resolv, I
keep
> coming across the term "multi label names". I never heard that term
> before, don't know what it means, and it appears to be ungoogleable.
>
>
> Any advice on the original problem or on the meaning of that term
>
> would be appreciated.
>
>
------------------------------------------------------------------------
>
> Ale mailing list
> <a href="mailto:Ale@ale.org">Ale@ale.org</a>
> <a href="https://mail.ale.org/mailman/listinfo/ale">https://mail.ale.org/mailman/listinfo/ale</a>
> See JOBS, ANNOUNCE and SCHOOLS lists at
> <a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a>
>
------------------------------------------------------------------------
>
> Ale mailing list
> <a href="mailto:Ale@ale.org">Ale@ale.org</a>
> <a href="https://mail.ale.org/mailman/listinfo/ale">https://mail.ale.org/mailman/listinfo/ale</a>
> See JOBS, ANNOUNCE and SCHOOLS lists at
> <a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a>
>
>
> --
> Sent from my Android device with K-9 Mail. All tyopes are thumb related
> and reflect authenticity.
</pre></blockquote><div><span><pre><pre>-- <br></pre>James P. Kinney III
Every time you stop a school, you will have to build a jail. What you
gain at one end you lose at the other. It's like feeding a dog on his
own tail. It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
http://heretothereideas.blogspot.com/
</pre></span></div></body></html>