-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sorry to be pedantic, but there is one thing missing and one thing which
isn't clear...
Andy Smith wrote:
> After you've installed that, you will want to
add zone files for each
> of those zones, and add them to BIND's configuration. On
> Debian/Ubuntu you would probably put a file in /etc/bind for each,
> so maybe /etc/bind/db.simmo.gs and /etc/bind/db.goodwithwords.eu.
> Then in named.conf.local you would have a config stanza for each, a
> bit like:
>
> zone "simmo.gs" {
> type master;
> file "/etc/bind/db.simmo.gs";
> };
>
> Similar for goodwithwords.eu.
>
> Each of these zone files might be something like:
>
> $TTL 86400
> @ SOA ns.simmo.gs. hostmaster.simmo.gs. (
> 2010011101 ; Serial - YYYYMMDDXX
> 14400 ; Refresh (4hrs)
> 900 ; Retry (15 mins)
> 1209600 ; Expire (2 weeks)
> 3600) ; Minimum (1 hour)
>
> ; Useful doc for above SOA values:
> ;
http://www.ripe.net/ripe/docs/ripe-203.html
>
> NS ns.simmo.gs.
> NS
a.authns.bitfolk.com.
> NS
b.authns.bitfolk.com.
> NS
c.authns.bitfolk.com.
>
> MX 5 mail.simmo.gs.
>
> A 212.13.195.X
>
> ns A 212.13.195.X
> www CNAME simmo.gs.
mail A 212.13.195.X
Note that you have an MX record for the domain above with a priority of
5 which pointed at mail.simmo.gs, but you didn't have an A record which
said which IP mail.simmo.gs pointed at, until just now :)
> The "hostmaster.simmo.gs" part is an
email address (replace first .
> with @), so make it something that does or will work for contact
> purposes.
Replace the first . with an @ in your head, not in the file. It has to
be written
username.domain.com (ie hostmaster.simmo.gs) in the file,
even though in the real world it means hostmaster(a)simmo.gs. That email
address should accept mail and forward on to a real person (ie you).
Common practice is to use a hostmaster(a)domain.com (
hostmaster.domain.com
in the file) for your DNS stuff, it's the same principle as using
webmaster@ for websites and postmaster@ for mail etc.
Sorry to be pedantic as I said, I know Andy knows these things, I just
wanted to clarify for someone new to DNS, or at least BIND, because that
would have thrown me when I first started playing with BIND.
(Sorry to Andy who gets this twice because I'm an idiot).
Regards,
Adam Sweet
- --
http://blog.adamsweet.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iEYEARECAAYFAktLweEACgkQRi1ZcmvD37ctkwCdEgrD2XUe4frlKO7tHnLAw6dP
fPoAnjwDYOJbQLXebtPQtPa0eHCHfGu+
=KuYc
-----END PGP SIGNATURE-----