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


Groups > linux.debian.user > #197604

Re: Sid still getting retired DNS entry

From Kent West <westk@acu.edu>
Newsgroups linux.debian.user
Subject Re: Sid still getting retired DNS entry
Date 2018-07-13 20:40 +0200
Message-ID <wbb90-7UN-3@gated-at.bofh.it> (permalink)
References (1 earlier) <wb9gS-6Js-11@gated-at.bofh.it> <wb9Ad-6QO-7@gated-at.bofh.it> <wb9JU-79U-3@gated-at.bofh.it> <wb9JU-79U-5@gated-at.bofh.it> <wbacV-7ke-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, Jul 13, 2018 at 12:31 PM, john doe <johndoe65534@mail.com> wrote:

> On 7/13/2018 7:04 PM, Kent West wrote:
>
>> On Fri, Jul 13, 2018 at 12:00 PM, john doe <johndoe65534@mail.com> wrote:
>>
>> On 7/13/2018 6:50 PM, Kent West wrote:
>>>
>>> On Fri, Jul 13, 2018 at 11:36 AM, Greg Wooledge <wooledg@eeg.ccf.org>
>>>> wrote:
>>>>
>>>> On Fri, Jul 13, 2018 at 11:29:42AM -0500, Kent West wrote:
>>>>
>>>>>
>>>>> westk@westkent:~$ cat /etc/network/interfaces
>>>>>>
>>>>>> # This file describes the network interfaces available on your system
>>>>>>> # and how to activate them. For more information, see interfaces(5).
>>>>>>> source /etc/network/interfaces.d/*
>>>>>>> # The loopback network interface
>>>>>>> auto lo
>>>>>>> iface lo inet loopback
>>>>>>>
>>>>>>>
>>>>>> Well, if the interface isn't being configured in /e/n/i then either
>>>>> it's
>>>>> using NetworkManager or it's using systemd-networkd.  Or something that
>>>>> you set up by hand.
>>>>>
>>>>>
>>>>> westk@westkent:~$ ps as | grep NetworkManager
>>>>>
>>>>    1000 11085 0000000000000000 0000000000000000 0000000000000000
>>>> 0000000180000000 S+   pts/0      0:00 grep NetworkManager
>>>> westk@westkent:~$ ps as | grep systemd-networkd
>>>>    1000 11088 0000000000000000 0000000000000000 0000000000000000
>>>> 0000000180000000 S+   pts/0      0:00 grep systemd-networkd
>>>>
>>>>
>>>> 'systemd-resolved' will handle your DNS.
>>>
>>> Is /etc/resolv.conf a symlink (if yes, to where)?
>>>
>>>
>> westk@westkent:~$ ls -lah /etc/resolv.conf
>> lrwxrwxrwx 1 root root 31 Jul 13 11:22 /etc/resolv.conf ->
>> /run/NetworkManager/resolv.conf
>>
>>
>>
>> What is the output of:
>>>
>>> $ cat /etc/resolv.conf
>>>
>>>
>>>   westk@westkent:~$ cat /etc/resolv.conf
>> # Generated by NetworkManager
>> search acu.local
>> nameserver 150.252.131.127
>> nameserver 150.252.134.8
>> nameserver 150.252.134.159
>>
>> (this is after I manually removed the bad entry and replaced it with the
>> good)
>>
>>
>> Is there a way to test, from my client, what my ord's DHPC server is
>> giving
>> me for DNS entries, to double-check my network admin's findings?
>>
>>
> Possibly, but I don't know how NM works.
>
> Some hints:
>
> The best way is to be sure of what the dhcp server is dishing out assuming
> you can access it.
>
> If you are ready to get dirty and break your "system":
>
> 1)  Empty /etc/resolv.conf (clear the content of the file, that way, you
> don't remove the symlink)
>

I made a backup of the file, and then emptied /etc/resolv.conf, saving it
back as an empty file.



> 2)  Remove any configuration relative to DNS (/etc/network/interfaces ...)
>

I renamed /etc/network/interfaces.


> 3)  Restart NM
>

I ran /etc/init.d/network-manager stop
followed by /etc/init.d/network-manager start


> 4)  The file /etc/resolv.conf should be populated with the DNS given by
> your dhcp server
>

The /etc/resolv.conf is back to where it started, with the bad entry.

So, either my network admin is wrong about what his configuration is
feeding to my box, or there's something between his server and my
NetworkManager that is misconfigured.


>
> You might have some luck looking in the directory:
>
> /var/lib/dhcp
>
>
The only thing here is an empty dhclient.leases file.


> --
> John Doe
>
>


-- 
Kent West                    <")))><
Westing Peacefully - http://kentwest.blogspot.com

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Sid still getting retired DNS entry Kent West <westk@acu.edu> - 2018-07-13 18:40 +0200
  Re: Sid still getting retired DNS entry Greg Wooledge <wooledg@eeg.ccf.org> - 2018-07-13 18:40 +0200
    Re: Sid still getting retired DNS entry Curt <curty@free.fr> - 2018-07-13 19:00 +0200
    Re: Sid still getting retired DNS entry Greg Wooledge <wooledg@eeg.ccf.org> - 2018-07-13 19:00 +0200
    Re: Sid still getting retired DNS entry Kent West <westk@acu.edu> - 2018-07-13 19:00 +0200
      Re: Sid still getting retired DNS entry john doe <johndoe65534@mail.com> - 2018-07-13 19:10 +0200
        Re: Sid still getting retired DNS entry Kent West <westk@acu.edu> - 2018-07-13 19:10 +0200
          Re: Sid still getting retired DNS entry john doe <johndoe65534@mail.com> - 2018-07-13 19:40 +0200
            Re: Sid still getting retired DNS entry Kent West <westk@acu.edu> - 2018-07-13 20:40 +0200
              Re: Sid still getting retired DNS entry Greg Wooledge <wooledg@eeg.ccf.org> - 2018-07-13 20:50 +0200
                Re: Sid still getting retired DNS entry Kent West <westk@acu.edu> - 2018-07-13 21:10 +0200

csiph-web