It is happening because your nameserver information has been removed from the machine.
do the following
to make the file immutable
chattr -i /etc/resolv.conf
vi /etc/resolv.conf
nameserver yournameserverip
save the changes and exit. Now you should be able to run linux commands to access outside of AWS
do the following
to make the file immutable
chattr -i /etc/resolv.conf
vi /etc/resolv.conf
nameserver yournameserverip
save the changes and exit. Now you should be able to run linux commands to access outside of AWS
No comments:
Post a Comment