Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.linux > #55932 > unrolled thread
| Started by | Mike Easter <MikeE@ster.invalid> |
|---|---|
| First post | 2019-04-30 13:44 -0700 |
| Last post | 2019-05-01 16:42 -0700 |
| Articles | 20 on this page of 85 — 10 participants |
Back to article view | Back to alt.os.linux
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
Page 1 of 5 [1] 2 3 4 5 Next page →
| From | Mike Easter <MikeE@ster.invalid> |
|---|---|
| Date | 2019-04-30 13:44 -0700 |
| Subject | DNS |
| Message-ID | <girqdoFu4ctU1@mid.individual.net> |
Is something setup wrong in my system. I couldn't reach w3.org but downforme etc was able. So I checked w/ $ nslookup w3.org ;; connection timed out; no servers could be reached $ cat /etc/resolv.conf <snip> nameserver 127.0.0.53 So I used nslookup w/ a google dns server $ nslookup w3.org 8.8.8.8 Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: Name: w3.org Address: 128.30.52.100 Name: w3.org Address: 2603:400a:ffff:804:801e:34:0:64 I am DHCP, my (newish) router says I didn't configure any other DNS besides DHCP. I added a couple of DNS servers to the router, but that didn't immediately 'take'. I think my system asks 127.0.0.53 which in turn asks 192.168.1.1 which in turn asks the DHCP which is unknown to me and not pub/d in this newish router. I know how to find those DNS servers from the 'behavior' of what happens when a browser can't resolve a name, but it seems I should be able to look it up in the router. -- Mike Easter
[toc] | [next] | [standalone]
| From | William Unruh <unruh@invalid.ca> |
|---|---|
| Date | 2019-04-30 20:49 +0000 |
| Message-ID | <qaaccp$l4j$1@dont-email.me> |
| In reply to | #55932 |
On 2019-04-30, Mike Easter <MikeE@ster.invalid> wrote: > Is something setup wrong in my system. > > I couldn't reach w3.org but downforme etc was able. So I checked w/ > > $ nslookup w3.org > ;; connection timed out; no servers could be reached > > $ cat /etc/resolv.conf ><snip> > > nameserver 127.0.0.53 Why would this local address be your nameserver? You might just as well use /etc/hosts. > > So I used nslookup w/ a google dns server > > $ nslookup w3.org 8.8.8.8 > Server: 8.8.8.8 > Address: 8.8.8.8#53 > > Non-authoritative answer: > Name: w3.org > Address: 128.30.52.100 > Name: w3.org > Address: 2603:400a:ffff:804:801e:34:0:64 > > > I am DHCP, my (newish) router says I didn't configure any other DNS > besides DHCP. > > I added a couple of DNS servers to the router, but that didn't > immediately 'take'. What does route -n say? Anyway, put some reasonable name servers into /etc/resolv.conf > > I think my system asks 127.0.0.53 which in turn asks 192.168.1.1 which > in turn asks the DHCP which is unknown to me and not pub/d in this > newish router. > > I know how to find those DNS servers from the 'behavior' of what happens > when a browser can't resolve a name, but it seems I should be able to > look it up in the router. > >
[toc] | [prev] | [next] | [standalone]
| From | Mike Easter <MikeE@ster.invalid> |
|---|---|
| Date | 2019-04-30 14:04 -0700 |
| Message-ID | <girrjoFubpbU1@mid.individual.net> |
| In reply to | #55933 |
William Unruh wrote: > Anyway, put some reasonable name servers into /etc/resolv.conf I did it (fixed it) w/ the NM's network connxns function in ipv4 settings adding 2 DNS, but resolv.conf is unchanged. nslookup w3.org Server: 127.0.0.53 Address: 127.0.0.53#53 Non-authoritative answer: Name: w3.org Address: 128.30.52.100 Name: w3.org Address: 2603:400a:ffff:804:801e:34:0:64 -- Mike Easter
[toc] | [prev] | [next] | [standalone]
| From | Mike Easter <MikeE@ster.invalid> |
|---|---|
| Date | 2019-04-30 14:08 -0700 |
| Message-ID | <girrq7FubpbU2@mid.individual.net> |
| In reply to | #55934 |
Mike Easter wrote: > I did it (fixed it) w/ the NM's network connxns function in ipv4 > settings adding 2 DNS, but resolv.conf is unchanged. $ cat /etc/resolv.conf isn't useful to me, but $ systemd-resolve --status is much better. -- Mike Easter
[toc] | [prev] | [next] | [standalone]
| From | Bit Twister <BitTwister@mouse-potato.com> |
|---|---|
| Date | 2019-04-30 16:22 -0500 |
| Message-ID | <slrnqchf4k.c1d.BitTwister@wb.home.test> |
| In reply to | #55935 |
On Tue, 30 Apr 2019 14:08:23 -0700, Mike Easter wrote: > Mike Easter wrote: >> I did it (fixed it) w/ the NM's network connxns function in ipv4 >> settings adding 2 DNS, but resolv.conf is unchanged. > > $ cat /etc/resolv.conf > > isn't useful to me, but > > $ systemd-resolve --status > > is much better. Depends on actual resolver being used. Saw a article about systemd resolver having a security problem. Glad I have it disabled.
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E. R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-04-30 23:15 +0200 |
| Message-ID | <girs7vFufstU1@mid.individual.net> |
| In reply to | #55932 |
On 30/04/2019 22.44, Mike Easter wrote:
> Is something setup wrong in my system.
>
> I couldn't reach w3.org but downforme etc was able. So I checked w/
>
> $ nslookup w3.org
> ;; connection timed out; no servers could be reached
>
> $ cat /etc/resolv.conf
> <snip>
>
> nameserver 127.0.0.53
This means your own computer. Not the router, not another machine in the
network, but this very same computer that has problems. For this to work
you must be running some DNS service at your own computer. Which one are
you using?
>
> So I used nslookup w/ a google dns server
>
> $ nslookup w3.org 8.8.8.8
> Server: 8.8.8.8
> Address: 8.8.8.8#53
That will tell you nothing of value, because you are asking explicitly
the question to 8.8.8.8, not to your system chain.
Now, the command:
nslookup w3.org
would instead tell us something interesting.
> I am DHCP, my (newish) router says I didn't configure any other DNS
> besides DHCP.
>
> I added a couple of DNS servers to the router, but that didn't
> immediately 'take'.
>
> I think my system asks 127.0.0.53 which in turn asks 192.168.1.1
Prove, not think. Or find out.
What DNS server are you running on 127.0.0.*?
> which
> in turn asks the DHCP
You can not ask the DHCP. What is the DHCP? That sentence is absurd.
--
Cheers,
Carlos E.R.
[toc] | [prev] | [next] | [standalone]
| From | Mike Easter <MikeE@ster.invalid> |
|---|---|
| Date | 2019-04-30 14:26 -0700 |
| Message-ID | <girst4F4v4U1@mid.individual.net> |
| In reply to | #55937 |
Carlos E. R. wrote: > Mike Easter wrote: >> >> $ nslookup w3.org >> ;; connection timed out; no servers could be reached There's your failed nslookup w3.org >> $ cat /etc/resolv.conf >> <snip> >> >> nameserver 127.0.0.53 > > This means your own computer. Not the router, not another machine in the > network, but this very same computer that has problems. Yes; I know the 127 is me, but the 127 is in turn asking the gateway which gateway is asking the DNS servers provided by the DHCP. > For this to work > you must be running some DNS service at your own computer. Which one are > you using? Well; I wasn't until now. The 'chain' of this computer 127 to the gateway 192 to the provider DNS servers was working ok. But the provider dns servers proved to crap out in this w3.org instance. >> So I used nslookup w/ a google dns server >> >> $ nslookup w3.org 8.8.8.8 >> Server: 8.8.8.8 >> Address: 8.8.8.8#53 > > That will tell you nothing of value, because you are asking explicitly > the question to 8.8.8.8, not to your system chain. Well; yes, but I was able to show that w3.org would resolve by another route than downforme. > Now, the command: > > nslookup w3.org > > would instead tell us something interesting. See above. It failed in the past. Works ok now. >> I am DHCP, my (newish) router says I didn't configure any other DNS >> besides DHCP. >> >> I added a couple of DNS servers to the router, but that didn't >> immediately 'take'. >> >> I think my system asks 127.0.0.53 which in turn asks 192.168.1.1 > > Prove, not think. Or find out. > > What DNS server are you running on 127.0.0.*? > >> which >> in turn asks the DHCP > > You can not ask the DHCP. What is the DHCP? That sentence is absurd. That was bad language. I meant it uses the DNS servers provided by the DHCP. The same gateway that gives me an IP address and 'resolves' using 192.168.1.1 uses provider supplied DNS servers. -- Mike Easter
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E. R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-04-30 23:44 +0200 |
| Message-ID | <girtt7Fb2lU1@mid.individual.net> |
| In reply to | #55940 |
On 30/04/2019 23.26, Mike Easter wrote:
> Carlos E. R. wrote:
>> Mike Easter wrote:
>>>
>>> $ nslookup w3.org
>>> ;; connection timed out; no servers could be reached
>
> There's your failed nslookup w3.org
>
>>> $ cat /etc/resolv.conf
>>> <snip>
>>>
>>> nameserver 127.0.0.53
>>
>> This means your own computer. Not the router, not another machine in the
>> network, but this very same computer that has problems.
>
> Yes; I know the 127 is me, but the 127 is in turn asking the gateway
> which gateway is asking the DNS servers provided by the DHCP.
There is no "DNS servers provided by the DHCP". Such a thing does not exist.
>
>> For this to work
>> you must be running some DNS service at your own computer. Which one are
>> you using?
>
> Well; I wasn't until now. The 'chain' of this computer 127 to the
> gateway 192 to the provider DNS servers was working ok. But the
> provider dns servers proved to crap out in this w3.org instance.
>
>>> So I used nslookup w/ a google dns server
>>>
>>> $ nslookup w3.org 8.8.8.8
>>> Server: 8.8.8.8
>>> Address: 8.8.8.8#53
>>
>> That will tell you nothing of value, because you are asking explicitly
>> the question to 8.8.8.8, not to your system chain.
>
> Well; yes, but I was able to show that w3.org would resolve by another
> route than downforme.
Ok.
>
>> Now, the command:
>>
>> nslookup w3.org
>>
>> would instead tell us something interesting.
>
> See above. It failed in the past. Works ok now.
>
>>> I am DHCP, my (newish) router says I didn't configure any other DNS
>>> besides DHCP.
>>>
>>> I added a couple of DNS servers to the router, but that didn't
>>> immediately 'take'.
>>>
>>> I think my system asks 127.0.0.53 which in turn asks 192.168.1.1
>>
>> Prove, not think. Or find out.
>>
>> What DNS server are you running on 127.0.0.*?
Maybe systemd-resolve?
>>
>>> which
>>> in turn asks the DHCP
>>
>> You can not ask the DHCP. What is the DHCP? That sentence is absurd.
>
> That was bad language. I meant it uses the DNS servers provided by the
> DHCP. The same gateway that gives me an IP address and 'resolves' using
> 192.168.1.1 uses provider supplied DNS servers.
No such thing as "DNS servers provided by the DHCP", it makes no sense.
Maybe you mean "the computer asks the DNS servers at the addresses that
were provided via DHCP by the router".
Are you sure of that? Does "systemd-resolve" autoconfigure or does it
use static configuration?
The possibilities are that "systemd-resolve" autoconfigures via DHCP and
asks that address, that could be that of the router or somewhere
external. Or that "systemd-resolve" has to be manually configured.
I don't even hage "systemd-resolve", I can not read the manual to find
out for you.
So don't guess, find out how your system is configured.
--
Cheers,
Carlos E.R.
[toc] | [prev] | [next] | [standalone]
| From | Mike Easter <MikeE@ster.invalid> |
|---|---|
| Date | 2019-04-30 15:02 -0700 |
| Message-ID | <giruv9Fib2U1@mid.individual.net> |
| In reply to | #55943 |
Carlos E. R. wrote: > Mike Easter wrote: >> >> Yes; I know the 127 is me, but the 127 is in turn asking the gateway >> which gateway is asking the DNS servers provided by the DHCP. > > There is no "DNS servers provided by the DHCP". Such a thing does not exist. My understanding is that the DHCP gives me IP address, subnet mask, default routers, DNS servers, lease time etc. >> That was bad language. I meant it uses the DNS servers provided by the >> DHCP. The same gateway that gives me an IP address and 'resolves' using >> 192.168.1.1 uses provider supplied DNS servers. > > No such thing as "DNS servers provided by the DHCP", it makes no sense. > > Maybe you mean "the computer asks the DNS servers at the addresses that > were provided via DHCP by the router". OK. -- Mike Easter
[toc] | [prev] | [next] | [standalone]
| From | "J.O. Aho" <user@example.net> |
|---|---|
| Date | 2019-05-01 09:43 +0200 |
| Message-ID | <git10pF79g8U1@mid.individual.net> |
| In reply to | #55944 |
On 01/05/2019 00.02, Mike Easter wrote:
> Carlos E. R. wrote:
>> Mike Easter wrote:
>>>
>>> Yes; I know the 127 is me, but the 127 is in turn asking the gateway
>>> which gateway is asking the DNS servers provided by the DHCP.
>>
>> There is no "DNS servers provided by the DHCP". Such a thing does not
>> exist.
>
> My understanding is that the DHCP gives me IP address, subnet mask,
> default routers, DNS servers, lease time etc.
Depends on the configuration on the DHCP server, also the local machines
DHCP configuration can override settings that is provided by the DHCP
server.
For example a server configuration could look like:
subnet 10.5.5.0 netmask 255.255.255.224 {
range 10.5.5.26 10.5.5.30;
option domain-name-servers 10.5.5.1;
option domain-name "internal.example.org";
option routers 10.5.5.1;
option broadcast-address 10.5.5.31;
default-lease-time 600;
max-lease-time 7200;
}
while a client side configuration has:
lease {
interface "ep0";
fixed-address 10.5.5.29;
option domain-name-servers 1.1.1.1;
}
Which would override the ip and dns entry provided by the dhcp server.
If you use systemd/Linux, then things may be even more complicated as
you have to take in account systemd settings, for a simpler setup I do
recommend GNU/Linux instead.
--
//Aho
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E. R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-05-01 23:13 +0200 |
| Message-ID | <giugeuFhfioU2@mid.individual.net> |
| In reply to | #55944 |
On 01/05/2019 00.02, Mike Easter wrote:
> Carlos E. R. wrote:
>> Mike Easter wrote:
>>>
>>> Yes; I know the 127 is me, but the 127 is in turn asking the gateway
>>> which gateway is asking the DNS servers provided by the DHCP.
>>
>> There is no "DNS servers provided by the DHCP". Such a thing does not
>> exist.
>
> My understanding is that the DHCP gives me IP address, subnet mask,
> default routers, DNS servers, lease time etc.
Ok, but your wording is difficult to understand.
>>> That was bad language. I meant it uses the DNS servers provided by the
>>> DHCP. The same gateway that gives me an IP address and 'resolves' using
>>> 192.168.1.1 uses provider supplied DNS servers.
>>
>> No such thing as "DNS servers provided by the DHCP", it makes no sense.
>>
>> Maybe you mean "the computer asks the DNS servers at the addresses that
>> were provided via DHCP by the router".
>
> OK.
--
Cheers,
Carlos E.R.
[toc] | [prev] | [next] | [standalone]
| From | Mike Easter <MikeE@ster.invalid> |
|---|---|
| Date | 2019-05-01 14:46 -0700 |
| Message-ID | <giuiddFht4mU1@mid.individual.net> |
| In reply to | #55967 |
Carlos E. R. wrote: > Mike Easter wrote: >> Carlos E. R. wrote: >> >> My understanding is that the DHCP gives me IP address, subnet mask, >> default routers, DNS servers, lease time etc. > > Ok, but your wording is difficult to understand. > >>> >>> Maybe you mean "the computer asks the DNS servers at the addresses that >>> were provided via DHCP by the router". >> My present goal is about learning about how my DNS is 'managed' and working w/ it, since some things have changed since my earlier superficial understanding. And, presently I'm more interested in working w/ the systemd implementation rather than dumping it, without debating whether the systemd way is worse or not. Also, presently I'm not interested in setting up such as bind. In the systems I work with mostly the most important tool for me is networkmanager, including its command and text-based tools nmcli & nmtui. To that end, and because there's some confusion on my part in more than just the words I use about DHCP particularly as regards DNS servers, there are two different options in NM related to DHCP: Method Automatic (DHCP) Method Automatic (DHCP) Addresses only I'm wondering if the difference between those two is that one means that the DHCP is to assign IPs to devices connecting AND (some other stuff); while the other means to assign IPs w/o 'the other stuff' and where maybe the other stuff means such as the IP addresses of DNS servers which are provided by/in the DHCP protocol. I haven't yet been able to resolve this difference yet in my searching and overview of such as man networkmanager. -- Mike Easter
[toc] | [prev] | [next] | [standalone]
| From | Dan Purgert <dan@djph.net> |
|---|---|
| Date | 2019-05-01 23:23 +0000 |
| Message-ID | <slrnqckak7.n0k.dan@djph.net> |
| In reply to | #55969 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Mike Easter wrote: > [...] > To that end, and because there's some confusion on my part in more than > just the words I use about DHCP particularly as regards DNS servers, > there are two different options in NM related to DHCP: > > Method Automatic (DHCP) This one applies everything offered by the DHCP server -- address, DNS, whatever else may be offered. > Method Automatic (DHCP) Addresses only This one only applies the address offered by the DHCP server. DNS, etc. is expected to be applied elsewhere (e.g. via /etc/resolv.conf). -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAlzKKoUACgkQjhHd8xJ5 ooFYHQf8CxM48Qb8okODq/PNZmKFeeAcNXZJQikHYnWD6mD5Hi78fEOVFICywPbe yU1W8DjkoTVyBri5Et+4tWm1DcTg0efC67PQ0rBHdcV2R87b0squILKdL8XKYABz sJKKgJ5INsisChMk22valD/7s82+43jgn/2VjkUcHg9q65C1qg6/Ac76C5dab8da vB3S3rmKcw3QG8TKo0W4BGFvTJryPEHLJTLTVnGohvJ0m8LLYPVUle2qIfC4gslx 30KxLcx6t+Xn4OHJHqEHxZxhzyLhVxeM8XWOA0aiKG5D3d12Kli34EvxcL89WVpE ycj10rIz8Nttl2Tz+V3yFmuBx/iMaA== =kB32 -----END PGP SIGNATURE----- -- |_|O|_| |_|_|O| Github: https://github.com/dpurgert |O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E. R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-05-02 11:59 +0200 |
| Message-ID | <givtcqFqktaU1@mid.individual.net> |
| In reply to | #55969 |
On 01/05/2019 23.46, Mike Easter wrote:
> Carlos E. R. wrote:
>> Mike Easter wrote:
>>> Carlos E. R. wrote:
>>>
>>> My understanding is that the DHCP gives me IP address, subnet mask,
>>> default routers, DNS servers, lease time etc.
>>
>> Ok, but your wording is difficult to understand.
>>
>>>>
>>>> Maybe you mean "the computer asks the DNS servers at the addresses that
>>>> were provided via DHCP by the router".
>>>
>
> My present goal is about learning about how my DNS is 'managed' and
> working w/ it, since some things have changed since my earlier
> superficial understanding.
>
> And, presently I'm more interested in working w/ the systemd
> implementation rather than dumping it, without debating whether the
> systemd way is worse or not.
Things have not changed.
I don't know how the systemd resolver works. But it is here:
<https://wiki.archlinux.org/index.php/Systemd-resolved>
> Also, presently I'm not interested in setting up such as bind.
Then don't :-)
> In the systems I work with mostly the most important tool for me is
> networkmanager, including its command and text-based tools nmcli & nmtui.
Ok.
NM integrates with daemons such as dnsmasq and possibly systemd-resolve
to tell them what external DNS to use. NM gets the configuration
information via DHCP and tells these tools. But it can not tell bind,
it is older.
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.
> To that end, and because there's some confusion on my part in more than
> just the words I use about DHCP particularly as regards DNS servers,
> there are two different options in NM related to DHCP:
>
> Method Automatic (DHCP)
> Method Automatic (DHCP) Addresses only
>
> I'm wondering if the difference between those two is that one means that
> the DHCP is to assign IPs to devices connecting AND (some other stuff);
> while the other means to assign IPs w/o 'the other stuff' and where
> maybe the other stuff means such as the IP addresses of DNS servers
> which are provided by/in the DHCP protocol.
>
> I haven't yet been able to resolve this difference yet in my searching
> and overview of such as man networkmanager.
It is plain simple.
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".
--
Cheers,
Carlos E.R.
[toc] | [prev] | [next] | [standalone]
| From | Mike Easter <MikeE@ster.invalid> |
|---|---|
| Date | 2019-05-02 08:09 -0700 |
| Message-ID | <gj0fhsF11eU1@mid.individual.net> |
| In reply to | #55979 |
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. 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 -- Mike Easter
[toc] | [prev] | [next] | [standalone]
| From | Mike Easter <MikeE@ster.invalid> |
|---|---|
| Date | 2019-05-02 08:32 -0700 |
| Message-ID | <gj0gt6Fb71U1@mid.individual.net> |
| In reply to | #55980 |
Mike Easter wrote: > 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 In case anyone is wondering if that is a 'legit' DNS, there's a long story behind the relationships of such as earthlink and its /many/ IPs including mindspring, as well as those of roadrunner and its many IPs named <region>.rr.com. EL is still around, RR via timewarner went spectrum/charter. But there are a great many networks and backbones which carry the earthlink or mindspring or X.rr.com names. The above DNS is named ns1.earthlink.net, but EL isn't who I pay for my connectivity. -- Mike Easter
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E. R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-05-02 20:19 +0200 |
| Message-ID | <gj0qmcF2br6U3@mid.individual.net> |
| In reply to | #55981 |
On 02/05/2019 17.32, Mike Easter wrote:
> Mike Easter wrote:
>> 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
>
> In case anyone is wondering if that is a 'legit' DNS, there's a long
> story behind the relationships of such as earthlink and its /many/ IPs
> including mindspring, as well as those of roadrunner and its many IPs
> named <region>.rr.com.
Just don't do that. The command is wrong. It does not verify your
installation, it only verifies that *external* DNS 207.69.188.185 does
not work.
--
Cheers,
Carlos E.R.
[toc] | [prev] | [next] | [standalone]
| From | Mike Easter <MikeE@ster.invalid> |
|---|---|
| Date | 2019-05-02 11:36 -0700 |
| Message-ID | <gj0rkjF2jpvU3@mid.individual.net> |
| In reply to | #55990 |
Carlos E. R. wrote: > It does not verify your installation, it only verifies that*external* > DNS 207.69.188.185 does not work. I understand. That is what I was trying to demonstrate. -- Mike Easter
[toc] | [prev] | [next] | [standalone]
| From | Mike Easter <MikeE@ster.invalid> |
|---|---|
| Date | 2019-05-02 10:46 -0700 |
| Message-ID | <gj0omvF211mU1@mid.individual.net> |
| In reply to | #55980 |
Mike Easter wrote: > 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 This is because of my systemd v. $ systemctl --version systemd 237 <snip> stackexchange: > Use resolvectl status (systemd-resolve --status when using systemd version earlier than 239) to show your global and per-link DNS settings. -- Mike Easter
[toc] | [prev] | [next] | [standalone]
| From | Mike Easter <MikeE@ster.invalid> |
|---|---|
| Date | 2019-05-02 11:07 -0700 |
| Message-ID | <gj0puiF2951U1@mid.individual.net> |
| In reply to | #55983 |
Mike Easter wrote: > stackexchange: >> Use resolvectl status (systemd-resolve --status when using systemd >> version earlier than 239) to show your global and per-link DNS settings. However, on a live freshly booted and non-configured Fedora 30, which is running systemd 241, both commands failed "Failed to get global data. Could not activate remote peer." while its networkmanager did show 3 DNS, the 2 googles (surely obtained from the router, as I did not configure them) and 192.168.1.1, and those values are the ones seen in etc/resolv.conf and the search local domainname line. So, in the Fedora case, 'somehow' the resolv.conf got the google DNSes, but did NOT get the provider DNSes. I don't understand that. -- Mike Easter
[toc] | [prev] | [next] | [standalone]
Page 1 of 5 [1] 2 3 4 5 Next page →
Back to top | Article view | alt.os.linux
csiph-web