Very simple DNS server

后端 未结 4 1393
眼角桃花
眼角桃花 2021-02-08 15:35

I have a linux server has an ad-hoc wireless network for clients to connect to. Once connected I want users to always be redirected to it\'s own web server no matter what URL th

4条回答
  •  别跟我提以往
    2021-02-08 16:42

    Use Net::DNS::Nameserver and write your own reply handler.

    For C, look at:

    • How to Build a custom simple DNS server in C/C++
    • Create custom DNS name server in C

提交回复
热议问题