Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.linux > #55979
| From | "Carlos E. R." <robin_listas@es.invalid> |
|---|---|
| Newsgroups | alt.os.linux |
| Subject | Re: DNS |
| Date | 2019-05-02 11:59 +0200 |
| Message-ID | <givtcqFqktaU1@mid.individual.net> (permalink) |
| References | (2 earlier) <girst4F4v4U1@mid.individual.net> <girtt7Fb2lU1@mid.individual.net> <giruv9Fib2U1@mid.individual.net> <giugeuFhfioU2@mid.individual.net> <giuiddFht4mU1@mid.individual.net> |
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.
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