DNS

محاكاة استجابة 10 NOTZONE

Name not contained in zone. A name used in the Prerequisite or Update section is not within the zone denoted by the Zone section.

عرض المرجع الكامل →

1 استجابة HTTP

استجابة HTTP
HTTP/1.1 10 NOTZONE
Content-Type: application/json
Date: Tue, 25 Feb 2026 12:00:00 GMT

2 اختبار باستخدام curl

terminal
curl -i https://httpbin.org/status/10

3 إرجاع 10 NOTZONE في إطار العمل الخاص بك

django
from django.http import HttpResponse


def my_view(request):
    return HttpResponse(status=10)  # NOTZONE
flask
from flask import Flask

app = Flask(__name__)


@app.route("/endpoint")
def my_endpoint():
    return "", 10  # NOTZONE
fastapi
from fastapi import FastAPI
from fastapi.responses import Response

app = FastAPI()


@app.get("/endpoint")
def my_endpoint():
    return Response(status_code=10)  # NOTZONE
express.js
// Express.js
app.get('/endpoint', (req, res) => {
  res.sendStatus(10); // NOTZONE
});
spring boot
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;

@RestController
public class MyController {

    @GetMapping("/endpoint")
    public ResponseEntity<Void> myEndpoint() {
        return ResponseEntity
            .status(10) // NOTZONE
            .build();
    }
}
go net/http
package main

import "net/http"

func myHandler(w http.ResponseWriter, r *http.Request) {
    w.WriteHeader(10) // NOTZONE
}
ruby on rails
class MyController < ApplicationController
  def my_action
    head :notzone
  end
end
asp.net core
// ASP.NET Core Minimal API
app.MapGet("/endpoint", () =>
    Results.StatusCode(10) // NOTZONE
);

المزيد من صفحات محاكاة DNS