Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] DNS Suddenly STOPPED! Stretch 9.5 updated regularly

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: DNS Suddenly STOPPED! Stretch 9.5 updated regularly

#16 Post by debiman »

w4kh wrote:It appears as though /lib/systemd/system/systemd-resolved.service is disabled
it is well possible that name resolution is achieved by different means.
but since you can't ping IPs directly either, this is not crucial atm.
i didn't think this through, just went by thread title...

i could throw in a few wild guesses, but i will wait what HoaS' line of enquiry brings up.

kevinthefixer
Posts: 190
Joined: 2018-05-05 22:30

Re: DNS Suddenly STOPPED! Stretch 9.5 updated regularly

#17 Post by kevinthefixer »

Not to interrupt the gurus, but the first thing I'd try is rebooting the hardware, all of it, with special attention given to the router if present. Amazing how often something that simple fixes major problems.

As an aside, I once had a user on an Android forum explain that he didn't think he had to go to "all the trouble" because he didn't think there was anything wrong with his router. After he'd asked for advice! Trouble rebooting a router? I recommend that be done at least monthly just as a routine maintenance item, it takes about 5 minutes, mostly waiting 2-3 minutes to be sure the RAM is voided!

User avatar
w4kh
Posts: 98
Joined: 2006-09-09 19:10
Location: Alabama, USA

Re: DNS Suddenly STOPPED! Stretch 9.5 updated regularly

#18 Post by w4kh »

Head_on_a_Stick wrote:
w4kh wrote:

Code: Select all

default via 192.168.1.254 dev eth0 onlink
Is that correct? Is your gateway at that address?
Yes. That is the correct Gateway address
Head_on_a_Stick wrote:Does the ethernet card work if you load up a Debian "live" image?
I am able to ping around the LAN, and connect through the eth0 ethernet card in both directions: that is, I can connect via FileZilla to another machine on the network, and I am connected to the NAS, to iSCSI drives, and, as well, other systems on the LAN can connect and move files to and from the Linux machine.
DNS isn't working
4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1
CPU: AMD FX(tm)-8350 Eight-Core Processor
RAM: 32GB (8x8GB) DDR3 DRAM
Video: GeForce 8400 GS to VIZIO E320VA Monitor

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: DNS Suddenly STOPPED! Stretch 9.5 updated regularly

#19 Post by Head_on_a_Stick »

Have you tried setting the gateway as the nameserver (via /etc/resolv.conf)?

What exactly is the nature of your set up: are you using an ISP-supplied router as the gateway device?

EDIT: please also post the output requested by @p.H
deadbang

User avatar
w4kh
Posts: 98
Joined: 2006-09-09 19:10
Location: Alabama, USA

[SOLVED]: DNS Suddenly STOPPED! Stretch 9.5 updated regularl

#20 Post by w4kh »

Head_on_a_Stick wrote:Have you tried setting the gateway as the nameserver (via /etc/resolv.conf)?
Network Manager seems to do that as a matter of course (with other nameserver lines after)
Head_on_a_Stick wrote:What exactly is the nature of your set up: are you using an ISP-supplied router as the gateway device?
No, I have an ARRIS Cable Modem and Linksys WRT3200ACM router instead...
The router was selected for its feature set, AND that it could be updated with ExpressVPN.

Therein was the problem. Apparently, early in the morning the system went sideways, ExpressVPN dumped its version into iptables.
Once I discovered that, I copied the iptables-save data into a separate file for potential reloading if that were NOT the issue. Then, I retrieved a backup of the previous iptable, reviewed the settings, and loaded it into the active iptable. That solved the problem.

Thank you very much, especially to Head on a Stick, p.H ... fixing iptables, which I had *NOT* changed myself, was the key. I really appreciate the help offered, and especially the new things I learned.

One last thing:
Head_on_a_Stick wrote:EDIT: please also post the output requested by @p.H
And here it is, with the good iptables...

Code: Select all

traceroute -n 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
 1  192.168.1.254  0.288 ms  0.262 ms  0.232 ms
 2  10.167.0.1  55.985 ms  55.998 ms  55.985 ms
 3  147.75.192.244  58.972 ms  58.994 ms  58.955 ms
 4  * * 147.75.98.20  73.530 ms
 5  198.16.4.86  59.829 ms 198.16.4.90  59.841 ms 198.16.4.88  57.163 ms
 6  198.32.160.130  58.749 ms  58.663 ms 206.130.10.41  59.045 ms
 7  108.170.248.65  58.621 ms  62.028 ms 108.170.248.1  63.342 ms
 8  108.170.235.179  61.988 ms 209.85.243.189  60.807 ms 108.170.238.199  59.718 ms
 9  8.8.8.8  59.592 ms  58.999 ms  59.027 ms
4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1
CPU: AMD FX(tm)-8350 Eight-Core Processor
RAM: 32GB (8x8GB) DDR3 DRAM
Video: GeForce 8400 GS to VIZIO E320VA Monitor

Post Reply