resolv.conf no such file or directory


Question: How to solve this error "ERROR: for pihole  Cannot restart container da0fe182667dd43cfad1082ad40e55bba606da1aa55d03e68802f2fdc9598630: driver failed programming external connectivity on endpoint pihole (5088293d8b6f17f7ba9efb5a00d7e156de0fd7f98b49beee580e95ea9e960bc2): Error starting userland proxy: listen tcp4 0.0.0.0:53: bind: address already in use"


 


Login to See the Rest of the Answer

Answer: sudo systemctl stop systemd-resolved.service #to stop the dns that is local to the Server
then disable it by issuing the command below:

sudo systemctl disable systemd-resolved.service

2. Then edit the resolve.conf file to point to another dns resolver like 8.8.8.8
   sudo nano /etc/resolv.conf

nameserver 8.8.8.8
options YourValueWillDiffer
search YourValueWillDiffer


Troubleshooting Errors
"DataTables warning: table id=messagesTable - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1"

Error 2: Unable to open /etc/resolv.conf, you may find that if the entry into the resolv.conf are wrong, the file will be gone, and you won't be able to access it from the /etc/ folder. This is because the resolv.conf is just a semi-link and will be created when you enable the services disabled above again.




Servers
published
v.0.01





For peering opportunity Autonomouse System Number: AS401345 Custom Software Development at ErnesTech Email AddressContact: [email protected]