Problem: when your programs try to resolve a name, glibc caches the contents of /etc/resolv.conf, which may be still empty by the time when /etc/rc.local is run. Wget process is restarted and has a chance to read a valid /etc/resolv.conf with nameservers inside, while your Perl script just runs and doesn't know that resolv.conf was overwritten with valid nameservers.
Solutions:
In reply to Re: Systemd Network Problem
by Anonymous Monk
in thread Systemd Network Problem
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |