CoreDNS // External Queries from Pods #345
-
Hi all, recently installed a k3s stack using the playbook, and it seemed to be working fine - but any external routing breaks - simple queries like curling a page, or pinging a page breaks. I noticed when I remove the ndots option, or the search line in /etc/resolv.conf within a pod, the queries + pinging of websites seem to work. Any thoughts? These are Ubuntu 20.04.6 LTS VM's running on proxmox. Here is the the resolv.conf:
Attempting in a broken state.
I edit the resolv.conf to not use ndots, and the result then becomes:
I'll continue to look, but any help would be appreciated, thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
I'm assuming your request are appending the search domain (although you didn't post that part) If you have a search domain set on your dhcp scope, remove it. |
Beta Was this translation helpful? Give feedback.
-
How would I double check the appending of the search domains? I should have been more clear, that's what the ndots option is doing. Re: DHCP Scope, I haven't really touched any of it - my router handles the DHCP element - for some internal DNS, my 1st route within the router is a pihole instance that has a couple of internal A records, with secondary as 1.1.1. in-case the pi-hole instance goes down it doesn't break DNS. Is search domain being set on the DHCP scope a default setting usually? Thanks a ton for the response - I'm digging into it now, as well. Have a great Sunday! |
Beta Was this translation helpful? Give feedback.
-
Yep. I added some logging to the CoreDNS Yaml.
Recognized this because Flux won't install properly. |
Beta Was this translation helpful? Give feedback.
-
Can anyone explain why having the extra search domain is causing these problems? |
Beta Was this translation helpful? Give feedback.
I'm assuming your request are appending the search domain (although you didn't post that part) If you have a search domain set on your dhcp scope, remove it.