Sandcat loadsintranet domains from search domains (eg. A, B) and when local DNS server is provided (eq. a.b.c.d) creates the following configuration:
# Auto-generated by wg-client-init.sh — do not edit.
no-resolv
no-hosts
listen-address=127.0.0.1
bind-interfaces
log-facility=-
cache-size=1000
domain-needed
bogus-priv
server=/A/127.0.0.11
server=/B/127.0.0.11
server=a.b.c.d
but this configuration can't resolve another containers. The forward to docker resolver is not necessary for search domains but for other containers. Resolution for search domains is done by provided custom DNS server. From mine point of view the configuration should be:
# Auto-generated by wg-client-init.sh — do not edit.
no-resolv
no-hosts
listen-address=127.0.0.1
bind-interfaces
log-facility=-
cache-size=1000
bogus-priv
server=//127.0.0.11
server=a.b.c.d
So unqualified names (other containers) are sent to docker and everything else (including intranet domains) goes standard way to provided DNS server.
Do not force including domains (domain-needed) because containers has unqualified names.
Everything has been mentioned and described (including path in #64) .
Sandcat loadsintranet domains from search domains (eg. A, B) and when local DNS server is provided (eq. a.b.c.d) creates the following configuration:
but this configuration can't resolve another containers. The forward to docker resolver is not necessary for search domains but for other containers. Resolution for search domains is done by provided custom DNS server. From mine point of view the configuration should be:
So unqualified names (other containers) are sent to docker and everything else (including intranet domains) goes standard way to provided DNS server.
Do not force including domains (
domain-needed) because containers has unqualified names.Everything has been mentioned and described (including path in #64) .