D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] DNS



Quick question about DNS:

I want to add a subdomain in a separate zone.  What do I need to do?

So far I have:

File db.foo.org:

$ORIGIN foo.org.
$TTL 6h
;
@                       IN      SOA     ns.foo.org. postmaster.foo.org. (
                                2001072401      ; serial
                                1h              ; refresh
                                30m             ; retry
                                7d              ; expiration
                                1h )            ; minimum

                        IN      NS      ns.foo.org.
subdomain.foo.org.      IN      NS      ns.foo.org.

<usual crap>

----

File db.subdomain.foo.org:
$ORIGIN subdomain.foo.org.
$TTL 6h
;
@                       IN      SOA     ns.foo.org. postmaster.foo.org. (
                                2001072401      ; serial
                                1h              ; refresh
                                30m             ; retry
                                7d              ; expiration
                                1h )            ; minimum
;
                        IN      NS      ns.foo.org.

wop                     IN      A       192.168.1.1


While this seems to work I want to make sure I'm delegating correctly.  Have
I missed anything out?

Cheers,
J.

PS - apologies if you get this twice...

--
Jon Still                               E-mail: jon@xxxxxxxxxxx
System Administrator                    Web:    http://www.tertial.org/
tertial.org                             Tel:    +44 (0)7977 066087

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly