Answer the question
In order to leave comments, you need to log in
How to make ns server in php to create hosting?
Do not think that I am going to do hosting. Not at all, it's just easier to explain what I need.
Let's say there is a site ns.example.com, on port 80 there is a php script that performs the function of an NS server. The site does not have its own IP, it is hosted by itself, and the domain is linked by NS.
If it's not possible on port 80 or without IP - just say so, but I need a NS server script in PHP
Answer the question
In order to leave comments, you need to log in
Formulate the task in a human way and do not try to extract your tonsils through the neighbor's anus ...
How to make ns server in php to create hosting?
What? O_o
Well, okay. First, figure out how to make php accept udp requests and respond to them via udp (however, you also need to use tcp if the client could not come via udp). Then come back for the RFC list.
To begin with, you need to basicly understand how an autoritative DNS usually works (what tasks it performs) and, in general, the DNS system and why it is needed.
Judging by your question, you do not understand this. And to write a program without understanding what tasks it will perform, to put it mildly, is ridiculous.
PS Yes, the IP is needed and the port is not 80 but 53
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question