ladybird/Base/etc
Sergey Bugaev 373d135e74 LookupServer: Implement a DNS server :^)
LookupServer can now itself server as a DNS server! To service DNS clients, it
uses the exact same lookup logic as it does for LibIPC clients. Namely, it will
synthesize records for data from /etc/hosts on its own (you can use this to
configure host names for your domain!), and forward other questions to
configured upstream DNS servers. On top of that, it implements its own caching,
so once a DNS resource record has been obtained from an upstream server,
LookupServer will cache it locally for faster future lookups.

The DNS server part of LookupServer is disabled by default, because it requires
you to run it as root (for it to bind to the port 53) and on boot, and we don't
want either by default. If you want to try it, modify SystemServer.ini like so:

[LookupServer]
Socket=/tmp/portal/lookup
SocketPermissions=666
Priority=low
KeepAlive=1
User=root
BootModes=text,graphical

and enable server mode in LookupServer.ini like so:

[DNS]
Nameservers=...
EnableServer=1

If in the future we implement socket takeover for IP sockets, these limitations
may be lifted.
2021-02-15 09:14:42 +01:00
..
WindowServer WindowServer: Put default ScaleFactor in ini file 2021-01-17 08:06:12 +01:00
ca_certs.ini Base: Add Amazon's intermediate root certificate (Server CA 1B) 2020-12-30 13:31:55 +01:00
FileIconProvider.ini Base: Remove *.hsp files 2020-12-10 20:43:19 +01:00
fstab Base: Make /www read-write by default 2021-02-03 21:23:15 +01:00
group SymbolServer: Add symbolication service for out-of-process ELF parsing 2021-02-04 23:19:08 +01:00
hosts LookupServer: Load hostnames 2019-06-07 08:35:41 +02:00
LookupServer.ini LookupServer: Implement a DNS server :^) 2021-02-15 09:14:42 +01:00
motd Meta: Update project copyright dates (2018-2021) :^) 2021-01-01 01:14:16 +01:00
passwd SymbolServer: Add symbolication service for out-of-process ELF parsing 2021-02-04 23:19:08 +01:00
protocols Base files: Add protocols file 2020-04-18 10:11:55 +02:00
services Everywhere: Fix more typos 2020-10-03 12:36:49 +02:00
shadow Base: Add root to the /etc/shadow file 2021-01-21 11:35:32 +01:00
shellrc DevTools: Remove VisualBuilder and FormCompiler 2020-10-01 21:07:12 +02:00
SystemServer.ini SymbolServer: Add symbolication service for out-of-process ELF parsing 2021-02-04 23:19:08 +01:00