OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
DNS for beginners?

From: Gary (vex555gmx.net)
Date: Sun Feb 01 2004 - 17:30:09 CST


Hi All,

Can anyone suggest any good docs covering setting up DNS on OpenBSD
please? I'm setting up a web/mail server for co-location and really this
is the only part holding me back.

I have the O'Reilly TCP/IP book (excellent) which goes into a lot of
detail - but my questions are probably to obvious to be covered in it.

Example - does the box need to be a master zone server set to a real
world domain name? I.e. lets say I own several domains domain1.com,
domain2.net, domain3.org etc, all of which have their own website.

If the box's hostname is 'fred' then does it need to be in one of the
real domains ie fred.domain1.com ? And if so - can domain1.com still
serve a website?

# uname -a
OpenBSD fred.domain1.com 3.4 GENERIC#0 i386

as above and if so would I then use ns.domain1.com as the nameserver for
all my domains?

Also alas I can't test this at home with my cable connection because my
domain registrars won't allow me to set an IP only nameserver for any of
my domain names.
TIA, Gary