Re: Where is linux.nf ?

2002-03-26 Thread Hafiz

Thanks Norbert and Matthew,

Yeah I forget to check the logs file. Suppose that the first thing I check
for errors.

BTW have you guys got any working domain named configuration? I need it as
my cross reference. For now dns1.powertrips.org can be resolved but its look
like for reverse lookup it doesnt work. Well I tested it on IRC, I dont know
the command to test it on linux system.

Once again thanks for all of your reply.

- Original Message -
From: "Matthew Carpenter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 27, 2002 12:01 AM
Subject: Re: Where is linux.nf ?


> powertrips.org. IN  NS  dns1.powertrips.org.
> www IN  A   powertrips.org.
> www IN  CNAME   powertrips.org.
> admin   IN  A   powertrips.org.
> mailIN  A   66.28.158.4
> @   IN  MX  10  66.28.158.4
>
>
>
> First off, why CNAME and A record for the same name?  Secondly, A records
> should resolve to NUMERIC addresses.  CNAMES resolve to other ALPHA
> records.  mail is a perfect example of and A record.  www is a good CNAME.
>
>
> Beyond that, what do your logs say when you start BIND?  You should find
> some very informative messages, and I think they're still in
> /var/log/messages (even is BSD?) HTH
>
> On Sat, 23 Mar 2002 05:25:33 +0100
> "Norbert Augenstein" <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> > take a look at:
> > www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/dns.html
> > again.
> > there is a warning, the forwarders entry in named.conf 127.0.0.1 will
> > not work. you should change this IP to a name server at your uplink.
> > I have never set up DNS so i cant help you.
> > maybe take a look at www.isc.org or ask [EMAIL PROTECTED]
> >
> > auge
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Saturday 23 March 2002 04:16, you wrote:
> > > I've forwarded this message from Hafiz as I don't have the time to
> > > help him out. Please COPY [EMAIL PROTECTED] on your replies.
> > > Thanks!
> > >
> > > --- begin forwarded msg ---
> > > I need your help on DNS. I have a dedicated servers currently hosted
> > > at New York. We have around 82 blocks of IP's assign to us and we
> > > decide to run a DNS server as well. Our domain is powertrips.org and I
> > > have register it at register.com.
> > >
> > > The problem is I try to setup a DNS server in it (Our server is
> > > running on FreeBSD 4.4-RELEASE) but is seems it cannot answer any
> > > query on www.powertrips.org, admin.powertrips.org and other subdomain
> > > I configure. Why ? But for DNS1.powertrips.org it works fine. Can you
> > > look into this ? Well I cant deny that Im a newbie in DNS thinggie.
> > >
> > > Attached here is the file configuration that I think you may need to
> > > look at if there is any mistake in it.
> > >
> > > Please advise. Hope to hear from you soon.
> > >
> > > Thank You.
> > ___
> > Linux-users mailing list -
> > http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe
> > info, Archives,and Digests are located at the above URL.
> ___
> Linux-users mailing list -
http://linux-sxs.org/mailman/listinfo/linux-users
> Subscribe/Unsubscribe info, Archives,and Digests are located at the above
URL.
>
>
>


___
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Where is linux.nf ?

2002-03-22 Thread Hafiz

I've forwarded this message from Hafiz as I don't have the time to help him 
out. Please COPY [EMAIL PROTECTED] on your replies. Thanks!

--- begin forwarded msg ---
I need your help on DNS. I have a dedicated servers currently hosted at New
 York. We have around 82 blocks of IP's assign to us and we decide to run a
 DNS server as well. Our domain is powertrips.org and I have register it at
 register.com.

The problem is I try to setup a DNS server in it (Our server is running on
 FreeBSD 4.4-RELEASE) but is seems it cannot answer any query on
 www.powertrips.org, admin.powertrips.org and other subdomain I configure.
 Why ? But for DNS1.powertrips.org it works fine. Can you look into this ?
 Well I cant deny that Im a newbie in DNS thinggie.

Attached here is the file configuration that I think you may need to look at
 if there is any mistake in it.

Please advise. Hope to hear from you soon.

Thank You.






FILE NAME : /etc/namedb/named.root
;   This file holds the information on root name servers needed to
;   initialize cache of Internet domain name servers
;   (e.g. reference this file in the "cache  .  "
;   configuration file of BIND domain name servers).
;
;   This file is made available by InterNIC registration services
;   under anonymous FTP as
;   file/domain/named.root
;   on server   FTP.RS.INTERNIC.NET
;   -OR- under Gopher atRS.INTERNIC.NET
;   under menu  InterNIC Registration Services (NSI)
;  submenu  InterNIC Registration Archives
;   filenamed.root
;
;   last update:Aug 22, 1997
;   related version of root zone:   1997082200
; $FreeBSD: src/etc/namedb/named.root,v 1.9 1999/09/13 17:09:08 peter Exp $
;
; formerly NS.INTERNIC.NET
;
.360  IN  NSA.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET.  360  A 198.41.0.4
;
; formerly NS1.ISI.EDU
;
.360  NSB.ROOT-SERVERS.NET.
B.ROOT-SERVERS.NET.  360  A 128.9.0.107
;
; formerly C.PSI.NET
;
.360  NSC.ROOT-SERVERS.NET.
C.ROOT-SERVERS.NET.  360  A 192.33.4.12
;
; formerly TERP.UMD.EDU
;
.360  NSD.ROOT-SERVERS.NET.
D.ROOT-SERVERS.NET.  360  A 128.8.10.90
;
; formerly NS.NASA.GOV
;
.360  NSE.ROOT-SERVERS.NET.
E.ROOT-SERVERS.NET.  360  A 192.203.230.10
;
; formerly NS.ISC.ORG
;
.360  NSF.ROOT-SERVERS.NET.
F.ROOT-SERVERS.NET.  360  A 192.5.5.241
;
; formerly NS.NIC.DDN.MIL
;
.360  NSG.ROOT-SERVERS.NET.
G.ROOT-SERVERS.NET.  360  A 192.112.36.4
;
; formerly AOS.ARL.ARMY.MIL
;
.360  NSH.ROOT-SERVERS.NET.
H.ROOT-SERVERS.NET.  360  A 128.63.2.53
;
; formerly NIC.NORDU.NET
;
.360  NSI.ROOT-SERVERS.NET.
I.ROOT-SERVERS.NET.  360  A 192.36.148.17
;
; temporarily housed at NSI (InterNIC)
;
.360  NSJ.ROOT-SERVERS.NET.
J.ROOT-SERVERS.NET.  360  A 198.41.0.10
;
; housed in LINX, operated by RIPE NCC
;
.360  NSK.ROOT-SERVERS.NET.
K.ROOT-SERVERS.NET.  360  A 193.0.14.129
;
; temporarily housed at ISI (IANA)
;
.360  NSL.ROOT-SERVERS.NET.
L.ROOT-SERVERS.NET.  360  A 198.32.64.12
;
; housed in Japan, operated by WIDE
;
.360  NSM.ROOT-SERVERS.NET.
M.ROOT-SERVERS.NET.  360  A 202.12.27.33
; End of File

--

FILE NAME : /etc/namedb/localhost.rev

localhost.rev
@   IN  SOA dns1.powertrips.org. root.powertrips.org. (
199609204
28800
7200
604800
86400 )
NS  dns1.powertrips.org.

1   PTR localhost.

--

FILE NAME : /etc/namedb/named.conf

options {
directory "/var/named";

forwarders {
127.0.0.1;
};
};

zone "." {
type hint;
file "root.hints";
};

zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "127.0.0";
};

zone "powertrips.org" {
type master;
notify yes;
file "powertrips.org";
};

zone "158.28.66.in-addr.arpa" {
type master;
notify yes;
file "66.28.158";
};