How it started
LXC container running alpine linux cannot resolve ip address when running ping. On the other hand drill resolved ip succesfully but nslookup exits with error
** server can't find metube.szajowski.dev: NXDOMAINThere used to be an issue but it was resolved long time ago.
It turned out that my dns server that is hosted by mikrotik router had a bug that was resolved just recently :)
Used troubleshooting
nslookup metube.szajowski.devdrill metube.szajowski.devtouch /etc/.pve-ignore.resolv.confto prevent proxmox from overriding file on boot upcat /etc/pve/lxc/106.confto review what are default options of container- hardcode dns in
/etc/resolv.conf - set
options ndots:1in/etc/resolv.conf tcpdump -v -i eth0 port 53to check how domain is resolvedping -4 metube.szajowski.devpinged successfully- added
AAAADNS record on mikrotik which actually ressolved issue
In the end simple upgrade of router did the trick