{
  "id": "networking/mdns-response-mismatch",
  "signature": "mDNS: Response from 192.168.1.50:5353 does not match query for _http._tcp.local, ignoring",
  "signature_zh": "mDNS：来自192.168.1.50:5353的响应与对_http._tcp.local的查询不匹配，已忽略",
  "regex": "mDNS: Response from \\S+ does not match query for \\S+, ignoring",
  "domain": "networking",
  "category": "protocol_error",
  "subcategory": null,
  "root_cause": "A multicast DNS responder sent a response that does not correspond to the query's question section, often due to a misconfigured service advertisement or a buggy mDNS implementation that replies with unrelated records, causing the client to discard the response.",
  "root_cause_type": "generic",
  "root_cause_zh": "多播DNS响应者发送的响应与查询的问题部分不匹配，通常是由于服务广告配置错误或有缺陷的mDNS实现回复了无关记录，导致客户端丢弃该响应。",
  "versions": [
    {
      "version": "Avahi 0.8",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "systemd-resolved 252",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Bonjour (macOS Ventura)",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Clearing the local mDNS cache using systemd-resolved or Avahi commands.",
      "why_fails": "The cache is not the issue; the problem is the responder sending mismatched responses. Flushing cache only removes local entries, not the faulty responder behavior.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "Adjusting TTL on mDNS records to reduce query frequency.",
      "why_fails": "Does not address the mismatch in response; the responder will still send incorrect replies regardless of TTL.",
      "fail_rate": 0.85,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "tcpdump -i eth0 port 5353 -X | grep -A5 'mDNS'",
      "success_rate": 0.8,
      "how": "tcpdump -i eth0 port 5353 -X | grep -A5 'mDNS'",
      "condition": "",
      "sources": []
    },
    {
      "action": "iptables -A INPUT -s 192.168.1.50 -p udp --dport 5353 -j DROP",
      "success_rate": 0.7,
      "how": "iptables -A INPUT -s 192.168.1.50 -p udp --dport 5353 -j DROP",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "tcpdump -i eth0 port 5353 -X | grep -A5 'mDNS'",
    "iptables -A INPUT -s 192.168.1.50 -p udp --dport 5353 -j DROP"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://avahi.org/wiki/AvahiConfiguration",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.8,
  "fix_success_rate": 0.75,
  "resolvable": "partial",
  "first_seen": "2024-06-22",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}