took note of default gw issue, see TODO and fixed kresd.conf

This commit is contained in:
Thomas von Dein 2024-11-24 18:46:09 +01:00
parent b6bc036930
commit b0073ee96a
2 changed files with 5 additions and 1 deletions

View File

@ -40,3 +40,7 @@ nullfs into jail
- kresd.conf => listen on ::
- add ::1 to host resolv.conf
- add default gw to jail resolv.conf
## Network
{{ ansible_default_ipv6.interface }} sometimes resolves to the link local ip, not the inet6 one, which results in a wrong (or none) default route and resolve.conf inside the jail.

View File

@ -1,7 +1,7 @@
-- Network interface configuration
net.listen('127.0.0.1', 53, { kind = 'dns' })
net.listen('127.0.0.1', 853, { kind = 'tls' })
net.listen('::1', 53, { kind = 'dns', freebind = true })
net.listen('::', 53, { kind = 'dns', freebind = true })
net.listen('::1', 853, { kind = 'tls', freebind = true })
-- Load useful modules