AWS Route53里使用Godady注册的域名

AWS的Route53是可以注册域名的,但是如果在外部注册的域名怎么在Route53里使用呢,这里使用外网的DNS服务的Godaddy注册域名,并在AWS的Route53里使用。 注册域名并下载Zonefile 在Godaddy里注册域名xionghuilin.club,并在管理域名里下载Zonefile, 自动下载并命名为xionghuilin.club.txt 在Route53里创建hosted zone 在Route53里创建hosted zone,会自动生成SOA和NS,如下: 在Godaddy中添加新生成的NS 以下四条NS需要添加到Godaddy中,xionghuilin.club的name server如下: ns-727.awsdns-26.net. ns-1182.awsdns-19.org. ns-1565.awsdns-03.co.uk. ns-211.awsdns-26.com. 这里在Godaddy里添加name server的时候要去掉最后的点,不然输入会不成功。 结果如下: 创建两个EC2实例 使用以下启动脚本在新加坡创建一个EC2的实例,public IP是18.141.25.16 #!/bin/bash yum update -y yum install httpd -y service httpd start chkconfig httpd on cd /var/www/html echo “<html><h1>Hello Xiong! This is the Singapore Web Server</h1></html>” > index.html 使用以下启动脚本在South America (São Paulo)创建另一个EC2的实例,public IP是52.67.73.251 #!/bin/bash yum […]

FreeIPA安装后Named service无法启动 – RHEL6.5

在RHEL6.5的环境下,安装FreeIPA后Named service无法启动。错误如下: Configuring DNS (named) [1/9]: adding DNS container [2/9]: setting up our zone [3/9]: setting up reverse zone [4/9]: setting up our own record [5/9]: setting up kerberos principal [6/9]: setting up named.conf [7/9]: restarting named named service failed to start [8/9]: configuring named to start on boot [9/9]: changing resolv.conf to point to […]