Weird problem in DNS resolving - Only internal DNS server available

Artrix

New Member
Sep 28, 2020
2
0
1
26
Firstly, after a fresh setup of PVE 6.2-1, any DNS request are returned in "temporary failure in name resolution".
I assumed it could be some problem of the firewall, but after I disabled all of the firewall, nothing changed.

The phenomenon appears like, you can't get any return by pinging any domain except a "temporary failure in name resolution".
But weiredly, I'm sure that any connection only through IP address is unjammed, which means I can ping through any IP instead of their domain.

Another command proofed my test:
$ dig github.com
Returns with a good resolotion result with github.com's IP address.

Snipaste_2020-09-28_23-45-35.png

But when use the command
$ ping github.com
It still return a "temporary failure in name resolution".

I changed the DNS server to a local one which I set-up in my main PC, and more weiredly, it just works.

What is the reason of it? I was quite confused.
 
Hey,

this could be related to a wrong datetime, do you have ntp enabled? If timedatectl timesync-status complains about a missing .service file you can activate it with timedatectl set-ntp true.
 
Hey,

this could be related to a wrong datetime, do you have ntp enabled? If timedatectl timesync-status complains about a missing .service file you can activate it with timedatectl set-ntp true.
I tried the first command timedatectl timesync-status , it returns like that:
Snipaste_2020-09-29_23-02-45.png
Seems it is quite a good response?
And with trying the second command(set-ntp true), nothing changed.
 
What was the ip of the DNS server that was assigned automatically, the one that failed? Does it fail if you use some other external DNS server like
1.1.1.1 or 8.8.8.8?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!