dougan4663 2015-07-27 11:06 采纳率: 0%
浏览 40

如何使用我自己的动态DNS脚本正确重定向

i wrote a relatively simple php script which is able to receive requests from routers to update the active IP from the ISP to a Mysql Table. The active IP is linked to a subdomain-name. I also have a Domain with wildcard subdomains, so that i can redirect via another script to the IP linked to that subdomain. My Domain points to my static IP and my Firewall forwards all requests to my Apache Server. This works fine as long as i only try to access the subdomain through my browser, then i get redirected to the IP from the Database entry. But as soon as i ping the subdomain i get only my static IP.

My Question now is what i have to do to really link the subdomain to the IP. Would i have to run my own nameservers, link them to my domain and then have a script edit the nameserver config so that i could get the ips from a ping on the subdomain ?

Any push into the right Direction is very much appreciated.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥50 易语言把MYSQL数据库中的数据添加至组合框
    • ¥20 求数据集和代码#有偿答复
    • ¥15 关于下拉菜单选项关联的问题
    • ¥20 java-OJ-健康体检
    • ¥15 rs485的上拉下拉,不会对a-b<-200mv有影响吗,就是接受时,对判断逻辑0有影响吗
    • ¥15 使用phpstudy在云服务器上搭建个人网站
    • ¥15 应该如何判断含间隙的曲柄摇杆机构,轴与轴承是否发生了碰撞?
    • ¥15 vue3+express部署到nginx
    • ¥20 搭建pt1000三线制高精度测温电路
    • ¥15 使用Jdk8自带的算法,和Jdk11自带的加密结果会一样吗,不一样的话有什么解决方案,Jdk不能升级的情况