Skip to Main Content

Mihomo docker Configuration

Questions about local intranet IP domain names

Method 1:Restart systemd-resolved service (simplest)

# Ubuntu System
# of Service Restart (will empty all DNS cache)
sudo systemd-resold

# Certification Service Status
sudo systemctl status systemd-resolved

Method 2:uses resolvectl command (elegant)

# Clear all cache
sudo resolvectl flush-caches

# View cache statistics (confirm empty)
sudo resolvetl statistics

:magnifing_glass_tilted_left: Step 2:verify that domain name parses are updated

# 1. Use resolvectl query (bypassing local cache, direct upstream)
resolvel query mbp-fa.tx.iuin888vip.icu

# 4. Compare system parse results (may still be cached)
getent hosts mbp-fa.tx.iuin888vip.icu

2️⃣ Check domain TTL settings

# Actual TTL value
dig mbp-fa.tx.iuin888vip.icu +nomd +noall +answer

# Output Example:
# mbp-fa.tx. uin888vip.icu. 300 IN A 203.0.113. 0
# Up
# TTL=300 seconds (5 minutes)