Answer the question
In order to leave comments, you need to log in
How to arrange DNS directing all URLs to one IP?
Hello, administration gurus and masters of raising servers from their knees!
You need your own "dns server" that will respond to all requests to a given address (for example, 127.0.0.1)
Is it possible to do this?
Answer the question
In order to leave comments, you need to log in
Here:
https://github.com/jimmykane/Roque-Dns-Server
just change a couple of lines and remove the extra
The Domain Name System is not responsible for the Uniform Resource Locator, only for domain name resolution. Therefore, there is only one answer to the question posed: not to organize in any way.
Reframe the question.
see the book - https://yadi.sk/i/-KWEiyeoo4FuD , p. 2.17 Mapping Any Domain Name in a Zone
to a Single IP Address.
And so the point is to add a line like:
*.foo.example in the zone description file. IN CNAME foo.example.
Such crap is done on twisted, for example, in 20 lines of code. Name-server 127.0.0.1 is written on the machine and the script with twisted is launched. And everything will resolve anywhere.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question