[svlug] BIND9 on EC2
sdubois at linux.com
Thu Nov 27 16:10:14 PST 2014
I'm setting up BIND9 on an EC2 instance and this is my first run at
building a DNS server.
My FQDN host has the following options:
I want to change this to:
ns2.default-setting.com (as fallback)
my zone file looks like this:
ubuntu at ip-172-31-2-0:/etc/bind$ cat db.sldubois.org
; BIND data file for sldubois.org interface
@ IN SOA ns1.sldubois.org. sdubois.linux.com. (
007 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
IN A 188.8.131.52
@ IN NS ns1.sldubois.org.
@ IN A 184.108.40.206 ; IP for Apache instance
;@ IN AAAA ::1 ; No IPv6 provided
ns1 IN A 220.127.116.11 ; IP for Apache instance
Do I need to specify ns2.default-setting.com in my zone file under
Do I really need to create a slave to my master DNS or can I just use
the slave assigned by my host?
Searching on Google is giving me all kinds of answers that go all over
the board and many do not cover setting up on EC2 as they prefer to have
people use their Route 53 DNS service. This is fine and good but doesn't
help in learning to set up DNS.
The following are the references I've been using:
Scott DuBois BSIT
More information about the svlug