Files
nuc/.artifacts/2026-02-12_dns-traefik-entries.md
Alejandro Gutiérrez 1aa7ebcde3 Add AI gateway and WhatsApp integration artifacts (Feb 12-17)
OpenClaw setup, Arrio deployment, WhatsApp MCP server, DNS/Traefik
entries, communication style prompts (v1+v2), WhatsApp monitoring
system plan, and OpenClaw upgrade protection strategy.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 15:17:11 +01:00

2.0 KiB

DNS & Traefik Configuration - youtube.nuc.lan and business.nuc.lan

Date: 2026-02-12 Context: Added two new DNS entries on OpenWrt router and corresponding Traefik routes for youtube and business services.

Changes Made

1. OpenWrt Router DNS Entries

Added two new domain entries via UCI:

uci add dhcp domain
uci set dhcp.@domain[-1].name="youtube.nuc.lan"
uci set dhcp.@domain[-1].ip="192.168.1.3"

uci add dhcp domain
uci set dhcp.@domain[-1].name="business.nuc.lan"
uci set dhcp.@domain[-1].ip="192.168.1.3"

uci commit dhcp
/etc/init.d/dnsmasq restart

Verification:

ssh -i ~/.ssh/id_ed25519_nuc root@192.168.1.1 'uci show dhcp | grep -E "youtube|business"'
# Output:
# dhcp.@domain[26].name='youtube.nuc.lan'
# dhcp.@domain[27].name='business.nuc.lan'

2. Traefik Routes Added

Updated /traefik/dynamic/nuc-services.yaml on coolify-proxy with two new routers and services:

Router entries:

youtube:
  rule: Host(`youtube.nuc.lan`)
  entryPoints:
    - http
  service: youtube

business:
  rule: Host(`business.nuc.lan`)
  entryPoints:
    - http
  service: business

Service entries:

youtube:
  loadBalancer:
    servers:
      - url: http://host.docker.internal:7107

business:
  loadBalancer:
    servers:
      - url: http://host.docker.internal:7108

Verification Results

  • DNS Entry Check: Both entries exist in router config ✓
  • Traefik Route Test (youtube): Bad Gateway (502) - expected, no service running yet ✓
  • Traefik Route Test (business): Bad Gateway (502) - expected, no service running yet ✓

Access

Once services are deployed on ports 7107 and 7108:

  • http://youtube.nuc.lanhttp://host.docker.internal:7107
  • http://business.nuc.lanhttp://host.docker.internal:7108

Both work from LAN and Tailscale (via split DNS to router).

  • Traefik config: /data/coolify/proxy/dynamic/nuc-services.yaml
  • OpenWrt router: 192.168.1.1
  • Router SSH key: ~/.ssh/id_ed25519_nuc