大网数据广告活动
服务器运维问答

Change DNS records and point to my AWS instance

· 52CE 我爱测

I'm taking over a project and I cannot access the original Amazon AWS account, which has a route53 configuration of DNS nameservers and A records configurations. I'm fairly new to networking but I was wondering if i can redirect …

问题原文

原帖链接 · somejkuser · CC BY-SA 4.0

I'm taking over a project and I cannot access the original Amazon AWS account, which has a route53 configuration of DNS nameservers and A records configurations. I'm fairly new to networking but I was wondering if i can redirect the dns configurations to my instance? Maybe I'm wrong but I feel like if I change the nameservers to point to my instance I can set the remaining A records configurations on my instance and the result will point to mine.

已采纳解答

原帖链接 · MisterSmith · CC BY-SA 4.0

If you have access to your domain registrar (ie any domain registrar except aws) you can update dns to point to other nameservers and then setup your dns as required on your new dns.

Before you do that ensure you backup any dns entries you might need for email, web, verification codes in txt records etc (including each subdomain). As you don't have access to backup dns you can fake it by using dig to return any known existing records: https://www.digwebinterface.com/?hostnames=example.com%0D%0Awww.example.com&type=ANY&ns=resolver&useresolver=8.8.4.4 Ignore the NS and SOA values, you will be assigned new ones when you setup the dns zone elsewhere.

I'd advise against hosting your dns on your server but your thinking is correct. Use aws route53, setup a new zone in your own aws account , this will provide you with a hosted zone containg your new name server NS and a "start of authority" SOA record. Create whatever dns records you require in your copy, then in your domain control panel enter the nameservers from above. Depending on the TTL of existing dns entries/It will take some time for everyone to start using the new dns (dig above shows TTL of each record) but it should be pretty strait forward. Good luck!

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2019-01-05)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。