On my Linux boxes (Linux Mint), there is /etc/resolvconf/resolv.conf.d dir which has 3 files:  base, head, tail.

 

Put ‘nameserver 8.8.8.8’ into base (or tail) and it should always get added to resolv.conf every reboot.  (You might look at all 3 files, my favourite trick for this is:

 

more /etc/resolvconf/resolv.conf.d/*|less

 

and see what’s in them before you start.)

 

SMART_HRS_RGB

 

Rusty Carruth | Customer Support | rusty.carruth@smarth.com | http://www.smarth.com

 

      linkedin   twitterSee the new M4cid:image004.jpg@01D348E7.AF930710

 

See us on Storage Search    http://www.storagesearch.com/smart2.html

 

510-624-5391   | Fax: 480-926-5579   | 1325 N. Fiesta Blvd.  Suite 101 Gilbert, Az. 85233

 

This email message (and any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

 

From: PLUG-discuss [mailto:plug-discuss-bounces@lists.phxlinux.org] On Behalf Of Michael
Sent: Tuesday, November 07, 2017 4:31 AM
To: Main PLUG discussion list
Subject: Re: Network gurus

 

$ systemd-resolve --status

systemd-resolve: unrecognized option '--status'

$ systemd-resolve 

No arguments passed.

 

 

On Tue, Nov 7, 2017 at 6:27 AM, Michael <bmike1@gmail.com> wrote:

$ cat /etc/resolv.conf

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)

#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

# 127.0.0.53 is the systemd-resolved stub resolver.

# run "systemd-resolve --status" to see details about the actual nameservers.

 

$ echo "nameserver 8.8.8.8"|sudo tee /etc/resolv.conf;sudo systemctl restart network-manager.service

[sudo] password for bmike1: 

nameserver 8.8.8.8

$ cat /etc/resolv.conf

nameserver 8.8.8.8

 

 

On Mon, Nov 6, 2017 at 11:08 PM, Brien Dieterle <briend@gmail.com> wrote:

Probably because you are getting the dns servers from dhcp.  The best way to fix this I'd to fix the dns servers on your router.  Maybe restarting your router will solve the problem since you are probably using the dns server on the router.

 

What DNS server does it say you are using before you overwrite resolv.conf?

 

On Nov 6, 2017 8:50 PM, "Michael" <bmike1@gmail.com> wrote:

there is a small problem.... the DNS setting does not survive a reboot.

Should I put:

echo "nameserver 8.8.8.8"|sudo tee /etc/resolv.conf;sudo systemctl restart network-manager.service

in:

/etc/rc.local

or is there a better file to put it in? 

 

What are some other servers I might want to include? would I put:

echo "nameserver 8.8.8.8, <whatever>, Whatever>, <etc>"|sudo tee /etc/resolv.conf;sudo systemctl restart network-manager.service

 

 

On Mon, Nov 6, 2017 at 10:04 PM, Brien Dieterle <briend@gmail.com> wrote:

Maybe you get your servers from dhcp

 

On Nov 6, 2017 7:29 PM, "Michael" <bmike1@gmail.com> wrote:

how did my servers get messed up? any ideas?

 

On Mon, Nov 6, 2017 at 7:41 PM, Michael <bmike1@gmail.com> wrote:

how it was ultimate ly fixed:

 

CODE: SELECT ALL

echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf

 

CODE: SELECT ALL

systemctl restart network-manager.service

 

 

On Mon, Nov 6, 2017 at 6:52 PM, Michael <bmike1@gmail.com> wrote:

I found out it has to do with domain name resolution.

I can ping 8.8.8.8 but when I try to ping google.com it says

Temporary failure in name resolution.

 

On Mon, Nov 6, 2017 at 10:32 AM, Herminio Hernandez, Jr. <herminio.hernandezjr@gmail.com> wrote:

What do you mean connectivity? Do you have an IP address? Can you ping your default gateway? Post the output of these commands 

 

ip address

ip neighbor

ip route show

 

On Nov 6, 2017 3:35 AM, "Michael" <bmike1@gmail.com> wrote:

well, there is connectivity just no internet

 

On Mon, Nov 6, 2017 at 5:23 AM, Michael <bmike1@gmail.com> wrote:

the thinng about it is that the network connection is good. I even tried plugging a wireless dongle in to see if it was the card but the new network connection popped up on the screen but no connectivity.

 

On Sun, Nov 5, 2017 at 11:10 PM, Stephen Partington <cryptworks@gmail.com> wrote:

This sounds like it is in a loose slot or that you flex the mainboard when you open it up. Just reseat it much like the Graphics card.


---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss



 

--



 

--


---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss


---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss



 

--



 

--



 

--


---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

 


---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss



 

--


---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss


---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss



 

--



 

--