(This issue led me to the issue I found yesterday but I’m still having this issue while the other issue with nsswitch.conf seems to be fixed.)
I have a wordpress site with a plugin that runs a fetch request. It has worked without issue for a while, but it is not something I check often. I am getting a cURL error 6, which leads me to dns resolution. I then ssh in to my ApisCP and get this: (nslookup using local resolver fails, but dig works.)
[root@cpanel ~]# nslookup brickhouseofwashington.com
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
*** Can’t find brickhouseofwashington.com: No answer
[root@cpanel ~]# dig @1.0.0.1 brickhouseofwashington.com
; <<>> DiG 9.11.36-RedHat-9.11.36-16.el8_10.4 <<>> @1.0.0.1 brickhouseofwashington.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54079
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;brickhouseofwashington.com. IN A
;; ANSWER SECTION:
brickhouseofwashington.com. 1799 IN A 108.224.190.154
;; Query time: 21 msec
;; SERVER: 1.0.0.1#53(1.0.0.1)
;; WHEN: Thu May 29 07:25:26 EDT 2025
;; MSG SIZE rcvd: 71
[root@cpanel ~]#
[root@cpanel ~]# nmcli connection show
NAME UUID TYPE DEVICE
ens18 eee5d605-0789-4d10-bc5b-3793d8d6ccb6 ethernet ens18
ens19 f294338d-9b9c-4821-b6bf-19b2455f2e5a ethernet –
[root@cpanel ~]# resolvectl status
Global
LLMNR setting: yes
MulticastDNS setting: yes
DNSOverTLS setting: no
DNSSEC setting: allow-downgrade
DNSSEC supported: yes
Current DNS Server: 1.0.0.1
DNS Servers: 1.0.0.1
1.1.1.1
Fallback DNS Servers: 9.9.9.9
DNS Domain: ~.
DNSSEC NTA: in-addr.arpa
ip6.arpa
Link 2 (ens18)
Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
LLMNR setting: yes
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: allow-downgrade
DNSSEC supported: yes
Current DNS Server: 8.8.8.8
DNS Servers: 8.8.8.8
1.1.1.1
2600:1700:8461:b310::1
[root@cpanel ~]#
Any ideas on this one? TYIA!