Date: Sun, 07 May 2000 20:02:03 +0200 From: Len Conrad <lconrad@Go2France.com> To: Martin <Martin.Zibert1@guest.arnes.si> Cc: newbies@freebsd.org Subject: Re: primary and secondary nameserver Message-ID: <4.3.1.2.20000507194808.00c2aab0@mail.Go2France.com> In-Reply-To: <3913155E.9B6915D3@guest.arnes.si>
next in thread | previous in thread | raw e-mail | index | archive | help
>I don't know what that means, but lets say that's ok. BTW: what's that
>"." for ?
unixspeak for "root", the root of the DNS is the ?.root-servers.net listed
in the db.cache file.
>That, there is localhost
> zone "0.0.127.IN-ADDR.ARPA" {
> type master;
> file "localhost.rev";
> };
The cricket book sets the conventions for file names for BIND8, imo: The
database files look like:
db.127.0.0
>.. this probably isn't right (i think so). I should remove
>"0.0.127.IN-ADDR.ARPA" and replace it with "207.x.194.IN-ADDR.ARPA"
>right ?
Go buy the cricket book. You can find it here:
http://BIND8NT.MEIway.com
I have sample config files on the download page. They work for BIND on any OS.
zone "mydomain.com" {
>type master;
>..than what ?..
keep going ... ; NOTIFY yes; allow-transfer { ip.ad.re.ss;};
where that is the ip of the ISP's slave DNS.
>should it be just like localhost or what ? If i am
>picturing this correctly, for primary ns there should be just a line for
>domain name, another line for type and another one for file
it's only cosmetic because I edit my config files with Allaire homesite,
but I put a zone statement on one line. If you're editing on a 80-col
terminal, do otherwise.
>where every
>pointer, "A", "MX" is ?
whoa, go buy the cricket book. Those types of records go in the zone file
db.domain.com
>mydomain.com. IN SOA ns.mydomain.com
$TTL 86400
$ORIGIN domain.com.
@ IN SOA ns.mydomain.com ns-admin.mydomai.com ( numbers )
>..and..
>
>mydomain.com. IN NS ns.mydomain.com.
>mydomain.com. IN NS ns.myispdomain.com.
>
>..is this right ??
@ IN NS ns.mydomain.com.
@ IN NS ns.myispdomain.com.
> I want to have primary ns, but my ISP will have
>secondary.. so is this configured right ?
you're not far off, but go buy the cricket book. chirp chirp
>And for later on.. i should define the ip of myispdomain.com right ?
no, your ns isn' authoritative for his domain.
>OK that would be all. Thanks to all of you who will help me.. I really
>don't know how to set up this things..
visit my site, it's got plenty of info, buy the cricket book, then you'll
be a DNS guru.
check the links out on my resources page, and join the BIND users list.
Your English is fine. But your DNS isn't, yet!! vbg
Len
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.1.2.20000507194808.00c2aab0>
