Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #55947

Re: DNS

From William Unruh <unruh@invalid.ca>
Newsgroups alt.os.linux
Subject Re: DNS
Date 2019-05-01 00:08 +0000
Organization A noiseless patient Spider
Message-ID <qaao2q$ikn$1@dont-email.me> (permalink)
References <girqdoFu4ctU1@mid.individual.net> <girs7vFufstU1@mid.individual.net> <girst4F4v4U1@mid.individual.net>

Show all headers | View raw


On 2019-04-30, Mike Easter <MikeE@ster.invalid> 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.

No it is not, unless you explicitly are running some DNS software which
tells your system to ask outside itself. Otherwise all it can do is to
look at /etc/resolv.conf and ask for the IP of that name, and it says,
"ask yourslf". 

>
>> 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.

No idea what you mean. 
If DHCP asks for a server, it places it into /etc/resolv.conf, and you
say that the only thing in /etc/resolv.conf is 
nameserver 127.0.0.53

Once the system is set up, dhcp has stopped running. It has done what it
needs to do-- put the line into /etc/resolv.conf telling your system
where to go for answers. And you say that that it is told to "Go &^*
yourself" 

>
>>> 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.

No, you told nslookup explicitly to go ask 8.8.8.8 for the answer. Your
/etc/resolv.conf explcityly tells your computer to ask itself for the
answer. 

>
>> 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.

All DHCP does is to put an address into /etc/resolv.conf. Nothing else.
It is long gone by the time the question is asked, and the only trace it
was ever there is that your computer has an IP address, has a set of
routes to get packets out, and has an address in /etc/resolv.conf to aks
about resolving addresses. Nothing else. 

>
>
>

Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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