Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.linux > #55986
| From | "Carlos E. R." <robin_listas@es.invalid> |
|---|---|
| Newsgroups | alt.os.linux |
| Subject | Re: DNS |
| Date | 2019-05-02 20:14 +0200 |
| Message-ID | <gj0qbuF2br6U1@mid.individual.net> (permalink) |
| References | (4 earlier) <giruv9Fib2U1@mid.individual.net> <giugeuFhfioU2@mid.individual.net> <giuiddFht4mU1@mid.individual.net> <givtcqFqktaU1@mid.individual.net> <gj0fhsF11eU1@mid.individual.net> |
On 02/05/2019 17.09, Mike Easter wrote:
> Carlos E. R. wrote:
>
>> <https://wiki.archlinux.org/index.php/Systemd-resolved>
>
> Once again, the arch wiki does a good job.
>
>> Your "/etc/resolv.conf" says:
>>
>> nameserver 127.0.0.53
>>
>> So applications will ask gethostbyname() and end asking 127.0.0.53 which
>> happens to be systemd-resolve, which in turn will ask your router at
>> 192.168.whatever, which will ask some server outside, usually your own
>> ISP.
>>
>> Another typical configuration is that systemd-resolve would ask directly
>> outside bypassing the router.
>>
>> DHCP will tell NM what DNS server should be asked. Or you can ignore
>> that and write your own configuration.
>>
>> Using systemd-resolved is peculiar to Ubuntu, I read, and there are four
>> modes, the wiki says. You will have to find which one Ubuntu is using.
>
> Of the 4 modes, the wiki addresses 2, Using the systemd DNS stub file
> and (or) Preserving resolv.conf . The wiki article also refers me to
> some systemd-resolved man pages, particularly 8. I'm going to be doing
> more reading in those man pages.
>
> There is information in the wiki which doesn't work on my system. .
>
> wiki:
>> Tip: In order to check the DNS actually used by systemd-resolved, the
>> command to use is:
>>
>> $ resolvectl status
>
> $ resolvectl status
> resolvectl: command not found
>
> I have to use a different systemd status command, systemd-resolve --status
>
> wiki:
>> systemd-resolved will work out of the box with a network manager using
>> /etc/resolv.conf. No particular configuration is required since
>> systemd-resolved will be detected by following the /etc/resolv.conf
>> symlink. This is going to be the case with systemd-networkd or
>> NetworkManager.
>>
>> However, if the DHCP and VPN clients use the resolvconf program to set
>> name servers and search domains (see openresolv#Users for a list of
>> software that use resolvconf), the additional package
>> systemd-resolvconf is needed to provide the /usr/bin/resolvconf symlink.
>
> $ systemd-resolvconf -h
> systemd-resolvconf: command not found
>
>> Method Automatic (DHCP) configures your system to receive all network
>> configuration parameters from your router via DHCP: address, masq,
>> gateway, routes, name, DNS address... possibly others I have forgotten.
>>
>> "Method Automatic (DHCP) Addresses only" it only accepts the address and
>> ignores the rest. Possibly it accepts the masq. The rest you have to
>> configure on the computer "somehow".
>
> Yes. Historically I have always used the former, which is the default;
> but historically (maybe before systemd played this part) those DNS
> servers of the provider showed up on my system. They don't anymore.
>
That's because they must not go now to /etc/resolv.conf but to some
configuration file of systemd-resolved.
One of the posibilities is systemd-resolvconf.
Assuming the router is properly configured.
> This thread started because I couldn't resolve w3.org. At that time,
> there were no DNS configured by me, so I was using 127.0.0.53 to
> 192.168.1.1 to (the then 'unknown' DNS servers provided during the DHCP
> process).
>
> Later here I provided the IPs of the 2 provided DNS, one of which was
> 207.69.188.185.
>
> Notice that that DNS /still/ can't resolve w3.org
>
> $ nslookup w3.org 207.69.188.185
> ;; connection timed out; no servers could be reached
No, this is different. It means that systemd-resolved is not running.
--
Cheers,
Carlos E.R.
Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
DNS Mike Easter <MikeE@ster.invalid> - 2019-04-30 13:44 -0700
Re: DNS William Unruh <unruh@invalid.ca> - 2019-04-30 20:49 +0000
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-04-30 14:04 -0700
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-04-30 14:08 -0700
Re: DNS Bit Twister <BitTwister@mouse-potato.com> - 2019-04-30 16:22 -0500
Re: DNS "Carlos E. R." <robin_listas@es.invalid> - 2019-04-30 23:15 +0200
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-04-30 14:26 -0700
Re: DNS "Carlos E. R." <robin_listas@es.invalid> - 2019-04-30 23:44 +0200
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-04-30 15:02 -0700
Re: DNS "J.O. Aho" <user@example.net> - 2019-05-01 09:43 +0200
Re: DNS "Carlos E. R." <robin_listas@es.invalid> - 2019-05-01 23:13 +0200
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-01 14:46 -0700
Re: DNS Dan Purgert <dan@djph.net> - 2019-05-01 23:23 +0000
Re: DNS "Carlos E. R." <robin_listas@es.invalid> - 2019-05-02 11:59 +0200
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-02 08:09 -0700
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-02 08:32 -0700
Re: DNS "Carlos E. R." <robin_listas@es.invalid> - 2019-05-02 20:19 +0200
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-02 11:36 -0700
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-02 10:46 -0700
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-02 11:07 -0700
Re: DNS "Carlos E. R." <robin_listas@es.invalid> - 2019-05-02 20:21 +0200
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-02 11:40 -0700
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-02 11:57 -0700
Re: DNS "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-05-02 18:33 -0400
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-02 15:59 -0700
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-02 16:08 -0700
Re: DNS William Unruh <unruh@invalid.ca> - 2019-05-02 23:30 +0000
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-02 16:18 -0700
Re: DNS William Unruh <unruh@invalid.ca> - 2019-05-03 00:12 +0000
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-02 17:29 -0700
Re: DNS "Carlos E. R." <robin_listas@es.invalid> - 2019-05-03 04:15 +0200
Re: DNS William Unruh <unruh@invalid.ca> - 2019-05-02 23:28 +0000
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-02 16:36 -0700
Re: DNS "Carlos E. R." <robin_listas@es.invalid> - 2019-05-03 04:30 +0200
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-02 20:10 -0700
Re: DNS Dan Purgert <dan@djph.net> - 2019-05-03 15:21 +0000
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-03 08:47 -0700
Re: DNS Dan Purgert <dan@djph.net> - 2019-05-03 19:06 +0000
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-03 13:17 -0700
Re: DNS William Unruh <unruh@invalid.ca> - 2019-05-03 16:09 +0000
Re: DNS "Carlos E. R." <robin_listas@es.invalid> - 2019-05-03 04:23 +0200
Re: DNS William Unruh <unruh@invalid.ca> - 2019-05-02 18:11 +0000
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-02 11:18 -0700
Re: DNS "Carlos E. R." <robin_listas@es.invalid> - 2019-05-02 20:14 +0200
Re: DNS "Carlos E. R." <robin_listas@es.invalid> - 2019-05-02 20:18 +0200
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-02 11:35 -0700
Re: DNS "Carlos E. R." <robin_listas@es.invalid> - 2019-05-02 23:49 +0200
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-02 12:00 -0700
Re: DNS "Carlos E. R." <robin_listas@es.invalid> - 2019-05-02 23:47 +0200
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-02 11:32 -0700
Re: DNS "Carlos E. R." <robin_listas@es.invalid> - 2019-05-02 23:45 +0200
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-02 09:44 -0700
Re: DNS "Carlos E. R." <robin_listas@es.invalid> - 2019-05-02 20:30 +0200
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-02 12:11 -0700
Re: DNS "Carlos E. R." <robin_listas@es.invalid> - 2019-05-02 23:55 +0200
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-02 15:38 -0700
Re: DNS "Carlos E. R." <robin_listas@es.invalid> - 2019-05-03 04:11 +0200
Re: DNS William Unruh <unruh@invalid.ca> - 2019-05-03 03:52 +0000
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-02 21:26 -0700
Re: DNS "Carlos E. R." <robin_listas@es.invalid> - 2019-05-03 11:44 +0200
Re: DNS "Carlos E. R." <robin_listas@es.invalid> - 2019-05-03 11:41 +0200
Re: DNS William Unruh <unruh@invalid.ca> - 2019-05-03 16:06 +0000
Re: DNS "Carlos E. R." <robin_listas@es.invalid> - 2019-05-03 20:14 +0200
Re: DNS William Unruh <unruh@invalid.ca> - 2019-05-04 01:51 +0000
Re: DNS "Carlos E. R." <robin_listas@es.invalid> - 2019-05-04 04:04 +0200
Re: DNS William Unruh <unruh@invalid.ca> - 2019-05-01 00:25 +0000
Re: DNS "Carlos E. R." <robin_listas@es.invalid> - 2019-05-01 23:12 +0200
Re: DNS William Unruh <unruh@invalid.ca> - 2019-05-01 21:42 +0000
Re: DNS William Unruh <unruh@invalid.ca> - 2019-05-01 00:08 +0000
Re: DNS Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-05-01 10:12 +0200
Re: DNS Bit Twister <BitTwister@mouse-potato.com> - 2019-04-30 16:19 -0500
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-04-30 14:38 -0700
Re: DNS Bit Twister <BitTwister@mouse-potato.com> - 2019-04-30 17:46 -0500
Re: DNS Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-05-01 10:14 +0200
Re: DNS Java Jive <java@evij.com.invalid> - 2019-04-30 22:41 +0100
Re: DNS Dan Purgert <dan@djph.net> - 2019-04-30 23:37 +0000
Re: DNS Jasen Betts <jasen@xnet.co.nz> - 2019-05-01 10:27 +0000
Re: DNS Dan Purgert <dan@djph.net> - 2019-05-01 10:48 +0000
Re: DNS William Unruh <unruh@invalid.ca> - 2019-05-01 16:10 +0000
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-01 10:43 -0700
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-01 11:01 -0700
Re: DNS William Unruh <unruh@invalid.ca> - 2019-05-01 19:08 +0000
Re: DNS Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-05-01 21:17 +0200
Re: DNS "J.O. Aho" <user@example.net> - 2019-05-01 22:57 +0200
Re: DNS Mike Easter <MikeE@ster.invalid> - 2019-05-01 16:42 -0700
csiph-web