If they aren't already installed, you can try installing dig or nslookup.
dig linux.org
nslookup getfedora.org
The output of these, can help troubleshoot your DNS.
You can see what nameservers you are using, if they are actually resolving and if they
are forwarding the correct IPs.
~> dig linux.org
; <<>> DiG 9.18.11 <<>> linux.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40268
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;linux.org. IN A
;; ANSWER SECTION:
linux.org. 60 IN A 172.67.148.63
linux.org. 60 IN A 104.21.33.190
;; Query time: 1 msec
;; SERVER: 127.0.0.53#53(127.0.0.53) (UDP)
;; WHEN: Thu Feb 02 13:05:22 CST 2023
;; MSG SIZE rcvd: 70
~> _____________________________________________
~>
~> nslookup getfedora.org
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
Name: getfedora.org
Address: 38.145.60.21
Name: getfedora.org
Address: 8.43.85.67
Name: getfedora.org
Address: 152.19.134.142
Name: getfedora.org
Address: 209.132.190.2
Name: getfedora.org
Address: 34.221.3.152
Name: getfedora.org
Address: 38.145.60.20
Name: getfedora.org
Address: 8.43.85.73
Name: getfedora.org
Address: 152.19.134.198
Name: getfedora.org
Address: 140.211.169.196
Name: getfedora.org
Address: 67.219.144.68
Name: getfedora.org
Address: 2620:52:3:1:dead:beef:cafe:fed7
Name: getfedora.org
Address: 2600:2701:4000:5211:dead:beef:fe:fed3
Name: getfedora.org
Address: 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189
Name: getfedora.org
Address: 2605:bc80:3010:600:dead:beef:cafe:fed9
Name: getfedora.org
Address: 2604:1580:fe00:0:dead:beef:cafe:fed1
Name: getfedora.org
Address: 2620:52:3:1:dead:beef:cafe:fed6
~>