[SOLVED] DNS Lookup Failure on static IP, OK with DHCP assigned IP #743
-
Describe the issue ✗ DNS Lookup Failure
What can I check? Screenshots Bug reports will be closed after 12 hours of NO activity. |
Beta Was this translation helpful? Give feedback.
Replies: 15 comments 4 replies
-
You have DNS issues. |
Beta Was this translation helpful? Give feedback.
-
I can ping, what else can i check and how? |
Beta Was this translation helpful? Give feedback.
-
Was one of the LXC's you installed a DNS app? (Pi-Hole, AdGaurd, ect...) This is what the script uses to try and resolve
You can copy & paste this in the Proxmox Shell to see is it's resolving example:
|
Beta Was this translation helpful? Give feedback.
-
Yes, it seems to work from the shell root@domotica:~# RESOLVEDIP=$(nslookup "github.com" | awk -F':' '/^Address: / { matched = 1 } matched { print $2}' | xargs) |
Beta Was this translation helpful? Give feedback.
-
Ok, then the IP issued from the DHCP server to the LXC has DNS issues. https://itsnotdns.itwasdns.net/ |
Beta Was this translation helpful? Give feedback.
-
it seems that if I choose dhcp during installation all is ok.
|
Beta Was this translation helpful? Give feedback.
-
Internet check is ok? |
Beta Was this translation helpful? Give feedback.
-
yes
|
Beta Was this translation helpful? Give feedback.
-
Anyway, beings this is a network issue on your end, I'm moving it to discussions. edit: also change title |
Beta Was this translation helpful? Give feedback.
-
I'm not a network guy, but one would think that a DHCP assigned IP or a static IP on the same router should end with the same results 🤷🏻♂️ |
Beta Was this translation helpful? Give feedback.
-
I'm not a network guy either, but since the dns lookup script you sent me is working outside the main script, why is it a problem from my end? a workaround that will surely work is to create it with dhcp and then change it manually from the LXC definition |
Beta Was this translation helpful? Give feedback.
-
strangely, really strangely, I found that I have this is Proxmox DNS search domain: tail6a356.ts.net but I'm sure I've never done this change ok for DNS addresses, I know what to write, but what should I put in Search domain? Again, really strange, and really strange that I have in both Proxmox servers |
Beta Was this translation helpful? Give feedback.
-
ok, all is working now. Thanks, now I will close the thread, solved by my mistake |
Beta Was this translation helpful? Give feedback.
-
Ops, I understood that Tailscale is the one that changed that parameters. |
Beta Was this translation helpful? Give feedback.
-
If you're using Tailscale directly on the proxmox device, run this command: This will remove the "magic DNS". |
Beta Was this translation helpful? Give feedback.
strangely, really strangely, I found that I have this is Proxmox DNS
search domain: tail6a356.ts.net
DSN address1: 100.100.100.100
but I'm sure I've never done this change
ok for DNS addresses, I know what to write, but what should I put in Search domain?
Again, really strange, and really strange that I have in both Proxmox servers