Search notes:

/etc/resolv.conf

/etc/resolv.conf is the resolver configuration file. It's used to access the DNS (domain name service).
The following simple example content specifies the nameserver to be 8.8.8.8:
nameserver 8.8.8.8
At least in Ubuntu, /etc/resolv.conf is not used anymore, unless its »manually« implemented.
In WSL, /etc/resolv.conf is a symbolic link to a file with the same name under /mnt/wsl.

See also

The shell command host

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Linux/fh...', 1758209701, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Linux/fhs/etc/resolv_conf(46): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78