TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Mitigating DNS cache poisoning attacks for open source sites?

3 点作者 semi-nontechncl超过 7 年前
I&#x27;m wondering how a website that has open-sourced its front-end (and back-end) code can prevent DNS cache poisoning phishing attacks? Since the front-end of the website is open source, the attacker&#x27;s phishing site would look identical to the real site.<p>I was thinking the site owner could release a mobile app that checks the website&#x27;s ip address and displays a message saying the site is safe to use if the site&#x27;s ip address matches the ip address stored in the app. If the site&#x27;s ip address doesn&#x27;t match the ip address stored in the app, then the app would display a message saying the site is unsafe to use.<p>Is there a better solution?

1 comment

semi-nontechncl超过 7 年前
Setting up an external website to check the main website&#x27;s ip address doesn&#x27;t seem like a good option, b&#x2F;c the external website could also suffer a dns cache poison attack.