Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to configure dns sub-levels on aws without Route53?
    primarykey
    data
    text
    <p>I have an EC2 instance (Amazon AMI) on AWS and I have a purchased a domaine name on Gandi.net. Let's imagine my domain name is "teaorcoffee.com".</p> <p>On Gandi, I have set up a sub-domain name "dev" to delegate DNS to my EC2 instance. Here is the configuration in the zone file on Gandi :</p> <blockquote> <p>dev 10800 IN NS ec2-22-222-222-22.eu-west-1.compute.amazonaws.com.</p> </blockquote> <p>I would like to configure sub-domain of "dev.teaorcoffee.com" on my EC2 instance, like "sql.dev.teaorcoffee.com".</p> <p>I am trying to do that with :</p> <ul> <li>the "bind" util</li> <li>the file "named.conf.local" wich is included in the file "named.conf"</li> <li>and a "dev.teaorcoffee.com" zone file</li> </ul> <p>but without success.</p> <p>Here is the "named.conf.local" file :</p> <blockquote> <p>zone "dev.teaorcoffee.com" IN { type master; file "/var/named/dev.teaorcoffee.com"; allow-update { none; }; };</p> </blockquote> <p>Here is the "dev.teaorcoffee.com" zone file :</p> <blockquote> <p>$TTL 60 @ IN SOA master.dev.teaorcoffee.com. support.teaorcoffee.com. ( 2013030300 60 60 60 38400 ) dev.teaorcoffee.com. IN NS master master.dev.teaorcoffee.com. IN A 127.0.0.1 sql IN CNAME master</p> </blockquote> <p>I can restart the dns without any error with the command :</p> <blockquote> <p>sudo /etc/init.d/named restart</p> </blockquote> <p>But when I am trying to do a nslookup on "dev.teaorcoffee.com" and its sub-domain, I get the following error :</p> <blockquote> <p>nslookup dev.teaorcoffee.com Server: 127.0.0.1 Address: 127.0.0.1#53</p> <p><em>*</em> Can't find dev.teaorcoffee.com: No answer</p> </blockquote> <p>What can I change to make it work ?</p> <p>Thanks in advance for any help.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload