Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Domain dashboard prints nameservers derived from the request host

オープン 初心者向け
#338 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
77/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
backend

調査の方向性

domains/views.py の DomainDetailView.get_context_data を読み、表示されるネームサーバーを verify_nameserver_delegation および RELAY_DNS_NS_NAMESERVERS と比較します。Issue では不一致とその影響が説明されています。ダッシュボードに設定済みのネームサーバーが表示され、手順が検証チェックと一致すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug side quest

The domain dashboard prints nameservers derived from the request host. The nameserver check compares against the configured list, so the page and the check can disagree.

Found during the review of codingjoe-simplify-domain-dns-setup (commits b2193e39, ede5014c).

side quest: delegation NS records shown to operators are derived from the request Host header (ns1.<Host>) instead of RELAY_DNS_NS_NAMESERVERS, so a spoofed/aliased Host yields wrong NS values to publish. [domains/views.py:65]

DomainDetailView.get_context_data renders ns1.<request host> and ns2.<request host>. verify_nameserver_delegation compares against RELAY_DNS_NS_NAMESERVERS. On a deployment where those differ, the dashboard tells the operator to publish nameservers that the check will reject. The verify click then fails with no explanation of the mismatch.

Using the configured nameservers for display keeps the instructions and the check in step.

主要言語
Python
スター
4
フォーク
0
平均マージ
2時間 40分
マージ済み PR(30日)
163

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

codingjoe/relay のほかの issue

codingjoe/relay の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。