jason fd7e5ac000 🐛 Fix resolv.conf: add search . and ndots:0 to block domain search 🐛
--domainname on the container sets the kernel domainname, which c-ares
uses to infer a search domain even when /etc/resolv.conf has no search
line. This caused c-ares to query github.com.casjay.work AAAA and get
the host's own IPv6 address, routing all outbound HTTPS to the local
nginx instead of the real server.
Adding 'search .' and 'options ndots:0' explicitly disables search
domain inference regardless of the kernel domainname setting.
- rootfs/usr/local/etc/resolv.conf: add search . and options ndots:0

rootfs/usr/local/etc/resolv.conf
2026-06-05 14:32:40 -04:00
2026-05-12 20:06:21 -04:00
🗃️ Updated domain names 🗃️
2023-08-10 19:55:00 -04:00
🦈🏠🐜 Initial Commit 🐜🦈🏠
2022-02-14 16:44:44 -05:00
🦈🏠🐜 Initial Commit 🐜🦈🏠
2022-02-14 16:44:44 -05:00
2026-05-12 20:06:21 -04:00
2026-05-12 20:06:21 -04:00
2026-05-12 20:06:21 -04:00
2026-05-12 20:06:21 -04:00
2023-01-08 11:19:47 -05:00
2026-05-12 20:06:21 -04:00
2025-09-05 13:35:31 -04:00
2026-05-12 20:06:21 -04:00
2026-05-12 20:06:21 -04:00

👋 Welcome to dictd 🚀

dictd README

Install my system scripts

 sudo bash -c "$(curl -q -LSsf "https://github.com/systemmgr/installer/raw/main/install.sh")"
 sudo systemmgr --config && sudo systemmgr install scripts  

Automatic install/update

dockermgr update dictd

Install and run container

dockerHome="/var/lib/srv/$USER/docker/casjaysdevdocker/dictd/dictd/latest/rootfs"
mkdir -p "/var/lib/srv/$USER/docker/dictd/rootfs"
git clone "https://github.com/dockermgr/dictd" "$HOME/.local/share/CasjaysDev/dockermgr/dictd"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/dictd/rootfs/." "$dockerHome/"
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-dictd-latest \
--hostname dictd \
-e TZ=${TIMEZONE:-America/New_York} \
-v "$dockerHome/data:/data:z" \
-v "$dockerHome/config:/config:z" \
-p 80:80 \
casjaysdevdocker/dictd:latest

via docker-compose

version: "2"
services:
  ProjectName:
    image: casjaysdevdocker/dictd
    container_name: casjaysdevdocker-dictd
    environment:
      - TZ=America/New_York
      - HOSTNAME=dictd
    volumes:
      - "/var/lib/srv/$USER/docker/casjaysdevdocker/dictd/dictd/latest/rootfs/data:/data:z"
      - "/var/lib/srv/$USER/docker/casjaysdevdocker/dictd/dictd/latest/rootfs/config:/config:z"
    ports:
      - 80:80
    restart: always

Get source files

dockermgr download src casjaysdevdocker/dictd

OR

git clone "https://github.com/casjaysdevdocker/dictd" "$HOME/Projects/github/casjaysdevdocker/dictd"

Build container

cd "$HOME/Projects/github/casjaysdevdocker/dictd"
buildx 

Authors

🤖 casjay: Github 🤖
casjaysdevdocker: Github Docker

S
Description
Docker build files for dictd
Readme 131 KiB
Languages
Shell 90.1%
Dockerfile 8.7%
M4 0.7%
Perl 0.5%