Re: Playing with bind...

From: alex@dayak.com
Date: Sat Oct 28 2000 - 00:15:43 EDT


BTW: Since everyone is playing with Bind, I write a php bind class which
works pretty well. Easy to tie into opensrs.

sourceforce.net/projects/phpbind

Alex

Tom Savino writes:

> Here's how to do it in a nut shell it works because that is how I run my
> nameservers but I do have backup nameservers:
> ----------------------------------------
> named.conf file:
>
> zone "0.0.127.IN-ADDR.ARPA" {
> type master;
> file "localhost.rev";
> };
> ----------------------------------------
> localhost.rev file:
>
> $TTL 3600
>
> 0.0.127.in-addr.arpa. IN SOA ns1.yourdomain.com. you.youremail.com. (
> 20000710
> 28800
> 14400
> 3600000
> 86400 )
> 0.0.127.in-addr.arpa. IN NS ns1.yourdomain.com.
> 0.0.127.in-addr.arpa. IN NS ns2.yourdomain.com.
> 1.0.0.127.in-addr.arpa IN PTR localhost.
> -------------------------------------------------------------
> yourdomain.com file:
>
> $TTL 3600
>
> yourdomain.com. IN SOA yourdomain.com. you.yourdomain.com. (
> 963775636
> 10800
> 3600
> 604800
> 86400 )
>
> IN NS ns1.yourdomain.com.
> IN NS ns2.yourdomain.com.
> localhost.yourdomain.com. IN A 127.0.0.1
> yourdomain.com. IN A xxx.xxx.xxx.xxx
> ns1.yourdomain.com. IN A 213.35.173.246
> ns2.yourdomain.com. IN A 213.35.173.244
> mail.yourdomain.com. IN CNAME yourdomain.com.
> ftp.yourdomain.com. IN CNAME yourdomain.com.
> www.yourdomain.com. IN CNAME yourdomain.com.
> yourdomain.com. IN MX 10 mail.yourdomain.com.
> -------------------------------------------------------------
> resolv.conf file:
>
> search localdomain
> nameserver 213.35.173.246
> nameserver 213.35.173.244
> domain yourdomain.com
> -------------------------------------------------------------
> This is run on Redhat 6.1 bind 8.22p5
> -------------------------------------------------------------
>
> Tom Savino
> CEO
> 2Tone Web Design
> "The Only Limitation Is The Imagination"
> Phone: 727-343-4426
> Cell: 727-481-3180
> Fax: 815-550-7317
> http://www.2tonewebdesign.com
> http://www.2tonedomains.com
> ----- Original Message -----
> From: "Sergei Kolodka" <sergei@ukrname.com>
> To: <dev-list@opensrs.org>
> Sent: Friday, October 27, 2000 11:58 AM
> Subject: Playing with bind...
>
>
> > Hi guys
> >
> > Need smart advice. I'm trying to set two binds
> > at one host with ip aliasing. Just to register
> > both in Registry database.
> > I think that run two copies of bind with their own named.conf
> > it's easiest way, but have some questions.
> > Note, .246 it's normal ip, .244 - aliased.
> >
> > /etc/named.conf
> > options {
> > directory "/var/named";
> > listen-on { 213.35.173.246; 127.0.0.1; };
> > pid-file "named.pid";
> > };
> > ...
> >
> > /etc/named1.conf
> > options {
> > directory "/var/named";
> > listen-on { 213.35.173.244; };
> > pid-file "named1.pid";
> > };
> > ...
> >
> > It seems like it work.
> > Any problems with this configuration ?
> > Or maybe some tips how to do that better ?
> > If someone used this before, i'm interested in your experience.
> >
> > Regards
> > Sergei Kolodka
> > sergei@ukrname.com
> >
> >
> >
>

Alexey Zilber
DAYAK
Need to register or transfer a domain?
www.dayak.com charges only $15/year.
40 megs of hosting space? $10!



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:35:58 EDT