Newbie to this list and name-servers: Bind 8.xx with DSL at home?

Thor Kottelin thor at anta.net
Sun Jun 25 18:48:32 UTC 2000



arish wrote:

> I'm planning to host my website at home and I have little
> basic knowledge about how domains, name-servers, and the
> internet work. I'm running Linux(kernel 2.2.14) with
> bind 8.xx and direct DSL. As a begginer, I just need to
> host one personal website and get mail through this domain's MX. I also
> need to use one of those free remote secondary
> name-servers or I will ask my ISP to do so. My question is:
> is this possible provided that I have 1 or 2 machines?

I'm not familiar with Linux kernels, but as far as everything else you
mention is concerned, I'd say yes.

> what data should I put for a primary DNS, one MX, and one web site in
> the files I created under /var/named/ which's the directory used by
> /etc/named.conf? Suppose the site name is: www.arish.org and the static
> IP is 12.345.678.90.

For the sake of syntactic correctness, let's assume the address is
192.168.0.1 instead. Let's also assume that your secondary name server is
ns.example.net. Your zone file might look like the following:

$ORIGIN arish.org.
$TTL	4D
@	SOA	www	arish.uswest.net.	(
			2000062501 8H 2H 7D 1D	)
	NS	www
	NS	ns.example.net.
	MX	10	www
www	A	192.168.0.1

For a more verbose explanation, please see
<URL:http://www.ripe.net/ripe/docs/ripe-192.html>.

Thor

-- 
Plain old email is very insecure. Please make it
a little safer for yourself and me by using PGP.
FAQ: <URL:http://www.pgp.net/pgpnet/pgp-faq/>.
My public keys are available from key servers.



More information about the bind-users mailing list