
getting this error while adding DNS entry in a file.
DNS Lab Q no.9

getting this error while adding DNS entry in a file.
DNS Lab Q no.9
Hi @kirancool
Not sure quite what you are trying to do with cat >> /etc/resolv.conf
If you answered Q6 then you should already have edited resolv.conf
You need to edit the file as root
sudo vi /etc/resolv.conf
and add the required entry.