This message was deleted.
# rke2
a
This message was deleted.
m
corefile content
Copy code
.:53 {
    errors 
    health  {
        lameduck 5s
    }
    ready 
    kubernetes   cluster.local  cluster.local in-addr.arpa ip6.arpa {
        pods insecure
        fallthrough in-addr.arpa ip6.arpa
        ttl 30
    }
    prometheus   0.0.0.0:9153
    forward . /etc/resolv.conf
    cache   30
    loop 
    reload 
    loadbalance 
}
resolv.conf
Copy code
nameserver 127.0.0.53
search default.svc.cluster.local svc.cluster.local
nameserver 8.8.8.8
nameserver 8.8.4.4
options edns0 trust-ad
Looking for inputs to resolve
a
what ’s
echo $https_proxy $HTTPS_PROXY
?
m
by default its a empty line printed
set proxy environment variables manually and tried, still facing issue.
Copy code
/ # export https_proxy="http://<proxyserver>:3128"
/ # export HTTP_PROXY="http://<proxyserver>:3128"
/ # export HTTPs_PROXY="http://<proxyserver>:3128"
/ # export HTTPS_PROXY="http://<proxyserver>:3128"
/ # HTTPS_PROXY="http://<proxyserver>:3128"
/ # HTTP_PROXY="http://<proxyserver>:3128"
/ # https_proxy="http://<proxyserver>:3128"
/ # https_proxy="http://<proxyserver>:3128"
/ # http_proxy="http://<proxyserver>:3128"
/ #
/ #
/ # nslookup  <http://google.com|google.com>
Server:    10.43.0.10
Address 1: 10.43.0.10 rke2-coredns-rke2-coredns.kube-system.svc.cluster.local

nslookup: can't resolve '<http://google.com|google.com>'
a
what about
CONTAINERD_HTTPS_PROXY
?
m
Copy code
/ # printenv
KUBERNETES_SERVICE_PORT=443
KUBERNETES_PORT=<tcp://10.43.0.1:443>
HOSTNAME=test-pod1
SHLVL=1
HOME=/root
TERM=xterm
KUBERNETES_PORT_443_TCP_ADDR=10.43.0.1
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
KUBERNETES_PORT_443_TCP_PORT=443
KUBERNETES_PORT_443_TCP_PROTO=tcp
KUBERNETES_SERVICE_PORT_HTTPS=443
KUBERNETES_PORT_443_TCP=<tcp://10.43.0.1:443>
KUBERNETES_SERVICE_HOST=10.43.0.1
all the nodes are set with following variables but not
CONTAINERD
prefix variables.
Copy code
HTTP_PROXY=<http://your-proxy.example.com:8888>
HTTPS_PROXY=<http://your-proxy.example.com:8888>
NO_PROXY=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16