Change Primary DNS  [Solved]

Message
Author
User avatar
smilliken
Posts: 207
Joined: Tue Feb 06, 2007 10:47 pm

Re: Change Primary DNS

#11 Post by smilliken »

I played around for bit with this. I wondered if it had to do with my Wi-Fi card, so I tried a Live_USB drive and everything worked as it should. So, I reinstalled the OS and it is working now. I just need to install some packages that were on it before and I'll be back in business.

Thanks foro you help.
Last edited by smilliken on Wed Aug 23, 2023 11:17 pm, edited 1 time in total.
There is no "Ctrl+Z" in life!
Asus X570, Rysen 3600, 32 GB RAM MX-21
Acer 7551G MX-21 & Win 10
Asus i5, 16 GB RAM MX-21 & Win 10
Brother DCP-7065DN/HL-L3270CDW
Linux User# 4523410

User avatar
CharlesV
Global Moderator
Posts: 7095
Joined: Sun Jul 07, 2019 5:11 pm

Re: Change Primary DNS

#12 Post by CharlesV »

Your welcome and glad you have found a fix. Please mark as solved. (Check mark at the top of the post that was the resolution.)
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

gabbawokky
Posts: 5
Joined: Fri Jun 09, 2023 7:39 am

Re: Change Primary DNS

#13 Post by gabbawokky »

Erm..noob question: Shouldn't everyone change the standard ISP dns server to a 'free' dns server ?
Found myself some time ago this opennic project and use those dns server since.
www.opennic.org

User avatar
CharlesV
Global Moderator
Posts: 7095
Joined: Sun Jul 07, 2019 5:11 pm

Re: Change Primary DNS

#14 Post by CharlesV »

gabbawokky wrote: Fri Jun 09, 2023 5:11 pm Erm..noob question: Shouldn't everyone change the standard ISP dns server to a 'free' dns server ?
Found myself some time ago this opennic project and use those dns server since.
www.opennic.org
I would agree with this. There are some places that it is difficult to do, however using something like cloudflare (1.1.1.1) or Opendns ( 208.67.222.222 ) and a few others have their benefits.

Also, depending up on your ISP.. some are notorious for raking dns, some sell dns requests, and some have the worst DNS services in history! So, your ride can very widely depending upon which ISP you have.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
smilliken
Posts: 207
Joined: Tue Feb 06, 2007 10:47 pm

Re: Change Primary DNS

#15 Post by smilliken »

Ok, so the mystery primary DNS has changed again.
Any other ideas?
There is no "Ctrl+Z" in life!
Asus X570, Rysen 3600, 32 GB RAM MX-21
Acer 7551G MX-21 & Win 10
Asus i5, 16 GB RAM MX-21 & Win 10
Brother DCP-7065DN/HL-L3270CDW
Linux User# 4523410

User avatar
CharlesV
Global Moderator
Posts: 7095
Joined: Sun Jul 07, 2019 5:11 pm

Re: Change Primary DNS

#16 Post by CharlesV »

If you re getting your DNS from spectrum, then they can change it at any time.

If you dont want to use their DNS, then you need to set it specifically in your Advanced Network Configuration
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
smilliken
Posts: 207
Joined: Tue Feb 06, 2007 10:47 pm

Re: Change Primary DNS

#17 Post by smilliken »

CharlesV wrote: Wed Aug 23, 2023 11:46 pm If you re getting your DNS from spectrum, then they can change it at any time.

If you dont want to use their DNS, then you need to set it specifically in your Advanced Network Configuration
No, not spectrum.

This is the Primary DNS which should show the IP address of my router, which it doesn't. This IP should be provide by the router not the ISP. All of my other device show the Primary DNS as my router's IP. And the problem computer is not the only Debian Linux based computers connected to the network. Also, the Mac show the proper IP.
There is no "Ctrl+Z" in life!
Asus X570, Rysen 3600, 32 GB RAM MX-21
Acer 7551G MX-21 & Win 10
Asus i5, 16 GB RAM MX-21 & Win 10
Brother DCP-7065DN/HL-L3270CDW
Linux User# 4523410

User avatar
CharlesV
Global Moderator
Posts: 7095
Joined: Sun Jul 07, 2019 5:11 pm

Re: Change Primary DNS

#18 Post by CharlesV »

You can force a primary DNS in the network connections.

Right click on your network icon in the taskbar, then choose the proper network connection and double click it.
Go to the IPV4 settings tab.

In the field Additional DNS Servers, put in the one you want and then click save.

Disconnect your network connection and then reconnect again.

if you then look in the /etc/resolve.conf or /run/NetworkManager/resolv.conf you should see the DNS entry you put in... first in the list.

There are MANY applications that can change the dns, and also secondary dhcp services on the network which can wreak havoc. If your machine is the only one having this issue, then chances are its software on your machine.

And I would suggest that you attempt to track down the incorrect DNS and see where it is going - this may hold a clue as to what software is changing it.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
smilliken
Posts: 207
Joined: Tue Feb 06, 2007 10:47 pm

Re: Change Primary DNS

#19 Post by smilliken »

CharlesV wrote: Thu Aug 24, 2023 8:19 pm You can force a primary DNS in the network connections.

Right click on your network icon in the taskbar, then choose the proper network connection and double click it.
Go to the IPV4 settings tab.

In the field Additional DNS Servers, put in the one you want and then click save.

Disconnect your network connection and then reconnect again.

if you then look in the /etc/resolve.conf or /run/NetworkManager/resolv.conf you should see the DNS entry you put in... first in the list.

There are MANY applications that can change the dns, and also secondary dhcp services on the network which can wreak havoc. If your machine is the only one having this issue, then chances are its software on your machine.

And I would suggest that you attempt to track down the incorrect DNS and see where it is going - this may hold a clue as to what software is changing it.
Thanks again CharlesV. I doesn't seem to make much difference adding the Primary DNS IP. As you can see from the images, it is the Default Route that is the problem and it adds the Primary DNS.
20230824_191938.png
20230824_192017.jpg
You do not have the required permissions to view the files attached to this post.
There is no "Ctrl+Z" in life!
Asus X570, Rysen 3600, 32 GB RAM MX-21
Acer 7551G MX-21 & Win 10
Asus i5, 16 GB RAM MX-21 & Win 10
Brother DCP-7065DN/HL-L3270CDW
Linux User# 4523410

User avatar
CharlesV
Global Moderator
Posts: 7095
Joined: Sun Jul 07, 2019 5:11 pm

Re: Change Primary DNS

#20 Post by CharlesV »

And you did DNS for your wireless connection right? and you disconnected it and reconnected it ?

its not JUST DNS... your entire route is wrong if your router is truly .254, then you have something else dictating on your dhcp on your network or machine.

Have you tracked down what that .62 address device is? It could very well be delivering dhcp and your getting caught in it.

You may want to set a static IP for you, complete with router / gateway, DNS and your IP .
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

Post Reply

Return to “Hardware /Configuration”