Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.linux > #55992
| From | "Carlos E. R." <robin_listas@es.invalid> |
|---|---|
| Newsgroups | alt.os.linux |
| Subject | Re: DNS |
| Date | 2019-05-02 20:30 +0200 |
| Message-ID | <gj0ra4F2j1iU1@mid.individual.net> (permalink) |
| References | (4 earlier) <giruv9Fib2U1@mid.individual.net> <giugeuFhfioU2@mid.individual.net> <giuiddFht4mU1@mid.individual.net> <givtcqFqktaU1@mid.individual.net> <gj0l30F184dU1@mid.individual.net> |
On 02/05/2019 18.44, Mike Easter wrote:
> Carlos E. R. wrote:
>> Your "/etc/resolv.conf" says:
>>
>> nameserver 127.0.0.53
>
> And, that is still all that it says, except that the comments there are
> worth noting:
>
> # This file is managed by man:systemd-resolved(8). Do not edit.
> #
> # This is a dynamic resolv.conf file for connecting local clients to the
> # internal DNS stub resolver of systemd-resolved. This file lists all
> # configured search domains.
> #
> # Run "systemd-resolve --status" to see details about the uplink DNS
> servers
> # currently in use.
> #
> # Third party programs must not access this file directly, but only
> through the
> # symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
> different way,
> # replace this symlink by a static file or a different symlink.
> #
> # See man:systemd-resolved.service(8) for details about the supported
> modes of
> # operation for /etc/resolv.conf.
>
> nameserver 127.0.0.53
> search <munged local domain name>
>
> ---end resolv.conf---
Which is correct and as I expected. Had you posted this on the first
post it would have clarified *our* ideas much earlier.
>
>> 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.
>
> On my system, /etc/systemd/resolved.conf is 'empty' of anything except
> comments.
Post it. In full.
> However, if I use a systemd command to get status (not what the wiki
> said), I get to see configurations which were put into the networkmanager
>
> $ systemd-resolve --status
> Global
> DNS Servers: 8.8.8.8
> 8.8.4.4
> 192.168.1.1
> DNS Domain: <munged local domain>
> DNSSEC NTA: <big snip>
>
> Link 2 (enp1s0)
> Current Scopes: DNS
> LLMNR setting: yes
> MulticastDNS setting: no
> DNSSEC setting: no
> DNSSEC supported: no
> DNS Servers: 8.8.8.8
> 8.8.4.4
> 192.168.1.1
> DNS Domain: <munged local domain>
Finally.
So, the DN Server that sits on 127.0.0.53, which happens to be
systemd-resolve, asks directly 8.8.8.8 and 8.8.4.4, but also
192.168.1.1, which is your router. I don't know if it goes round-robin,
or always asks the first and jumps to the next if the previous one
fails. Both strategies are possible.
> There are two reasons that I can resolve w3.org now which I couldn't
> before;
> -1- my own machine has the google DNS and
> -2- the DNS information at 192.168.1.1 also contains those google DNS
> as well as the DNS which were obtained at the time of DHCP.
>
> For some reason, the ISP provided DNS servers cannot resolve w3.org
Then don't use them.
Does your router have a ping command? You can use it to find out how
well it solves names - or not.
--
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