DNS设置 可以分割ip吗?

发布于 2024-12-22 11:02:41 字数 1399 浏览 3 评论 0原文

情况是这样的......现在,有一个正在托管的网站(DNS 已经设置等)自从设置它以来,我们实际上已经将其构建出来了。在尝试上线的过程中,我们意识到该服务器上运行的 PHP 版本低于我们需要的版本。此外,还有一些必需的 PEAR 包在开发中,但不在生产中。在找到负责处理所有这些的人之前,我们想要做的就是在开发 IP 地址上托管网站。但是,我们不希望邮件或类似内容被重定向。我不知道该怎么做。这只是针对 IT 部门缺失的糟糕情况的快速修复。是的。整个部门。缺少...

这是当前区域文件的样子(名称和 IP 已更改以保护无辜者...)我们希望该站点指向 11.111.11.111(让我们假装这是一个真实的 IP...)

RANDOMAWESOMESITE.COM.  3600    IN  SOA NS57.SOMEKINDOFDOMAINSERVICE.COM.   dns.abcdefghijkl.net (
                2011121401
                28800
                7200
                604800
                3600
                )

; A Records
@   3600    IN  A   99.999.999.999

; CNAME Records
mail    3600    IN  CNAME   ABC.google.com
www 3600    IN  CNAME   @
mobilemail  3600    IN  CNAME   something.somethingsilly.net
pda 3600    IN  CNAME   something.somethingsilly.net
email   3600    IN  CNAME   email.somethingsilly.net
imap    3600    IN  CNAME   imap.somethingsilly.net
pop 3600    IN  CNAME   pop.somethingsilly.net
smtp    3600    IN  CNAME   smtp.somethingsilly.net
ftp 3600    IN  CNAME   @
webmail 3600    IN  CNAME   webmail.somethingsilly.net
e   3600    IN  CNAME   email.somethingsilly.net

; MX Records
@   3600    IN  MX  0   smtp.somethingsilly.net
@   3600    IN  MX  10  mailstore1.somethingsilly.net

; NS Records
@   3600    IN  NS  ns57.SOMEKINDOFDOMAINSERVICE.com
@   3600    IN  NS  ns58.SOMEKINDOFDOMAINSERVICE.com

Here's the situation... Right now, there's a site that's being hosted (DNS is already setup, etc.) Since setting it up, we've actually built it out. During the process of trying to push it live, we realized that there's the version of PHP that's running on that server is lower than what we need. Additionally, there's some required PEAR packages that are on dev, but not on production. What we want to do, until we can locate the guy that's responsible for handing all of this, is host just the website at the dev ip address. But, we don't want the mail or anything like to be redirected. I don't know how to do this. This is just a quick fix for a crappy situation that involves a missing IT department. Yes. The whole department. Missing...

Here's what the current zone file looks like (names and ips have been changed to protect the innocent...) We want the site to point to 11.111.11.111 (let's just pretend that's a real IP...)

RANDOMAWESOMESITE.COM.  3600    IN  SOA NS57.SOMEKINDOFDOMAINSERVICE.COM.   dns.abcdefghijkl.net (
                2011121401
                28800
                7200
                604800
                3600
                )

; A Records
@   3600    IN  A   99.999.999.999

; CNAME Records
mail    3600    IN  CNAME   ABC.google.com
www 3600    IN  CNAME   @
mobilemail  3600    IN  CNAME   something.somethingsilly.net
pda 3600    IN  CNAME   something.somethingsilly.net
email   3600    IN  CNAME   email.somethingsilly.net
imap    3600    IN  CNAME   imap.somethingsilly.net
pop 3600    IN  CNAME   pop.somethingsilly.net
smtp    3600    IN  CNAME   smtp.somethingsilly.net
ftp 3600    IN  CNAME   @
webmail 3600    IN  CNAME   webmail.somethingsilly.net
e   3600    IN  CNAME   email.somethingsilly.net

; MX Records
@   3600    IN  MX  0   smtp.somethingsilly.net
@   3600    IN  MX  10  mailstore1.somethingsilly.net

; NS Records
@   3600    IN  NS  ns57.SOMEKINDOFDOMAINSERVICE.com
@   3600    IN  NS  ns58.SOMEKINDOFDOMAINSERVICE.com

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

忘东忘西忘不掉你 2024-12-29 11:02:41

要修复 www.randomwebsite.com 更改:

www 3600 CNAME @

to

www 3600    IN A 11.111.11.111

如果您也需要 randomwebsite.com 也能正常工作,您需要进行更改

@ 3600 99.999.999.999

不要

@   3600  IN A 11.111.11.111

忘记更新序列号

2011121401

截至此发布日期,您希望它是

2011122001

To just fix www.randomwebsite.com Change:

www 3600 IN CNAME @

to

www 3600    IN A 11.111.11.111

If you need randomwebsite.com to work as well you'll need to change

@ 3600 IN A 99.999.999.999

to

@   3600  IN A 11.111.11.111

Don't forget to update the serial number as well

2011121401

as of this post date you would want that to be

2011122001
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文