Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Domain dashboard prints nameservers derived from the request host

Đang mở Phù hợp với người mới
#338 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
77/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

Đọc domains/views.py tại DomainDetailView.get_context_data và so sánh các nameserver được hiển thị với verify_nameserver_delegation và RELAY_DNS_NS_NAMESERVERS. Issue mô tả sự không khớp và tác động của nó; được xem là hoàn thành khi dashboard hiển thị các nameserver đã cấu hình để hướng dẫn của nó khớp với bước kiểm tra xác minh.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
4
Fork
0
Merge trung bình
2 giờ 40 phút
Pull request đã merge (30 ngày)
163

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của codingjoe/relay

Tất cả issue của codingjoe/relay

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.