On Mon, Mar 06, 2000 at 09:57:41AM +0200, Clive Crous wrote:
> back to the subject in question ....
> 
> anyway, this weekend after I got it installed and the network (which I've
> been trying to get working for a month ) working I hit a problem.
> I'm simply trying to get as many daemons running as possible, just to teach
> myself, but I cannot for the life of me figure out the DNS sever at all
> yes, I have gone through the HOWTO, but can someone give me an english
> translation ? *sheeeesh* is there not a mini-dns HOWTO for thos of us not so
> technically informed about TCP/IP & networking ?
        hmm...
        you can grab a sample set of bind 8 config files at:
        http://nwonknu.org/bind-config.tgz

        you can start the daemon with:
        /usr/sbin/named
        and make it re-read configuration with:
        kill -HUP `pidof named`
        and make it stop with:
        kill -TERM `pidof named`

        basically all you need to fill in on the config files,
        is is named.conf, look for the part w/forwarders and fill
        yours in. 

        If you want to serve a domain, make an entry in named.conf
        that looks like this:

        zone "my.domain.name"{
                type master;
                notify no;
                file "/etc/bind/my.domain.name.db";
        };

        and then a file /etc/bind/my.domain.name.db

        ;zone file for my.domain.name 

        @       IN      SOA     thismachine.my.domain.name me.my.email.address (
                        199910042       ; seria    for email address, if you
                        8H      ;refresh        are [EMAIL PROTECTED], put
                        2H      ;retr           foo.bar.com     
                        1W      ;expire
                        1D )    ;minimum
                NS      thismachine.my.domain.name.  ;notice . at end
                MX      10 wheremailgoes.my.domain.name  ;primary mail
                ;
                thismachine     A       192.168.1.23
                thatmachine     A       10.12.17.243
                wheremailgoes   A       12.42.5.12


        so every domain needs a NS record(nameserver) and MX record(mail)
        and then you can make class A records that map machine names
        to IP addresses.



hope this helps,

greg
-- 
this is not here

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to