[ale] Multi-label names

Jim Kinney jim.kinney at gmail.com
Wed Mar 7 16:40:03 EST 2018


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.
The new method is to have resolve.conf "built" each time the network is
started up. 
I use bind managed through Free-IPA for DNS for my domains.
On Wed, 2018-03-07 at 15:01 -0600, Todor Fassl wrote:
> 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 <ale at ale.org>
> 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:
>  >
>  >
>  >
>  > 
> https://askubuntu.com/questions/898605/how-to-disable-systemd-resolve
> d-and-resolve-dns-with-dnsmasq
>  >
>  >
>  >         My RHEL7 systemd doesn't have systemd-resolved.
>  >
>  >         -----Original Message-----
>  >         From: Ale [mailto:ale-bounces at ale.org] 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 [mailto:ale-bounces at ale.org] 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
>  >         Ale at ale.org
>  >         https://mail.ale.org/mailman/listinfo/ale
>  >         See JOBS, ANNOUNCE and SCHOOLS lists at
>  >         http://mail.ale.org/mailman/listinfo
>  > 
> -------------------------------------------------------------------
> -----
>  >
>  >         Ale mailing list
>  >         Ale at ale.org
>  >         https://mail.ale.org/mailman/listinfo/ale
>  >         See JOBS, ANNOUNCE and SCHOOLS lists at
>  >         http://mail.ale.org/mailman/listinfo
>  >
>  >
>  > --
>  > Sent from my Android device with K-9 Mail. All tyopes are thumb
> related
>  > and reflect authenticity.
-- 
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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20180307/6ed0a8bb/attachment.html>


More information about the Ale mailing list